0 Replies Latest reply on Oct 13, 2009 1:05 PM by Anit Phukan

    WAR deployment issue for Jackrabbit (JCR1.7) enabled code

    Anit Phukan Newbie

      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.