cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bachran, Michael" <MBach...@microstrategy.com>
Subject Cocoon 1.7.4 on Tomcat31/WinNT40 File not found exception...
Date Thu, 24 Aug 2000 08:06:27 GMT
Hi!

I placed the files as follows:
	webapps\cocoon\cocoon.properties
	webapps\cocoon\WEB-INF\web.xml
	webapps\cocoon\WEB-INF\lib\cocoon.jar
	webapps\cocoon\samples\...

http://localhost:8080/cocoon/Cocoon.xml displays the cocoon.properties
config (it's build in I think)

any other xml I specify like:

http://localhost:8080/cocoon/samples/hello/hello-page.xml

produces the following error:

org.xml.sax.SAXException: File
"D:/mbachran/Tomcat/webapps/cocoon/samples/hello/hello-page.xml" not found.
[FATAL ERROR] [File: "null" Line: 0 Column: 0]
	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(Defa
ultEntityHandler.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.jav
a: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(HttpC
onnectionHandler.java, Compiled Code)
	at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
Compiled Code)
	at java.lang.Thread.run(Thread.java, Compiled Code)

Is there a problem with the file name seperators on windows? Or what is
going wrong here?

Thanks, Michael


Mime
View raw message