|
Problem(Abstract) |
Startserver server1 can fail with SAXParseException after
installing embedded messaging on WebSphere® Application Server v5.0
releases. |
|
|
|
Cause |
The server.xml file can become corrupted after installing
embedded messaging. Below is a sample exception from the SystemOut.log
file or startServer.log.
[8/4/04 18:27:30:246 BRT] 75188096 ServerStatus E ADMU0002E: Exception
attempting to process server server1: org.xml.sax.SAXParseException: The
processing instruction target matching "[xX][mM][lL]" is not allowed.
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1172)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:76)
at
org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:135)
at
com.ibm.etools.xmi.helpers.CompatibilityXMIResourceImpl.basicDoLoad(CompatibilityXMIResourceImpl.java:159)
at
com.ibm.etools.xmi.helpers.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:152)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:881)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:755)
at
com.ibm.ws.runtime.service.ConfigRootImpl.getResource(ConfigRootImpl.java:192)
at
com.ibm.ws.management.tools.ServerStatus.getStatus(ServerStatus.java:146)
at
com.ibm.ws.management.tools.ServerStatus.runTool(ServerStatus.java:130)
at
com.ibm.ws.management.tools.AdminTool.executeUtility(AdminTool.java:173)
at com.ibm.ws.management.tools.ServerStatus.main(ServerStatus.java:51)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) |
|
|
Resolving the
problem |
- Edit the server.xml file, located at:
Install-Root/config/cells/cellname/nodes/nodename/servers/server1
The first line might contain the following entry:
<queueNames>PlantsByWebSphereQ</queueNames>
The first line should look similar to the following XML tag:
<?xml version="1.0" encoding="UTF-8"?>
- Create a backup of the server.xml file. Cut the first line
(<queueNames>PlantsByWebSphereQ</queueNames>) and paste
it under the following XML tag:
<components xmi:type="messagingserver:JMSServer" ..
- Save the server.xml file.
- Start the server.
|
|
|