tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: StackOverFlowError in Tomcat 6.0.29
Date Wed, 16 Mar 2011 22:28:53 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ashish,

On 3/16/2011 12:30 AM, Ashish Kumar Dash wrote:
> On Tue, Mar 15, 2011 at 11:28 PM, Ashish Kumar Dash
> <dashashishkumar@gmail.com <mailto:dashashishkumar@gmail.com>> wrote:
> 
>     Yes as I understood I should try the following things, please
>     correct me if am wrong or missing anything.
> 
>     1. Increasing JVM StackSize in JAVA_OPTS (-XX:ThreadStackSize=2M) 

Not worth it: fix your bug instead.

>     2. I will map my filters only for  <dispatcher>REQUEST</dispatcher>.

Good idea if it makes sense. But you should still fix your bug.

>     3. I have to check out my controller logic for the looping of forwards.

Yes, you do.

>     PFA : ThreadDump for getAttribute, getSession threads that causing
>     this StackOverFlow. 
>     The attachments in my prev mails were StackTrace from localhost.log

The stack traces still show an obscene number of forward loops.

>     You were correct Chris, one of my Filter(MemCacheDCFilter.java)
>     wraps the request.

You should check into when and why it wraps that request. And, of
course, why the forward loop is occurring.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2BOaUACgkQ9CaO5/Lv0PCuNgCffXNx+FJw/FKVBqCf8Yh0xvQn
DkQAn2rVyJAaeVAPXB6E/PKtMJf5lx64
=dmJV
-----END PGP SIGNATURE-----

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


Mime
View raw message