[ https://issues.apache.org/jira/browse/CXF-1641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp updated CXF-1641: ----------------------------- Fix Version/s: (was: 2.1) I think this is an issue with the Axis2 deployer in WAS. It seems to be scanning EVERYTHING for JAX-WS annotations and deploying everything it finds. Axis2 doesn't know how to deal with Provider<DOMSource> so barfs. I'm not sure if there is a way to turn off the Axis2 scanner thing. If you don't you may end up with your services deployed twice. Once with Axis2 and once with CXF. That said, you can work around it by replacing the cxf-2.1.jar with all of the individual module jars (from the modules subdirectory), but NOT the cxf-rt-frontend-javascript jar. > Provider validation error while deploying JAX-WS web service on WebSphere > Application Server 6.1.0.15 (Spring configured Servlet transport) > ------------------------------------------------------------------------------------------------------------------------------------------- > > Key: CXF-1641 > URL: https://issues.apache.org/jira/browse/CXF-1641 > Project: CXF > Issue Type: Bug > Affects Versions: 2.1 > Environment: Windows XP Professional SP2, WebSphere Application > Server 6.1.0.15 (Both Ejb3 and Web Services feature packs are installed.) > Reporter: Burak Arik > > I'm getting the exception below while following reference application > described in this URL: http://cwiki.apache.org/CXF20DOC/servlet-transport.html > I couldn't figure out what the problem is, but when i remove > cxf-rt-frontend-js-2.1.jar module from classpath, it works. (Removed > cxf-2.1.jar, and added all module jar's except cxf-rt-frontend-js-2.1.jar.) > [6/10/08 14:45:31:410 EEST] 00000019 WASAxis2Compo E WSWS7007E: The > CXFOnWasWeb.war application module cannot be loaded correctly because of the > following error: javax.xml.ws.WebServiceException: Validation error: This is > a Provider that does not specify a valid Provider interface. Implementation > class: org.apache.cxf.js.rhino.DOMPayloadProvider > 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:771) > at > org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.validateDBCLIntegrity(ServiceDescriptionImpl.java:710) > at > org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.setupServiceDescriptionImpl(ServiceDescriptionImpl.java:217) > at > org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:186) > at > org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescriptionFromDBCMap(DescriptionFactoryImpl.java:192) > at > org.apache.axis2.jaxws.description.DescriptionFactory.createServiceDescriptionFromDBCMap(DescriptionFactory.java:135) > at > com.ibm.ws.websvcs.deployment.WASAxis2MetaDataProcessor.processWARMetadata(WASAxis2MetaDataProcessor.java:220) > at > com.ibm.ws.websvcs.deployment.WASAxis2MetaDataProcessor.processApplicationMetaData(WASAxis2MetaDataProcessor.java:134) > at > com.ibm.ws.websvcs.component.WASAxis2ComponentImpl.warMetaDataCreated(WASAxis2ComponentImpl.java:704) > at > com.ibm.ws.websvcs.component.WASAxis2ComponentImpl.metaDataCreated(WASAxis2ComponentImpl.java:562) > at > com.ibm.ws.runtime.component.MetaDataMgrImpl.fireMetaDataCreated(MetaDataMgrImpl.java:188) > at > com.ibm.ws.webcontainer.metadata.WebMetaDataFactory.createMetaData(WebMetaDataFactory.java:205) > at > com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaDataFromFactories(MetaDataMgrImpl.java:172) > at > com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaData(MetaDataMgrImpl.java:306) > at > com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:581) > at > com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:832) > at > com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:950) > at > com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1495) > at > com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4068) > at > com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4166) > at > com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:245) > at > com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1500) > at > com.ibm.ws.runtime.component.ApplicationMgrImpl$ApplicationNotifier.classChanged(ApplicationMgrImpl.java:1959) > at > com.ibm.ws.classloader.ClassLoaderManager.checkAndNotify(ClassLoaderManager.java:548) > at > com.ibm.ws.classloader.ClassLoaderManager.access$000(ClassLoaderManager.java:71) > at > com.ibm.ws.classloader.ClassLoaderManager$ReloadTimerTask.alarm(ClassLoaderManager.java:584) > at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:90) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473) > Thanks in advance, -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.