tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33774] - JNDIRealm fails when server disconnects after time
Date Thu, 24 Mar 2005 14:22:47 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33774>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33774





------- Additional Comments From yoavs@computer.org  2005-03-24 15:22 -------
The amount of time to hold a connection open on the Tomcat JNDIRealm side
wouldn't matter, though, would it?  It's the LDAP server that's disconnecting
the connection, not Tomcat.

Looking at the current JNDIRealm code, in the authenticate method, it already
tries twice automatically to account for the first-time failure.  It tries once,
and if a CommunicationException occurs (as is the case you report), it tries
again.  However, if the exception message is not null and does not contain
"close", it won't try again.  Maybe it's this check that's the problem.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message