This sounds like Bugzilla Bug 6887, see:

<http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=6887>

It is fixed in the current Tomcat 3.3.x and will appear
in Tomcat 3.3.1 Final.

Cheers,
Larry

> -----Original Message-----
> From: Chris Murphy [mailto:[EMAIL PROTECTED]] 
> Sent: Sunday, March 10, 2002 7:16 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat 3.3a - error-page context problem
> 
> 
> 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]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to