Hi all,

yesterday, we had a Tomcat, that would be unresponsive for about twenty minutes on every full hour. The cause was a long running scheduled job that used the /last/ available connection of the 200 default connections. All other connections were waiting to lock the single LDAP connection (probably waited already for a long time). I could not find a thread in the stack trace, that actually held the lock, so that must have been gone (and should probably be investigated further).

Would you mind, if we changed the locking into a timed locking and throwing a NamingException on timeout? That way the connections would be re-available in a timely manner if such a situation arises again.

Felix

Attachment: OpenPGP_0xEA6C3728EA91C4AF.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to