|
| Problem | The following error occurs when installing a Fix or PTF for WebSphere Application Server:
Error -- 91: Runtime exception: : java.lang.ClassCastException:
org.apache.crimson.tree.XmlDocument
java.lang.ClassCastException: org.apache.crimson.tree.XmlDocument
at DomL2Spt.findNode(DomL2Spt.java:683)
at DomL2Spt.getValue(DomL2Spt.java:632)
at XML_Handler.query(XML_Handler.java:111)
at Extractor.getXMLStartingVersion(Extractor.java:7473)
at Extractor.getStartingVersion(Extractor.java:7457)
at Extractor.verifyVersion(Extractor.java:2503)
at Extractor.verifyPrerequisites(Extractor.java:2411)
at Extractor.handlePrerequisites(Extractor.java:2395)
at Extractor.basicProcess(Extractor.java:1273)
at Extractor.process(Extractor.java:293)
at Extractor.main(Extractor.java:241) | | Cause | This is caused by not using the XML parser that is shipped with WebSphere. In other words, the JDK you are pointing to is not the one shipped with WebSphere. | | Solution | Ensure the you Set JAVA_HOME variable to the WebSphere JDK and Point the PATH variable to the WebSphere JDK.
WebSphere ships with a script that will set these variables for you.
Go to the directory <WAS root>/bin and run either: setupCmdLine.sh or setupCmdLine.bat
After you have set the JAVA_HOME and PATH variables, install the Fix or PTF. | |
| | |
| |
|
Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, Install Operating system(s): Multi-Platform Software version: 3.5, 4.0 Software edition: Edition Independent Reference #: 1106382 IBM Group: Software Group Modified date: 2004-07-28
(C) Copyright IBM Corporation 2000, 2004. All Rights Reserved.
|