tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Question regarding JNDIRealm - tomcat 6.0.35
Date Mon, 25 Feb 2013 13:53:47 GMT
Ognjen Blagojevic wrote:
> André,
> 
> On 25.2.2013 10:34, André Warnier wrote:
>> So, on the face of it, there seems to be a contradiction between you
>> saying on the one hand that the LDAP server closes the connection, and
>> on the other hand that netstat shows the connection still being active.
> 
> TCP connection is established until one of the endpoints terminates it. 
> If one endpoint die before it terminates the connection, or if there is 
> a NAT in between which timeouts the connection due to inactivity, that 
> may result in one endpoint seeing that TCP connection as "ESTABLISHED", 
> while other endpoint not seeing the connection at all (or seeing it as 
> closed).
> 
> Related info here:
> 
> http://www.tldp.org/HOWTO/html_single/TCP-Keepalive-HOWTO/#overview
> 

Yes, but as soon as Tomcat would try to write to (or read from) that connection, it would

immediately get an error, no ?

So to say that in the meantime "tomcat keeps on trying" one of these connections doesn't 
seem to fit, or ?


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


Mime
View raw message