-
Bug
-
Resolution: Done
-
Minor
-
JBossAS-4.0.3 Final
-
None
Cannot configure JBoss 4.0.3 on Linux 4.0 because of xml parsing
problem.
In JBoss 4.0.3, the installed file jar_versions.xml contains the
informational string ?France Telecomm R&D?. The "&" character is a xml
violation. XML parser catches this string during xml parsing and throws the following exception,
org.jdom.JDOMException: Error on line 5 of document file:/opt/jboss/AppServer/4.
0.3/jar-versions.xml: The reference to entity "D" must end with the ';' delimite
r.
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:363)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:707)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:689)
at com.compuware.dpj.dpjadmin.plugins.JBoss.findJBossVersion(Unknown Sou
rce)
at com.compuware.dpj.dpjadmin.plugins.JBoss.validateInstallDir(Unknown S
ource)
at com.compuware.dpj.dpjadmin.plugins.JBoss.validateProperty(Unknown Sou
rce)
at com.compuware.dpj.dpjadmin.plugins.Plugin.validateProperties(Unknown
Source)
at com.compuware.dpj.dpjadmin.PluginManager.createPlugins(Unknown Source
)
at com.compuware.dpj.dpjadmin.MainFrame.<init>(Unknown Source)
at com.compuware.dpj.dpjadmin.MainFrame.getInstance(Unknown Source)
at com.compuware.dpj.dpjadmin.Main$1.run(Unknown Source)
Caused by: org.xml.sax.SAXParseException: The reference to entity "D" must end w
ith the ';' delimiter.
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213
)
at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
LDocumentScanner.java:579)
at org.apache.xerces.framework.XMLDocumentScanner.scanAttValue(XMLDocume
ntScanner.java:516)
at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumen
tScanner.java:1769)
at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(XMLDocumentScanner.java:1182)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:354)
... 10 more
Caused by: org.xml.sax.SAXParseException: The reference to entity "D" must end w
ith the ';' delimiter.
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213
)
at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
LDocumentScanner.java:579)
at org.apache.xerces.framework.XMLDocumentScanner.scanAttValue(XMLDocume
ntScanner.java:516)
at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumen
tScanner.java:1769)
at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(XMLDocumentScanner.java:1182)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:354)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:707)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:689)
at com.compuware.dpj.dpjadmin.plugins.JBoss.findJBossVersion(Unknown Sou
rce)
at com.compuware.dpj.dpjadmin.plugins.JBoss.validateInstallDir(Unknown S
ource)
at com.compuware.dpj.dpjadmin.plugins.JBoss.validateProperty(Unknown Sou
rce)
at com.compuware.dpj.dpjadmin.plugins.Plugin.validateProperties(Unknown
Source)
at com.compuware.dpj.dpjadmin.PluginManager.createPlugins(Unknown Source
)
at com.compuware.dpj.dpjadmin.MainFrame.<init>(Unknown Source)
at com.compuware.dpj.dpjadmin.MainFrame.getInstance(Unknown Source)
at com.compuware.dpj.dpjadmin.Main$1.run(Unknown Source)