Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 57977 invoked from network); 4 Apr 2009 18:54:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Apr 2009 18:54:12 -0000 Received: (qmail 63865 invoked by uid 500); 4 Apr 2009 18:54:08 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 63801 invoked by uid 500); 4 Apr 2009 18:54:08 -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 63790 invoked by uid 99); 4 Apr 2009 18:54:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Apr 2009 18:54:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [76.162.254.33] (HELO mail33.opentransfer.com) (76.162.254.33) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 04 Apr 2009 18:53:59 +0000 Received: (qmail 13119 invoked by uid 399); 4 Apr 2009 18:53:37 -0000 Received: from unknown (HELO ?127.0.0.1?) (96.229.60.175) by mail33.opentransfer.com with SMTP; 4 Apr 2009 18:53:37 -0000 Message-ID: <49D7ACA6.5050203@niederland.com> Date: Sat, 04 Apr 2009 11:53:26 -0700 From: Roger Niederland User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: users@tomcat.apache.org Subject: apache-tomcat-jdbc-1.0.20-beta Abandoned Issue Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I started testing the connection pool with our application. I have an issue with the abandon connection detection. Looking at the source code the timestamp which is used to check for abandonment is updated when the connection is created, borrowed, or returned. In our application we create a temporary table for raw data... This table is only available while using the current connection. Data in this table is processed and then saved permanently in the database. After creating/populating the temporary table the connection is kept until the data is processed, during processing queries are performed on the temporary table with this connection. The connection is being treated as abandoned after the timeout (based on the time of the borrow). Please note that this does not occur when using DBCP. It would be great to be able to have the abandoned timestamp reset when a statement is executed on the connection. If this is not possible, could it be possible to get the same connection to reset the timestamp. Any suggestions.... thanks --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org