You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by "Phukan, Anit" <An...@intuit.com> on 2009/10/13 18:57:20 UTC

JBoss deployment issue for Java project using Jackrabbit

I get the following JAXB exception while trying to deploy my war file to
jboss:

 

2009-10-12 14:45:38,217 SEVERE
[javax.enterprise.resource.webservices.jaxws.server.http]
(ResourceContainer.invoker.nonDaemon-1) 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(AbstractSEIM
odelImpl.java:158)

        at
com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelIm
pl.java:87)

        at
com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.jav
a:262)

        at
com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.jav
a:322)

        at
com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.jav
a:188)

        at
com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)

 

Caused by: java.security.PrivilegedActionException:
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of
IllegalAnnotationExceptions

java.util.List is an interface, and JAXB can't handle interfaces.

        this problem is related to the following location:

                at java.util.List

java.util.List does not have a no-arg default constructor.

        this problem is related to the following location:

                at java.util.List

 

 

Did anyone encounter this type of issue on JBOSS or any other
application server? The same WAR file deploys fine on Tomcat server.

 

Any suggestions would be highly appreciated.

 

Thanks

Anit