com.sun.xml.ws.spi.ProviderImpl not found issue
698145Apr 29 2009 — edited May 1 2009We are using JAX-WS 2.1.5 and JAXB 2.1 to create a proxy web service. The proxy web service is installed as jar file into OIM_HOME/xellerate/JavaTasks. We have OIM (oracle Identity management system, 10.1.4.0.1) installed in Oracle application server 10.1.3.3.0
Initially, we put the following JAX-WS 2.1.5 and JAXB 2.1 jar files into OIM_HOME/xellerate/JavaTasks:
• mimepull-1.3.jar
• stax-api-1.0.jar
• stax-ex-1.2.jar
• streambuffer-0.8.jar
• wstx-asl-3.2.3.jar
• resolver-20050927.jar
• saaj-api-1.3.jar
• saaj-impl-1.3.2.jar
• jaxb-api-2.1.jar
• jaxb-impl-2.1.9.jar
• jaxws-api-2.1.jar
• jaxws-rt-2.1.5.jar
• jsr181-api-1.0-MR1.jar
• jsr250-api-1.0.jar
But, we encountered into an issue that ProviderImpl not found when calling a service operation from an OIM Java task as follows:
Missing class: com.sun.xml.ws.spi.ProviderImpl
Dependent class: javax.xml.ws.spi.FactoryFinder
Loader: com.thortech.xl.dataobj.tcADPClassLoader@22920054
Code-Source: unknown
Configuration: unknown
We then created a shared library in server.xml for jax-ws2.0 and put all JAX-WS 2.1.5 and JAXB 2.1 jar files into webservices/lib directory. We also modified the orion-application.xml of xellerate as follows
<remove-inherited name="oracle.ws.core"/>
<remove-inherited name="oracle.ws.client"/>
<remove-inherited name="oracle.xml.security"/>
<remove-inherited name="oracle.ws.reliability"/>
<remove-inherited name="oracle.jwsdl"/>
<import-shared-library name="jaxws20"/>
But, we still have the class loader issue (com.sun.xml.ws.spi.ProviderImpl not found) by com.thortech.xl.dataobj.tcADPClassLoader when a service operation is called from a Java Task of OIM. I can confirm that com.sun.xml.ws.spi.ProviderImpl class is in jaxws-rt-2.1.5.jar.
I really appropriate any help on this...
BR//Bahman