Return-Path: Delivered-To: apmail-openejb-commits-archive@www.apache.org Received: (qmail 54397 invoked from network); 4 Mar 2010 14:20:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Mar 2010 14:20:00 -0000 Received: (qmail 61493 invoked by uid 500); 4 Mar 2010 14:19:50 -0000 Delivered-To: apmail-openejb-commits-archive@openejb.apache.org Received: (qmail 61457 invoked by uid 500); 4 Mar 2010 14:19:49 -0000 Mailing-List: contact commits-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openejb.apache.org Delivered-To: mailing list commits@openejb.apache.org Received: (qmail 61450 invoked by uid 99); 4 Mar 2010 14:19:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 14:19:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 14:19:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 420B1234C4C8 for ; Thu, 4 Mar 2010 14:19:27 +0000 (UTC) Message-ID: <1112134273.69491267712367269.JavaMail.jira@brutus.apache.org> Date: Thu, 4 Mar 2010 14:19:27 +0000 (UTC) From: "Kevan Miller (JIRA)" To: commits@openejb.apache.org Subject: [jira] Closed: (OPENEJB-1239) Bad client connection is never getting discarded from pool In-Reply-To: <1909151450.68321267709727361.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENEJB-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevan Miller closed OPENEJB-1239. --------------------------------- > Bad client connection is never getting discarded from pool > ---------------------------------------------------------- > > Key: OPENEJB-1239 > URL: https://issues.apache.org/jira/browse/OPENEJB-1239 > Project: OpenEJB > Issue Type: Bug > Affects Versions: 3.1.x > Reporter: Kevan Miller > Assignee: Kevan Miller > Fix For: 3.1.3 > > > If I lookup a Stateless Session bean and invoke a method from a long running client then kill the server, a subsequent invocation by the client fails (Client.java gets an error flushing the OutputStream. However, if I then restart the server, the client keeps grabbing the stale connection (which is not removed from the pool). The connection remains in the pool for some amount of time. But does eventually get cleaned up (after a socket timout period, I suppose). > When the server is down, the Client receives an IOException for the flush at line 162. We handle the error, but as long as retry is false, the connection will not be removed from the pool. write() operations on the OutputStream are not failing. Good chance that this behavior is environmental. So, on different OS's (this test is on Windows), we may see a different error that is cleaning up the connection. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.