tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Application hanging on Tomcat 7.0.54
Date Fri, 28 Sep 2018 22:39:56 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Louis,

On 9/27/18 08:49, Louis Zipes wrote:
> I looked through the log some more and I see all of the types of 
> Thread Statuses.  Blocked, Runnable, Waiting, etc..  Any in 
> particular that I should concentrate on?
The thread state doesn't always tell the whole story. Sometimes, it's
shown as RUNNABLE but it really means it's blocked. The stack trace is
more useful.

> 
> Ex. "http-bio-7005-exec-128" daemon prio=6 tid=0x0000000026466800
> nid=0x40e4 waiting for monitor entry [0x00000000432ae000] 
> java.lang.Thread.State: BLOCKED (on object monitor) at
> com.demantra.applicationServer.servlets.notifications.UserNotification
Helper.execute(UserNotificationHelper.java:117)
>
> 
- - waiting to lock <0x000000054d652c08> (a
com.demantra.applicationServer.metaDataObjects.user.UserList)

That certainly looks like it's waiting on something. If, as Suvendu
suggests, you take more than one thread-dump in a row -- maybe 10
seconds between dumps -- and compare them, you can detect whether or
not those threads just happen to be waiting one time, or if they are
waiting forever.

> ODBC on the actual Window machine hosting Tomcat is Oracle in 
> OraClient11g_home1  (we have a 12c Oracle database) with a pool 
> timeout set to 60.  Should I be looking to turn on some tracing on 
> the driver?
60 what?

Enabling tracing is likely to generate a LOT of logging output. You
can probably discover a lot from thread dumps without changing anything.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAluurbsACgkQHPApP6U8
pFgf/BAAkI/Bqy/mqcguHVaZYY1x3dOmIsGoVvIo2jKi6PUqQOdsPCwb1FR97Eoq
jtyuAiOk9bUnDUDE6l/1fNV8e2z6QHrVCGWog+3sjejpJGv4Dkfslm+wW1PsQU+/
fsd3ihtWRSyAqSNhfKuVB394yBubKuVqvHGYK6rRjyRMZ/b6JAEGOEW6/B3QBUV/
bB3TfYPZ1ih6lBrCIHaHYlFwwcVIVqqT7YJkAurdYdopqke9WY+fkgNO3i855zmV
yujcHPMjC8Y7PW9rw5VOlevYBsuxS3jf/62iXyj4fSbhUzpxrRAk0qc/dukzioFF
rgXs9VY3sJBvcmGt9bLfMiPwB9l52a/lloIiNYhitZ6ASaEKYAQqukpBwqL86NuC
8aSUNAzCt80Tr1DZZLP46KnzCfHDWocobF42locqHhe3iJ7PahfsQVVKYJ1cwyga
70qy+oBf3fzBTWq2LrA+a3TaOyOO7SVSY+NmKMS+7FNiicR18ace50PAHzjBN5eB
hOCaqeMdJh05Ip7u95VjBUqxlnc+fNli7D1rRy/jXOO/T3eqWg5nMUyrGxSVxomx
C4CU6hrc44dQeSZg2jXkgzlKOLGPmeOO+T8nPZ26Mdg2dlbbuSvSE0mydJvZzAao
Y1xmLJJDe6ciMYMkSP3JKC1bjylrRhZAZ+MC4C2iJKY564/mWQQ=
=uG5n
-----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