tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Tomcat freezes up when a database resource is unavailable
Date Thu, 16 Sep 2004 12:51:15 GMT


>We are having an issue with Tomcat 4.1.29 running under Fedora Core 2
>freezing up (completely unable to service any request) if a database
>that is being used by an application becomes unavailable (ie when a
>gets rebooted). We are using jdbc connection pools that are being
looked up
>via jndi.  Does anyone have any idea what might cause this or what we
>do to further diagnose the issue?

Wow, that sucks.

1st step -- add validation queries to your connection pool
configuration, if your pool supports them (most do).  That will help the
pool recover itself.
2nd step -- create a test environment where you can reproduce these
3rd step -- reproduce the issue while running Tomcat in the test
environment, and send a SIGQUIT (CTRL+BREAK on Windoze) to the JVM
process to see exactly what threads are hung and where.

That'll get you going in the right direction ;)


This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message