Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4313FEA3C for ; Mon, 25 Feb 2013 09:34:36 +0000 (UTC) Received: (qmail 97279 invoked by uid 500); 25 Feb 2013 09:34:32 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 97060 invoked by uid 500); 25 Feb 2013 09:34:32 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 97034 invoked by uid 99); 25 Feb 2013 09:34:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2013 09:34:31 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2013 09:34:23 +0000 Received: from [192.168.2.206] (stargate.glomas.de [213.23.110.130]) (Authenticated sender: andre.warnier@ice-sa.com) by tor.combios.es (Postfix) with ESMTPA id 623683C176E for ; Mon, 25 Feb 2013 10:34:27 +0100 (CET) Message-ID: <512B300A.9030307@ice-sa.com> Date: Mon, 25 Feb 2013 10:34:02 +0100 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Question regarding JNDIRealm - tomcat 6.0.35 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Tanmoy Chatterjee wrote: > We are not using openldap but eDirectory. Unfortunately we do not have access to the ldap configurations...only information we have is that after about 2 mins of idle connection, ldap drops the same from its side. Bit if we see in app server side using netstat, we can still see the same connection. Just a comment on what you say above : When "Tomcat" opens a connection, it is really the JVM under which Tomcat runs which does that, or in some cases some native code library. And this JVM / native library uses the OS TCP/IP stack to do that. What you see with netstat is the status of connections at the OS level. In other words, if netstat says that a connection is "established", then that is what it is, and any code in Tomcat will see it that way, and has no way to see it otherwise. 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. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org