Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 86760 invoked from network); 28 Mar 2005 20:02:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Mar 2005 20:02:43 -0000 Received: (qmail 603 invoked by uid 500); 28 Mar 2005 20:02:42 -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 590 invoked by uid 99); 28 Mar 2005 20:02:42 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of bcm@osafoundation.org designates 204.152.186.98 as permitted sender) Received: from kahuna.osafoundation.org (HELO kahuna.osafoundation.org) (204.152.186.98) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 28 Mar 2005 12:02:41 -0800 X-Envelope-From: bcm@osafoundation.org X-Envelope-To: Received: from [10.0.1.8] (c-67-170-198-213.client.comcast.net [67.170.198.213]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j2SK2caa023483 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 28 Mar 2005 12:02:39 -0800 Message-ID: <424862DE.4060702@osafoundation.org> Date: Mon, 28 Mar 2005 12:02:38 -0800 From: Brian Moseley User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: problem with non-synchronized repository instances References: <42437A18.2000705@osafoundation.org> <42438FA0.5060803@gmail.com> <424458B3.1030005@osafoundation.org> In-Reply-To: <424458B3.1030005@osafoundation.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N for what it's worth, this turned out to be a classpath issue. jcr.jar was deployed into each webapp but was not visible to tomcat itself. i put it in $CATALINA_HOME/common/lib, and all is now good. thanks for the help. hopefully this info will be useful to somebody in the future! Brian Moseley wrote: > Edgar Poce wrote: >> A model 2 configuration example for Tomcat 4.x (see tomcat docs): > > > ok, i used this configuration, configuring a global resource for the > repository factory and adding resource links to each of my webapps' > context config files (see below). > > the first webapp to be started by tomcat successfully looks up the > BindableRepository. great. > > however, the second webapp fails. the JNDI lookup appears to succeed, > but Spring throws a property conversion exception: > > org.springframework.beans.TypeMismatchException: Failed to convert > property value of type > [org.apache.jackrabbit.core.jndi.BindableRepository] to required type > [javax.jcr.Repository] for property 'repository' > > this is a Spring exception, so i'm going to ask about that on the Spring > list, but it sure seems like a bizarre problem, right? > BindableRepository implements Repository, after all. > > anyway, thanks for the pointers. using BindableRepository as the > resource type (which should have been obvious) was what i was missing. > now to figure out the Spring property conversion problem.