On Tue, 10 Sep 2002, Oskar Bartenstein wrote:

> Hello, please help with a bug (?) or mistake (?)
>
> What is a likely reason for
>   javax.servlet.ServletException: Servlet execution threw an exception
>       at 
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> and what would remedy this?
>
> The exception reproduces well, occurs about 4 times during 10000 POSTs from
> one HTTP client to one servlet, all with different arguments.
> I reviewed http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9715
> related to static pages and caching, but I believe this is different.
>
> Observed on Tomcat4.0.3 on JDK 1.4.0-rc Linux Kernel 2.4.5. with 512MB
> and CATALINA_OPTS=-Xms256M -Xmx256M -Xss64M.
>
> Thanks for any suggestion!
> Oskar

You need to look further down the stack trace, in particular, there
will often/typically be a "Root Cause" listed ...

> --
> 2002-09-10 10:01:33 StandardWrapperValve[myservlet]: Servlet.service() for servlet 
>myservlet threw exception
> javax.servlet.ServletException: Servlet execution threw an exception
[ ... ]
> ----- Root Cause -----
> java.lang.StackOverflowError

... and there it is.  What StackOverflowError simply means is that you
have an infinite loop.  You'll need to debug your code to see where it
is.  Note that if you're doing some mappings and/or redirection it
could be that they're leading to the infinite loop.

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to