08-08-07 06:17 AM
I met a problem yesterday: after I upgraded WAS5.1.1.13 to .14 (although I e
ncountered some problems in the process, finally the upgrade completed succe
ssfully), the vesioninfo can not work. Below is the error:
F:\Program Files\WebSphere\AppServer\bin>genversionreport
WVER0010I: Copyright (c) IBM Corporation 2002; All rights reserved.
WVER0011I: WebSphere Application Server Release 5.1
WVER0012I: VersionInfo reporter version 1.15.2.1, dated 4/28/04
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknow
n Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(U
nknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknow
n Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at com.ibm.websphere.product.xml.BaseFactory.load(BaseFactory.java:191)
at com.ibm.websphere.product.xml.BaseFactory.load(BaseFactory.java:173)
at com.ibm.websphere.product.history.WASHistory.loadHistory(WASHistory.java:
547)
at com.ibm.websphere.product.history.WASHistory.initialize(WASHistory.java:5
10)
at com.ibm.websphere.product.history.WASHistory.<init>(WASHistory.java:444)
at com.ibm.websphere.product.VersionInfo.setProduct(VersionInfo.java:515)
at com.ibm.websphere.product.VersionInfo.runReport(VersionInfo.java:807)
at com.ibm.websphere.product.VersionInfo.runReport(VersionInfo.java:750)
at com.ibm.websphere.product.VersionInfo.runReport(VersionInfo.java:695)
at com.ibm.websphere.product.VersionInfo.main(VersionInfo.java:419)
at com.ibm.websphere.product.VersionInfo.main(VersionInfo.java:262)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
mpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:222)
at java.lang.Thread.run(Thread.java:567)
WVER0004E: Error writing version report to versionReport.html: java.lang.Nul
lPointerException
Looks like the issue was caused by a corrupt XML file, right? any help will
be appreciated.
[ Post a follow-up to this message ]
|