WebSphere Application Server - Versioninfo utility can NOT work after upgrade

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > August 2007 > Versioninfo utility can NOT work after upgrade





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Versioninfo utility can NOT work after upgrade

2007-08-08, 1:17 am

I met a problem yesterday: after I upgraded WAS5.1.1.13 to .14 (although I encountered some problems in the process, finally the upgrade completed successfully), 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(Unknown 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(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 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:510)
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(DelegatingMethodAccessorImpl.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.NullPointerException

Looks like the issue was caused by a corrupt XML file, right? any help will be appreciated.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com