Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 59184 invoked from network); 6 May 2008 03:16:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 May 2008 03:16:17 -0000 Received: (qmail 91398 invoked by uid 500); 6 May 2008 03:16:18 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 91360 invoked by uid 500); 6 May 2008 03:16:18 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 91348 invoked by uid 99); 6 May 2008 03:16:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2008 20:16:17 -0700 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; Tue, 06 May 2008 03:15:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9D40A234C100 for ; Mon, 5 May 2008 20:15:55 -0700 (PDT) Message-ID: <1667418897.1210043755629.JavaMail.jira@brutus> Date: Mon, 5 May 2008 20:15:55 -0700 (PDT) From: "Moshe Immerman (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Issue Comment Edited: (JCR-1572) DbDataStore connection does not always reconnect In-Reply-To: <96056929.1209768295670.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594451#action_12594451 ] moshe@egis-software.com edited comment on JCR-1572 at 5/5/08 8:14 PM: ------------------------------------------------------------- a MySQL max_packet_size error. I agree it shouldn't retry forever, but a addRecord operation should not fail only because the previous addRecord failed. I believe an option to execute a simple query before returning a connection from the pool should be sufficient. was (Author: moshe@egis-software.com): a MySQL max_packet_size error. I agree it shouldn't retry forever, but a addRecord operation should not fail only because the previous addRecord failed. I believe executing a simple query before returning a connection from the pool should be sufficient. > DbDataStore connection does not always reconnect > ------------------------------------------------ > > Key: JCR-1572 > URL: https://issues.apache.org/jira/browse/JCR-1572 > Project: Jackrabbit > Issue Type: Bug > Components: jackrabbit-core > Reporter: Moshe Immerman > Assignee: Thomas Mueller > > If a DbDataStore connection is closed due to an error all subsequent addRecord calls will fail with 'connection has been closed and autoReconnect == false' > after getRecord is called and the connection is reconnected addRecord will succeed. > the connection should be validated before setting autoReconnect = false or on retrieval from the pool. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.