[jdom-interest] JDOM and TOMCAT

Adam Leggett adam at sensei.co.uk
Tue Aug 15 06:50:22 PDT 2000



Brett McLaughlin wrote:

> Remove xerces_1_0_3 - Cocoon should work fine with the xerces.jar that
> comes with JDOM.
>
> -Brett
>

Brett,

Tried that already - Cocoon does'nt seem to like xerces.jar from JDOM.
Cocoon throws :

org.xml.sax.SAXParseException: File "[My Filename]" not found.
 at
org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java:105)
 at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:998)
 at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:499)

 at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:303)

 at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:860)
 at org.apache.cocoon.parser.XercesParser.parse(XercesParser.java:84)
 at org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java:83)
 at
org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.java:78)

 at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
 at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)

 at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)

 at java.lang.Thread.run(Thread.java:479)


However using Xerces_1_0_3 it finds my xml file no problem

Any ideas? Can I force Cocoon to use the JDom Xerces or vice versa?

Adam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20000815/f8767c3f/attachment.htm


More information about the jdom-interest mailing list