jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phukan, Anit" <Anit_Phu...@intuit.com>
Subject JBoss deployment issue for Java project using Jackrabbit
Date Tue, 13 Oct 2009 16:57:20 GMT
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

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message