Hello,

I have a cocoon running on JRun 3.0 and IIS 4.0. 

I have problem with custom page for error number 500.

Example:

I send a request: http://localhost/xxx/xxx/xxx.xml. ".xml"
files are set to be processed by cocoon.

When the xxx.xml file doesn't exists and I set the settings
for cocoon to this: 
  handle.errors.internally = false

I receive the cocoon error page:

500 Internal Server Error
org.xml.sax.SAXException: File "file:C:/inet/xxx/xxx/xxx.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:1085) at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(Defa
ultEntityHandler.java, Compiled Code) at
org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java,
Compiled Code) at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java, Compiled Code)
at org.apache.cocoon.parser.XercesParser.parse(XercesParser.java, Compiled
Code) at org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java,
Compiled Code) at
org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.jav
a, Compiled Code) at org.apache.cocoon.Engine.handle(Engine.java, Compiled
Code) at org.apache.cocoon.Cocoon.service(Cocoon.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at
allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code) at
allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled Code) at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a, Compiled Code) at allaire.jrun.servlet.JRunSE.service(JRunSE.java,
Compiled Code) at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java,
Compiled Code) at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java,
Compiled Code) at allaire.jrun.ThreadPool.run(ThreadPool.java, Compiled
Code) at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code) 

And I want that IIS send to the client custom defined error page for error
no. 500. I have set this in IIS management console, but it doesn't work..

Please help ...

Thanks

Peter

---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to