Startup fails with "Unable to create JAXBContext" in Java7
----------------------------------------------------------

                 Key: NXP-7906
                 URL: https://jira.nuxeo.com/browse/NXP-7906
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
    Affects Versions: 5.5-SNAPSHOT
         Environment: JDK7
            Reporter: Mathieu Guillaume


Trace from server.log:

{noformat}
2011-11-19 12:00:49,095 INFO  [org.jboss.seam.init.Initialization] done 
initializing Seam
2011-11-19 12:00:51,173 ERROR 
[javax.enterprise.resource.webservices.jaxws.server.http] WSSERVLET11: failed 
to parse runtime descriptor: javax.xml.ws.WebServiceException: Unable to create 
JAXBContext
javax.xml.ws.WebServiceException: Unable to create JAXBContext
        at 
com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:164)
        at 
com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
        at 
com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:255)
        at 
com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:323)
        at 
com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:189)
        at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
        at 
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
        at 
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
        at 
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
        at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at 
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
        at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
        at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
        at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at 
org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.security.PrivilegedActionException: 
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of 
IllegalAnnotationExceptions
java.lang.StackTraceElement does not have a no-arg default constructor.
        this problem is related to the following location:
                at java.lang.StackTraceElement
                at public java.lang.StackTraceElement[] 
java.lang.Throwable.getStackTrace()
                at java.lang.Throwable
                at public java.lang.Throwable[] 
org.nuxeo.ecm.platform.ws.jaxws.ClientExceptionBean.suppressed
                at org.nuxeo.ecm.platform.ws.jaxws.ClientExceptionBean

        at java.security.AccessController.doPrivileged(Native Method)
        at 
com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:151)
        ... 32 more
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of 
IllegalAnnotationExceptions
java.lang.StackTraceElement does not have a no-arg default constructor.
        this problem is related to the following location:
                at java.lang.StackTraceElement
                at public java.lang.StackTraceElement[] 
java.lang.Throwable.getStackTrace()
                at java.lang.Throwable
                at public java.lang.Throwable[] 
org.nuxeo.ecm.platform.ws.jaxws.ClientExceptionBean.suppressed
                at org.nuxeo.ecm.platform.ws.jaxws.ClientExceptionBean

        at 
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:106)
        at 
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:489)
        at 
com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:319)
        at 
com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1170)
        at 
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:188)
        at 
com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:111)
        at 
com.sun.xml.ws.developer.JAXBContextFactory$1.createJAXBContext(JAXBContextFactory.java:109)
        at 
com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:159)
        at 
com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:152)
        ... 34 more
{noformat}


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to