Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: StackOverflow

Adam Hardy

2003-10-09

Replies:

OK can someone answer a simple question here:

if tomcat gives me a StackOverflowError, does that mean that there is no
way of getting a stack trace? Or am I making 2 + 2 = 5?

Adam




On 10/09/2003 01:45 PM Adam Hardy wrote:
> OK so I took the SetCharacterEncodingFilter out of the equation, but the
> stack overflow still occurs:
>
> StandardWrapperValve[action]: Servlet.service() for servlet action threw
> exception
> java.lang.StackOverflowError
>
> I presume [action] refers to struts, which I'm running.
>
> Any ideas anyone?
>
> On 10/08/2003 10:00 PM Adam Hardy wrote:
>
>> I'm getting a Status 500 error page in my app
>>
>> javax.servlet.ServletException: Servlet execution threw an exception
>> org.blacksail.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:146)
>>
>> root cause java.lang.StackOverflowError
>>
>> It goes on to say that "the full stack trace of the root cause is
>> available in the Tomcat logs.", but it isn't. I have the looked on the
>> console, in the engine, host & context log files but I can't find a
>> stack trace.
>>
>> Whether I need one or not is questionable - that
>> SetCharacterEncodingFilter is the one from tomcat's example app and
>> has been working faultlessly for at least two weeks on tomcat5. Sets
>> encoding to UTF-8.
>>
>> I can't think of what I have changed that has caused this, so I am at
>> a loss. There's nothing in bugzilla that looks like this, and I can't
>> see anything relevant in the archives.
>>
>> It's reproducible, every time at the same place. Is there anything I
>> can do or should I just log it straight into bugzilla?
>>
>> Adam
>
>

--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.