Hello,
I'm having quite a bit of trouble figuring this one out. I have Tomcat
3.3a installed with Apache mod_jk support. I've declared a virtual host
under tomcat in file apps-x.x.x.x.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<Server>
<Host name="www.somewhere.com" >
<Context path="/xxx"
docBase="/virtual1/www/webapp/xxx"
debug="9"
reloadable="true"
trusted="true"/>
</Host>
</Server>
The deployed application works fine, except when an exception gets
thrown. The error-page directive in my web.xml seems to be getting
called outside of the context. Here's the error-page definition:
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error.jsp</location>
</error-page>
Here's what the log says when it tries to call my error page on an
exception:
<exception stack trace here>
2002-03-10 18:24:13 - Ctx() : Class not found: TOMCAT/JSP/error.jsp
2002-03-10 18:24:13 - Ctx(/xxx) : Status code:404 request:R( /xxx +
test.do + null) msg:null)
It looks like the error.jsp call is not being called in the /xxx context
as I would expect. All the documentation and archive e-mails that I've
read seem to imply that the call to the <error-jsp> definition would be
in the context of the web app.
Any help would be greatly appreciated.
Chris Murphy
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>