users@jersey.java.net

jax-ws conflict with jersey

From: Stuart Bedoll <bedoll_at_us.ibm.com>
Date: Mon, 5 May 2008 03:21:13 -0600

I installed JAX-WS on WebSphere and when I started the server my Jersey
based application would not start due to tthe following error. Anyone know
if this conflict can be worked around ?

[5/5/08 2:18:35:406 MDT] 00000037 WSModuleDescr E WSWS7027E: JAX-WS
Service Descriptions could not be correctly built because of the following
error: javax.xml.ws.WebServiceException: Validation error: Provider must
have a public default constructor. Implementation class:
com.sun.ws.rest.impl.container.jaxws.ProviderContainer
      at
org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:178)
      at
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:79)
      at
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:125)
      at
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.validateIntegrity(ServiceDescriptionImpl.java:774)
      at
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.validateDBCLIntegrity(ServiceDescriptionImpl.java:707)
      at
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.setupServiceDescriptionImpl(ServiceDescriptionImpl.java:214)
      at
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:183)
      at
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescriptionFromDBCMap(DescriptionFactoryImpl.java:179)
      at
org.apache.axis2.jaxws.description.DescriptionFactory.createServiceDescriptionFromDBCMap(DescriptionFactory.java:135)
      at
com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.buildServices(WSModuleDescriptorImpl.java:320)
      at
com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.getServices(WSModuleDescriptorImpl.java:260)
      at
com.ibm.ws.webservices.admin.deploy.ServiceIndexDataBuilder.getWSData(ServiceIndexDataBuilder.java:50)
      at
com.ibm.ws.webservices.admin.deploy.ServiceIndexServerTaskImpl.listWebServices(ServiceIndexServerTaskImpl.java:142)
      at
com.ibm.ws.webservices.admin.deploy.ServiceIndexServerTaskImpl.listWebServices(ServiceIndexServerTaskImpl.java:107)
      at
com.ibm.ws.webservices.admin.deploy.ServiceIndexServerTask.performTask(ServiceIndexServerTask.java:186)
      at
com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:262)
      at java.lang.Thread.run(Thread.java:810)

[5/5/08 2:19:01:578 MDT] 00000037 WASAnnotation E WSWS7047E: The URL for
the javax.xml.ws.Provider<javax.activation.DataSource>.class super class
cannot load correctly because of the following error:
java.lang.ClassCastException:
org.eclipse.jst.j2ee.commonarchivecore.internal.impl.FileImpl incompatible
with org.eclipse.jst.j2ee.commonarchivecore.internal.Archive
[5/5/08 2:19:01:609 MDT] 00000037 WSCacheWriter I Cache not fully
generated for FPACommonREST.war module