ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Bauld <bau...@cpsc.ucalgary.ca>
Subject Re: XML Parsing error when iBATIS tries to parse the DTD's
Date Thu, 18 May 2006 21:01:48 GMT
Im not sure where to put the config files so that tomcat can find them. 
If I remove the config files I get the same error. How can I tell where 
iBatis is looking for the config files within tomcat ? I looked at that 
link but I dont have a clue how to get tomcat to find the dang config.


Niels Beekman wrote:
> Hi,
>
> Maybe http://forum.java.sun.com/thread.jspa?threadID=567285&tstart=180?
>
> I think it definitely has to do with the config, as the stacktrace lists
> SqlMapConfigParser.parse().
>
> Did you put the config files in the right place?
>
> Niels
>
> -----Original Message-----
> From: Eric Bauld [mailto:baulde@cpsc.ucalgary.ca] 
> Sent: donderdag 18 mei 2006 1:25
> To: user-java@ibatis.apache.org
> Subject: XML Parsing error when iBATIS tries to parse the DTD's
>
> I'm running tomcat 5.5.17 on a debian Linux box and iBATIS 2.7.1 works 
> fine when called from the command line, but there is also parts of the 
> system that are called via tomcat. But I keep getting the following 
> error(below). I have a feeling it is the parser being used by tomcat 
> when it reads the dtd's, but dont know how to change this.
>
>
> Items of interest
>  1) If I remove or rename mysqlMapConfig.xml the error does not change, 
> so it is not from parsing the config file.
>  2) I have tried removing xerces.jar from common/lib in tomcat, if this 
> jar is included in the project classpath i get a NoClassDefFoundError 
> when running from command line
>
>
> com.ibatis.common.exception.NestedRuntimeException: Error occurred.  
> Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.  
> Cause: org.xml.sax.SAXParseException: Content is not allowed in prolog.
> Caused by: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
> Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.  
> Cause: org.xml.sax.SAXParseException: Content is not allowed in prolog.
> Caused by: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
>         at 
> com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConf
> igParser.java:81)
>         at 
> com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapCli
> entBuilder.java:62)
>         at rp.broker.SQLMapper.setup(Unknown Source)
>         at rp.broker.SQLMapper.setIBATIS(Unknown Source)
>         at servlets.ExportProjectData.service(Unknown Source)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:252)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:213)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:178)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :126)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :105)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:107)
>         at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
> 48)
>         at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
> 9)
>         at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
> essConnection(Http11BaseProtocol.java:664)
>         at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
> .java:527)
>         at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
> erWorkerThread.java:80)
>         at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:684)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.  
> Cause: org.xml.sax.SAXParseException: Content is not allowed in prolog.
> Caused by: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
>         at
> com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:53)
>         at 
> com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConf
> igParser.java:78)
>         ... 19 more
> Caused by: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
>         at 
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unkno
> wn 
> 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(Unkno
> wn 
> 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.DOMParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
> Source)
>         at 
> com.ibatis.common.xml.NodeletParser.createDocument(NodeletParser.java:15
> 0)
>         at
> com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:50)
>         ... 20 more
>
> Caused by:
> com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: 
> org.xml.sax.SAXParseException: Content is not allowed in prolog.
> Caused by: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
>         at
> com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:53)
>         at 
> com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConf
> igParser.java:78)
>         at 
> com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapCli
> entBuilder.java:62)
>         at rp.broker.SQLMapper.setup(Unknown Source)
>         at rp.broker.SQLMapper.setIBATIS(Unknown Source)
>         at servlets.ExportProjectData.service(Unknown Source)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:252)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:213)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:178)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :126)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :105)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:107)
>         at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
> 48)
>         at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
> 9)
>         at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
> essConnection(Http11BaseProtocol.java:664)
>         at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
> .java:527)
>         at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
> erWorkerThread.java:80)
>         at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:684)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
>         at 
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unkno
> wn 
> 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(Unkno
> wn 
> 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.DOMParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
> Source)
>         at 
> com.ibatis.common.xml.NodeletParser.createDocument(NodeletParser.java:15
> 0)
>         at
> com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:50)
>         ... 20 more
>
> Caused by:
> org.xml.sax.SAXParseException: Content is not allowed in prolog.
>         at 
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unkno
> wn 
> 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(Unkno
> wn 
> 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.DOMParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
> Source)
>         at 
> com.ibatis.common.xml.NodeletParser.createDocument(NodeletParser.java:15
> 0)
>         at
> com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:50)
>         at 
> com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConf
> igParser.java:78)
>         at 
> com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapCli
> entBuilder.java:62)
>         at rp.broker.SQLMapper.setup(Unknown Source)
>         at rp.broker.SQLMapper.setIBATIS(Unknown Source)
>         at servlets.ExportProjectData.service(Unknown Source)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:252)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:213)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:178)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :126)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :105)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:107)
>         at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
> 48)
>         at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
> 9)
>         at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
> essConnection(Http11BaseProtocol.java:664)
>         at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
> .java:527)
>         at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
> erWorkerThread.java:80)
>         at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:684)
>         at java.lang.Thread.run(Unknown Source)
>
> Caused by:
> com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: 
> org.xml.sax.SAXParseException: Content is not allowed in prolog.
> Caused by: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
>         at
> com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:53)
>         at 
> com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConf
> igParser.java:78)
>         at 
> com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapCli
> entBuilder.java:62)
>         at rp.broker.SQLMapper.setup(Unknown Source)
>         at rp.broker.SQLMapper.setIBATIS(Unknown Source)
>         at servlets.ExportProjectData.service(Unknown Source)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:252)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:213)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:178)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :126)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :105)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:107)
>         at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
> 48)
>         at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
> 9)
>         at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
> essConnection(Http11BaseProtocol.java:664)
>         at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
> .java:527)
>         at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
> erWorkerThread.java:80)
>         at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:684)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
>         at 
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unkno
> wn 
> 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(Unkno
> wn 
> 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.DOMParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
> Source)
>         at 
> com.ibatis.common.xml.NodeletParser.createDocument(NodeletParser.java:15
> 0)
>         at
> com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:50)
>         ... 20 more
>
> Caused by:
> org.xml.sax.SAXParseException: Content is not allowed in prolog.
>         at 
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unkno
> wn 
> 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(Unkno
> wn 
> 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.DOMParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
> Source)
>         at 
> com.ibatis.common.xml.NodeletParser.createDocument(NodeletParser.java:15
> 0)
>         at
> com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:50)
>         at 
> com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConf
> igParser.java:78)
>         at 
> com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapCli
> entBuilder.java:62)
>         at rp.broker.SQLMapper.setup(Unknown Source)
>         at rp.broker.SQLMapper.setIBATIS(Unknown Source)
>         at servlets.ExportProjectData.service(Unknown Source)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:252)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:213)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:178)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :126)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :105)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:107)
>         at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
> 48)
>         at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
> 9)
>         at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
> essConnection(Http11BaseProtocol.java:664)
>         at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
> .java:527)
>         at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
> erWorkerThread.java:80)
>         at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:684)
>         at java.lang.Thread.run(Unknown Source)
>
> Caused by:
> org.xml.sax.SAXParseException: Content is not allowed in prolog.
>         at 
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unkno
> wn 
> 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(Unkno
> wn 
> 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.DOMParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
> Source)
>         at 
> com.ibatis.common.xml.NodeletParser.createDocument(NodeletParser.java:15
> 0)
>         at
> com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:50)
>         at 
> com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConf
> igParser.java:78)
>         at 
> com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapCli
> entBuilder.java:62)
>         at rp.broker.SQLMapper.setup(Unknown Source)
>         at rp.broker.SQLMapper.setIBATIS(Unknown Source)
>         at servlets.ExportProjectData.service(Unknown Source)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:252)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:213)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:178)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :126)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :105)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:107)
>         at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
> 48)
>         at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
> 9)
>         at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
> essConnection(Http11BaseProtocol.java:664)
>         at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
> .java:527)
>         at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
> erWorkerThread.java:80)
>         at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:684)
>         at java.lang.Thread.run(Unknown Source)
> ERROR: Unknown Error in instance 6
> Error initializing SQLMapper class.Cause : 
> com.ibatis.common.exception.NestedRuntimeException: Error occurred.  
> Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.  
> Cause: org.xml.sax.SAXParseException: Content is not allowed in prolog.
> Caused by: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
> Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.  
> Cause: org.xml.sax.SAXParseException: Content is not allowed in prolog.
> Caused by: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
> java.lang.RuntimeException: Error initializing SQLMapper class.Cause : 
> com.ibatis.common.exception.NestedRuntimeException: Error occurred.  
> Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.  
> Cause: org.xml.sax.SAXParseException: Content is not allowed in prolog.
> Caused by: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
> Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.  
> Cause: org.xml.sax.SAXParseException: Content is not allowed in prolog.
> Caused by: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
>         at rp.broker.SQLMapper.setup(Unknown Source)
>         at rp.broker.SQLMapper.setIBATIS(Unknown Source)
>         at servlets.ExportProjectData.service(Unknown Source)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:252)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:213)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:178)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :126)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :105)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:107)
>         at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
> 48)
>         at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
> 9)
>         at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
> essConnection(Http11BaseProtocol.java:664)
>         at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
> .java:527)
>         at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
> erWorkerThread.java:80)
>         at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:684)
>         at java.lang.Thread.run(Unknown Source)
> Created MBeanServer with ID: 4413ee:10b4498ed6b:-8000:brankie:1
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
>         at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
> Caused by: javax.xml.parsers.FactoryConfigurationError: Provider 
> org.apache.xerces.jaxp.SAXParserFactoryImpl not found
>         at javax.xml.parsers.SAXParserFactory.newInstance(Unknown
> Source)
>         at 
> org.apache.tomcat.util.digester.Digester.getFactory(Digester.java:486)
>         at 
> org.apache.tomcat.util.digester.Digester.getParser(Digester.java:691)
>         at 
> org.apache.tomcat.util.digester.Digester.getXMLReader(Digester.java:899)
>         at 
> org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
>         at org.apache.catalina.startup.Catalina.load(Catalina.java:489)
>         at org.apache.catalina.startup.Catalina.load(Catalina.java:523)
>         ... 6 more
>
>
>
>
>
>
>   


Mime
View raw message