From jackrabbit-dev-return-3832-apmail-incubator-jackrabbit-dev-archive=www.apache.org@incubator.apache.org Wed Oct 05 00:51:06 2005 Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 43958 invoked from network); 5 Oct 2005 00:51:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Oct 2005 00:51:05 -0000 Received: (qmail 9371 invoked by uid 500); 5 Oct 2005 00:51:04 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 9359 invoked by uid 99); 5 Oct 2005 00:51:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 17:51:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 193.19.192.5 is neither permitted nor denied by domain of the.mindstorm.mailinglist@gmail.com) Received: from [193.19.192.5] (HELO mail.evolva.ro) (193.19.192.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 17:51:07 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.evolva.ro (Postfix) with ESMTP id 517ED6FDC2F for ; Wed, 5 Oct 2005 03:50:39 +0300 (EEST) Received: from mail.evolva.ro ([127.0.0.1]) by localhost (evonet.ro [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07907-01-18 for ; Wed, 5 Oct 2005 03:50:38 +0300 (EEST) Received: from [192.168.62.51] (unknown [86.55.40.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.evolva.ro (Postfix) with ESMTP id D1E216FDC02 for ; Wed, 5 Oct 2005 03:50:38 +0300 (EEST) Message-ID: <43433113.60101@gmail.com> Date: Wed, 05 Oct 2005 03:49:07 +0200 From: Alexandru Popescu User-Agent: Thunderbird 1.4 (Windows/20050908) MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: shutting down repository obtained from jndi via spring References: <433B53B3.9010008@osafoundation.org> <6b3288705092823306f30321c@mail.gmail.com> <1967586234.20050929104635@gmail.com> <1051558255.20050929105239@gmail.com> <433BFDED.4010301@osafoundation.org> <434319FF.9060105@osafoundation.org> In-Reply-To: <434319FF.9060105@osafoundation.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at evonet.ro X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N #: Brian Moseley changed the world a bit at a time by saying on 10/5/2005 2:10 AM :# > Brian Moseley wrote: >> Costin Leau wrote: >> >>> Ofc, the support is already there, I just had to take a close look at >>> the docs: you can set out expectedType to RepositoryImpl and that >>> should do the trick (it is part of JndiObjectLocator which is a parent >>> of JndiObjectFactoryBean). >> >> >> ahh.. right on. thanks all. > > this turns out to not be a great solution for me, since i'm trying to be > repository vendor agnostic in my spring config. for that reason, using a > jackrabbit repository factory bean is not a great solution either, nor > is a servlet context listener. > > i hope one of the other suggestions for fixing the lock file is > implemented soon, cos it's really stuffing me up right now. everytime i > deploy my jcr-using webapp i have to shut down tomcat, rm the lock file > manually, and restart tomcat. and we have to script that in production. > ouch. > The fix for JCR-120 is already in the trunk, if this is the one you are looking for. ./alex -- .w( the_mindstorm )p.