首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 其他服务器 >

WebSphere服务器上发布不了项目,报(org.xml.sax.SAXParseException: prolog 中不允许有内容)的错,请大侠看看是甚有关

2012-04-03 
WebSphere服务器上发布不了项目,报(org.xml.sax.SAXParseException: prolog 中不允许有内容)的错,请大侠看

WebSphere服务器上发布不了项目,报(org.xml.sax.SAXParseException: prolog 中不允许有内容)的错,请大侠看看是甚问题
错误日志如下:

[09-7-10 11:08:40:953 CST] 00000035 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl initialize FFDC0009I: FFDC 已打开附带的流文件 D:\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\ffdc\server1_13da13da_09.07.10_11.08.40_0.txt
[09-7-10 11:08:41:078 CST] 00000035 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC 已关闭附带的流文件 D:\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\ffdc\server1_13da13da_09.07.10_11.08.40_0.txt
[09-7-10 11:08:41:078 CST] 00000035 SystemErr R org.xml.sax.SAXParseException: prolog 中不允许有内容。
[09-7-10 11:08:41:078 CST] 00000035 SystemErr R at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
[09-7-10 11:08:41:078 CST] 00000035 SystemErr R at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
[09-7-10 11:08:41:078 CST] 00000035 SystemErr R at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
[09-7-10 11:08:41:078 CST] 00000035 SystemErr R at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
[09-7-10 11:08:41:078 CST] 00000035 SystemErr R at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
[09-7-10 11:08:41:078 CST] 00000035 SystemErr R at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
[09-7-10 11:08:41:078 CST] 00000035 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:140)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:169)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.basicDoLoad(CompatibilityXMIResourceImpl.java:180)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:173)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:977)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:832)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at com.ibm.websphere.resource.WASResourceImpl.load(WASResourceImpl.java:61)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at com.ibm.ws.management.application.task.ConfigRepoHelper.getAppDeploymentResource(ConfigRepoHelper.java:287)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at com.ibm.ws.management.application.task.ConfigRepoHelper.getAppDeploymentForApp(ConfigRepoHelper.java:294)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at com.ibm.ws.management.application.UpdateSchedulerImpl.validateParams(UpdateSchedulerImpl.java:294)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at com.ibm.ws.management.application.UpdateSchedulerImpl.setupTasks(UpdateSchedulerImpl.java:214)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:250)
[09-7-10 11:08:41:093 CST] 00000035 SystemErr R at java.lang.Thread.run(Thread.java:797)


[09-7-10 11:17:08:218 CST] 00000038 SystemErr R org.xml.sax.SAXParseException: prolog 中不允许有内容。
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:140)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:169)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.basicDoLoad(CompatibilityXMIResourceImpl.java:180)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:173)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:977)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:832)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at com.ibm.websphere.resource.WASResourceImpl.load(WASResourceImpl.java:61)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at com.ibm.ws.management.application.task.ConfigRepoHelper.getAppDeploymentResource(ConfigRepoHelper.java:287)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at com.ibm.ws.management.application.task.ConfigRepoHelper.getAppDeploymentForApp(ConfigRepoHelper.java:294)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at com.ibm.ws.management.application.UpdateSchedulerImpl.validateParams(UpdateSchedulerImpl.java:294)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at com.ibm.ws.management.application.UpdateSchedulerImpl.setupTasks(UpdateSchedulerImpl.java:214)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:250)
[09-7-10 11:17:08:250 CST] 00000038 SystemErr R at java.lang.Thread.run(Thread.java:797)


[解决办法]
这个应该是解析xml文件出错了,你用ie打开server.xml看看能不能正常打开。
[解决办法]
在 <?xml version="1.0"?> 之前不能用任何字符。你试一下会不会是这个原因。

热点排行