If you’re using WebSphere App Server 5.0.2 and run into a classloader problem with Xerces, you can choose to upgrade the xerces.jar that comes with WebSphere in was_root/lib. Replace it with Xerces 2.6.2 or a newer jar.
Details about the WebSphere 5.0.2/Xerces bug:
- http://www.mail-archive.com/xerces-j-dev@xml.apache.org/msg07122.html
- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26613
Xerces change in 2.6.2:
Alternatively, you can patch WebSphere: