Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 33542 invoked from network); 20 Sep 2007 12:09:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Sep 2007 12:09:13 -0000 Received: (qmail 29770 invoked by uid 500); 20 Sep 2007 12:09:04 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 29584 invoked by uid 500); 20 Sep 2007 12:09:03 -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 29574 invoked by uid 99); 20 Sep 2007 12:09:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 05:09:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thomas.tom.mueller@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 12:09:03 +0000 Received: by py-out-1112.google.com with SMTP id u77so1037401pyb for ; Thu, 20 Sep 2007 05:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=v8GUcJcvEakxCBaZ62nEeS90pWLLxpv+WgNz0ATRsAQ=; b=NUKQisgi75p0wcKwauscZ1mW8VoH5k0qgKX0cZ/v5YKoIt4SOFpyXtGwnfRuJ3bIHnjbVjljgC/M8S71Q/RlR8SGwSrvF5x1TNpkXOHspigD9d+m5jkFw/UD/ob7PoVsy8FgfJr6X1s1odJ39mXUWM+j+9PNkUPh3KGqdj+IspY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PYAroUK547X4CthPdY501vaAEhUxXSR1Pe82l12gx3V3uPfK+qLy3XhU6B2bWZPmz+seOU4vPTawyuJ6621beTFr+CWuCXgEgK+0+Or8CKzAC5Nk3VWT8f1CWGCvko/OCsuGr/hIknBIFYAs/GdW/od/eKL6Ocd6d6VJvQs8O98= Received: by 10.64.250.7 with SMTP id x7mr1038064qbh.1190290121509; Thu, 20 Sep 2007 05:08:41 -0700 (PDT) Received: by 10.64.253.5 with HTTP; Thu, 20 Sep 2007 05:08:41 -0700 (PDT) Message-ID: <5f211bd50709200508n30dee319t6f0f328eeb96ba97@mail.gmail.com> Date: Thu, 20 Sep 2007 14:08:41 +0200 From: "Thomas Mueller" To: dev@jackrabbit.apache.org Subject: Re: [jira] Commented: (JCR-940) add db connection autoConnect for BundleDbPersistenceManager. In-Reply-To: <24637666.1190289031249.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <14540291.1180021276911.JavaMail.jira@brutus> <24637666.1190289031249.JavaMail.jira@brutus> X-Virus-Checked: Checked by ClamAV on apache.org Hi, > I think that besides the BundleDbPM.store method > the ConnectionrecoveryManager.execute* methods > also need to be wrapped by a retry-loop. I think you are right, those methods should loop as well (except when autoReconnect is false). > I've patched this locally and want to execute the unit tests using the MSSQL bundle PM. I'm not familiar with the test harness...how should I do this? Some initial attempts to alter the repository.xml and workspace.xmls in the jackrabbit-core\applications\test directory failed. It's a bit tricky: you need to change repository.xml (2 places) and in both workspace.xml files (1 place each). I have used: repository.xml / Workspace repository.xml / Versioning workspaces/*/workspace.xml: I have multiple configurations (copies of the applications/test directory). Before running the build I just replace the files with the configuration (simple db, bundle db, data store) I want to test. I think it would be great if the unit test could be run against each configurations one after the other - but I don't know how this can be automated using JUnit / Maven. Thomas > > > 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-v2.patch, JCR-940-v3.patch, 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. > >