Last week, I was trying to deploy CXF 2.X webservice application on Websphere 6.1.0.X. Everything worked well and no error at the time of deployment. But while invoking webservices, we were getting an error
After googling, we found that this class is integral to JDK 1.5 and ships along with it. We were bit confused as the application was working fine on development machines with no errors. After googling more, the same problem was reported on most of the forums by Websphere users.
Well there was definitely difference between the development environment and testing environment. Developers were using Sun JDK 1.5.0_16 + Jboss 4.2.2 GA, while the testing environment had IBM JDK 1.5 SR 2 + IBM Websphere 188.8.131.52.
The class mentioned above is already available in rt.jar of SUN JRE but it is missing from IBM JDK (what a X@#$). The solution to this problem is to download JAXP library from https://jaxp.dev.java.net/. It is downloadable as .class file. To get the jar files from the class, you need to execute the .class file using “java” command. It will extract JAR files, copy xercesImpl.jar file to WEB-INF/lib folder of the application & restart the server.
If the application still gives the same error, make sure the classloader policy is changed to load application classes first.