tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: http thread stops responding
Date Mon, 21 Mar 2011 14:40:12 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexis,

On 3/21/2011 8:17 AM, alexis wrote:
> Problem is, after 2 or 3 reloads or moving from one jsp to another
> one, pages are not loaded anymore, browser keeps loading for ever.

Take some thread dumps. I suspect that you are waiting for a database
connection to become available. Are you calling Connection.close() in a
finally block in your JSP? Or are you using a tab library that handles
all that complexity for you?

> If a redeploy the app I get a memory leak.

:(

Have you looked into that?

> Using a profiler the http-8080 threads are the one that looks that
> enters to wait.

Of course they are: there's virtually nothing else running. The question
is *where* are they entering a wait?

> Any help will be really helpful.

Can you post some or all of your JSP?

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

iEYEARECAAYFAk2HY0wACgkQ9CaO5/Lv0PCXRQCfQbrohH6wQ+Sa5QZvasyvO2MI
Ev4An2IOdFF1NSmbNDzr7hS6a/f7XY60
=uwMs
-----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