This discussion is archived
5 Replies Latest reply: Oct 25, 2013 11:07 AM by JamesWW RSS

Apex Listener upgrade java error

JamesWW Newbie
Currently Being Moderated

I am trying to upgrade my Apex Listener, as well as Apex itself, and I get an error at the 1st step, as below.  I just downloaded the latest listener from Oracle so I am assuming that this should work.  Is there some per-requisites I need to execute/put in place?  Thanks for the help.

=========================

 

(oracle:chapel:WLUTEST) /home/oracle/al204->java -jar apex.war

Oct 23, 2013 9:38:44 AM oracle.dbtools.standalone.Standalone execute

INFO: NOTE:

 

Standalone mode is designed for use in development and test environments. It is not supported for use in production environments.

 

Oct 23, 2013 9:38:44 AM oracle.dbtools.standalone.Standalone execute

INFO: Starting standalone Web Container in:  /home/oracle/apex

Oct 23, 2013 9:38:44 AM oracle.dbtools.standalone.Deployer deploy

INFO: Will deploy application path = /home/oracle/apex/apex/WEB-INF/web.xml

Oct 23, 2013 9:38:44 AM oracle.dbtools.standalone.Deployer deploy

SEVERE: Not a valid Web Application, will be ignored: path = /home/oracle/apex/apex/WEB-INF/web.xml

javax.xml.bind.JAXBException: Provider com.sun.xml.bind.v2.ContextFactory not found

- with linked exception:

[java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory]

        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:151)

        at javax.xml.bind.ContextFinder.find(ContextFinder.java:298)

        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)

        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)

        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244)

        at com.sun.grizzly.http.webxml.parser.JAXBWebXml_2_4Parser.parse(JAXBWebXml_2_4Parser.java:94)

        at oracle.dbtools.standalone.WebappLoader.extractWebXmlInfo(WebappLoader.java:168)

        at oracle.dbtools.standalone.WebappLoader.load(WebappLoader.java:139)

        at oracle.dbtools.standalone.Deployer.extractWebxmlInfo(Deployer.java:123)

        at oracle.dbtools.standalone.Deployer.deploy(Deployer.java:459)

        at oracle.dbtools.standalone.Deployer.deployExpandedWar(Deployer.java:568)

        at oracle.dbtools.standalone.Deployer.deployApplication(Deployer.java:562)

        at oracle.dbtools.standalone.Deployer.deployApplications(Deployer.java:114)

        at oracle.dbtools.standalone.Deployer.start(Deployer.java:252)

        at oracle.dbtools.standalone.Standalone.execute(Standalone.java:96)

        at oracle.dbtools.common.cmds.DefaultCommand.execute(DefaultCommand.java:106)

        at oracle.dbtools.common.cmds.Commands.main(Commands.java:91)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:607)

        at oracle.dbtools.jarcl.Entrypoint.main(Entrypoint.java:58)

Caused by: java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory

        at java.net.URLClassLoader.findClass(URLClassLoader.java:588)

        at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:756)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:724)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:703)

        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:116)

        ... 21 more

<snip>

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points