You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Anthony Diodato <ad...@p21.com> on 2002/02/18 16:18:07 UTC

org.xml.sax.SAXParseException

How would you handle this problem.
When I access a page that should be a 404 error, I get the following error.
What I would like to do is throw it to a 404 html page.
Any suggestions would be greatly appreciated.
My error is below.



Error found handling the request.
	org.xml.sax.SAXParseException: File
"file:C:/jakarta-tomcat-3.2.4/webapps/cocoon/yCust/index.xml" not found.
		at
org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java:105)
		at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1037)
		at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(Defa
ultEntityHandler.java:512)
		at
org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:304)
		at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:899)
		at
org.apache.cocoon.parser.XercesParser.parse(XercesParser.java:85)
		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:359)
		at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
		at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
		at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
		at org.apache.tomcat.core.Handler.service(Handler.java:287)
		at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
		at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:80
6)
		at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
		at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:166)
		at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
		at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
		at java.lang.Thread.run(Thread.java:484)


Anthony Diodato
Webmaster - IT
Prophet 21, Inc.
19 West College Avenue
Yardley, PA 19067
1-800-776-7438, ext. 4600
Fax: 215-321-8014 
adiodato@p21.com
http://www.p21.com/
Prophet 21 -- Powering the Distribution Industry for the Digital Age 

For the latest press releases from Prophet 21 --
http://www.p21.com/press/press.html 
*	2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
(E2E) Commerce 
*	2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
*	2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
For the latest articles on Prophet 21
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
htm 
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm




Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>