tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cott Lang <c...@internetstaff.com>
Subject Re: 5.0.28 stack overflow?
Date Mon, 04 Oct 2004 20:25:36 GMT
Good guess, but no... not using anything of the sort. :)

Yoav, I agree, 99.9% of the time, it's my fault. As you can see in the
stack trace, it's being called directly from Struts. I don't really see
how my code could cause this.

It sure looks like ApplicationHttpRequest.getRequest() returned itself a
copy of itself...

I didn't notice the CPU, I caught this fairly quickly. 



On Mon, 2004-10-04 at 04:13, Tim Funk wrote:
> I'm guessing your using an HttpServletRequestWrapper. My guess might be the 
> way your implementation overrode getRequest() might be doing wacky things.
> 
> ApplicationHttpRequest extends HttpServletRequestWrapper
> 
> -Tim
> 
> Cott Lang wrote:
> 
> > Anyone ever seen one like this? :)
> > 
> > 
> > ApplicationDispatcher[] Servlet.service() for servlet action threw
> > exception
> > java.lang.StackOverflowError
> >         at
> > org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:208)
> >         at
> > org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:220)
> >         at
> > org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:220)
> >         at
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message