日期:2014-05-16  浏览次数:21484 次

org.apache.commons.digester.Digester fatalError Parse Fatal Error at line 1 colu

今天赶到客户实施现场,因为应用某个项目组开发好程序后客户按照手册部署应用一直出莫名问题,部份关键功能模块不能使用,后台报错(我们在公司开发时使用的也是和客户类似的环境做的测试都是没有问题的)

db2 9.0+websphere6.0,想要玩点高级的,在db2中用了xml格式的字段来存储数据,

[09-12-9 17:54:56:871 CST] 000000d6 Digester      E org.apache.commons.digester.Digester fatalError Parse Fatal Error at line 1 column 39: prolog 中不允许有内容。
                                 org.xml.sax.SAXParseException: 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 org.apache.commons.digester.Digester.parse(Digester.java:1785)
	at com.icitic.flowmodel.RoleFlowsHelper.wrapPropertys(RoleFlowsHelper.java:82)
	at com.icitic.lightning.biz.webapp.action.RoleToMaintenanceAction.getDoc(RoleToMaintenanceAction.java:506)
	at com.icitic.lightning.biz.webapp.action.RoleToMaintenanceAction.showDoc(RoleToMaintenanceAction.java:119)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
	at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
	at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)
	at com.icitic.ibpms.web.action.base.BaseAction.baseDispatchMethod(BaseAction.java:122)
	at com.icitic.ibpms.web.action.base.BaseAction.execute(BaseAction.java:92)
	at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
	at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
	at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java(Compiled Code))
	at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java(Compiled Code))
	at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
	at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
	at com.icitic.filter.LogFilter.doFilter(LogFilter.java:103)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java(Compiled Code))
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
	at com.icitic.filter.AuthFilter.doFilter(AuthFilter.java:247)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(Filte