Search code examples
webspherewebsphere-6.1

WebSphere 6.1 - com.sun.xml.ws.spi.ProviderImpl Issue


I am running an application in WebSphere 6.1.0.29 and am getting a com.sun.xml.ws.spi.ProviderImpl not found error. Unfortunately the application isn't written by us so resolving this is proving to be a little difficult.

In another environment (6.1.0.27) we deleted the javax.xml.bind_2.1.1.jar and javax.xml.ws_2.1.1.jar from the application's library and that resolved the issue, but in this one we get NoClassDefFoundError on javax.xml.ws.spi.FactoryFinder.

I read online that we could reference com.ibm.jaxws.thinclient_6.1.0.jar in our Shared Library but then that prevents the application being accessible via the browser and instead shows a SRVE0255E error.

Any ideas?


Solution

  • @Gas was correct. There were two Parent Class Loader settings in WAS, and setting them both to Parent First resolved the issue :)