Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 90222 invoked from network); 17 Aug 2007 13:58:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Aug 2007 13:58:53 -0000 Received: (qmail 37582 invoked by uid 500); 17 Aug 2007 13:58:49 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 37558 invoked by uid 500); 17 Aug 2007 13:58:49 -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 37549 invoked by uid 99); 17 Aug 2007 13:58:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2007 06:58:49 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2007 13:58:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4E729714209 for ; Fri, 17 Aug 2007 06:58:31 -0700 (PDT) Message-ID: <32636733.1187359111314.JavaMail.jira@brutus> Date: Fri, 17 Aug 2007 06:58:31 -0700 (PDT) From: "Martijn Hendriks (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-940) add db connection autoConnect for BundleDbPersistenceManager. In-Reply-To: <14540291.1180021276911.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-940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martijn Hendriks updated JCR-940: --------------------------------- Attachment: JCR-940.patch Here's a patch that adds reconnection logic to the bundle persistence managers. I've made an attempt to put this in a separate class such that it can be reused. I've tested it with MSSQL and with Oracle 10. Feedback is much appreciated! > add db connection autoConnect for BundleDbPersistenceManager. > ------------------------------------------------------------- > > Key: JCR-940 > URL: https://issues.apache.org/jira/browse/JCR-940 > Project: Jackrabbit > Issue Type: Improvement > Components: core > Affects Versions: 1.3 > Reporter: Xiaohua Lu > Attachments: JCR-940.patch > > > Since bundled db pm doesn't inherited from database pm, it can't reconnect once database is bounced. it would be nice to add this feature. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.