Infinite recursion with errorPage blow's out JVM

2001-02-27 Thread Tory Stephen Toupin



I'm having trouble accessing Bugzilla, so for give 
the post if this is a known bug.
 
Problem: If an error occurs within 
an included JSP page, tomcat infinitely recurses on the included page, 
ultimately causing the JVM to puke with a stack overflow.  This is 
definitely a problem in tomcat 3.2; I haven't tried this in tomcat 3.2.1.  
Haven't tested with plain servlets, but looking at the code, I'd guess that the 
problem exists for servlets as well.
 
Proposed Fix: The problem occurs 
because of the request-scope attributes (javax.servlet.request_uri, etc.) that 
are set during an include interfere with the correct processing of 
PageContextImpl.handlePageException.  The forward (and probably 
forwardNamed) implementation in org.apache.tomcat.core.RequestDispatcherImpl 
needs to be altered so that it removes the request-scope include attributes for 
the duration of the forward (in the same way that the include implementations 
work).
 
Again, since I cannot get to Bugzilla, is this a 
known problem?  If not, I'd be happy to put the fix in as soon as I can set 
myself up as a contributor...
 
Thanks, all.
 


Re: Infinite recursion with errorPage blow's out JVM

2001-02-27 Thread Pier P. Fumagalli

Tory Stephen Toupin <[EMAIL PROTECTED]> wrote:

> I'm having trouble accessing Bugzilla, so for give the post if this is a known
> bug.

Sorry, the RC script launching HTTPd at boot has been removed somehow... And
after the many reboots we had today, I forgot to check the HTTP daemon :(

Sorry for the inconvenience...

Pier

-- 

Pier P. Fumagalli  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Infinite recursion with errorPage blow's out JVM

2001-02-28 Thread Tory Toupin


Thanks - no problem!

--- "Pier P. Fumagalli" <[EMAIL PROTECTED]> wrote:
> Tory Stephen Toupin <[EMAIL PROTECTED]> wrote:
> 
> > I'm having trouble accessing Bugzilla, so for give
> the post if this is a known
> > bug.
> 
> Sorry, the RC script launching HTTPd at boot has
> been removed somehow... And
> after the many reboots we had today, I forgot to
> check the HTTP daemon :(
> 
> Sorry for the inconvenience...
> 
> Pier
> 
> -- 
>

> Pier P. Fumagalli 
> 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
> 
> 
> 
> 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]