From users-return-15465-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Fri Jun 25 16:33:04 2010 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 6230 invoked from network); 25 Jun 2010 16:33:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Jun 2010 16:33:04 -0000 Received: (qmail 72343 invoked by uid 500); 25 Jun 2010 16:33:03 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 72292 invoked by uid 500); 25 Jun 2010 16:33:03 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 72283 invoked by uid 99); 25 Jun 2010 16:33:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jun 2010 16:33:03 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of justinedelson@gmail.com designates 209.85.216.42 as permitted sender) Received: from [209.85.216.42] (HELO mail-qw0-f42.google.com) (209.85.216.42) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jun 2010 16:32:56 +0000 Received: by qwh6 with SMTP id 6so805109qwh.1 for ; Fri, 25 Jun 2010 09:32:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=fz3KcoLRwr8nhZDxRj88KAxr1sHHKel3i85IhMbNoFg=; b=hoZJR6kNGj0BfROoh9LR9PKAP8covKYJZri+6DDWL6SgVtjzl1EKJXZRSuO0beXqS3 BZbd2Yd01rWi48uqzYUQvKMOwOR2CIeTHhnVfs3zo33oWD/6FZF8pw+eNBx5KJaVBqLh IfCJ4eLFNmkSVZLFBk6DxI661Tt9muqeONl3g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=CntiEEQHEMjxL+ef7xIktOkCSeEVJOOFRBmD1bf5LfMnGVN9XqC3wzhm3BvSFaD0xx R/NuQDC4A67VUtDg6hOJfvGzS/s1jshAxXt9nGjXF4CfPnHtyPKVbTgath6nnASEQzfy ggu7m7/hYiJW2c4Fa/horws+zpg5ePVvcBW5I= Received: by 10.224.79.15 with SMTP id n15mr762900qak.178.1277483554801; Fri, 25 Jun 2010 09:32:34 -0700 (PDT) Received: from Justin-Edelsons-iMac.local (ool-44c6554e.dyn.optonline.net [68.198.85.78]) by mx.google.com with ESMTPS id v20sm16862180qce.22.2010.06.25.09.32.33 (version=SSLv3 cipher=RC4-MD5); Fri, 25 Jun 2010 09:32:34 -0700 (PDT) Message-ID: <4C24DA20.4020004@gmail.com> Date: Fri, 25 Jun 2010 12:32:32 -0400 From: Justin Edelson Reply-To: justin@justinedelson.com User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: Slightly out of the norm... (perhaps) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Tony- I should have thought of this before, but is it possible this is the PM configuration inside the Versioning element? I think that would explain the error. If not, you should probably post the *whole* repository.xml file. Justin On 6/25/10 12:28 PM, Tony Giaccone wrote: > > > I've been working with sling, which has an embedded version of Jackrabbit. If you check out the sling code, the repository by default uses DERBY as it's Persistence manager. > > I'd like to swap out Derby for a more traditional database. I'd like to use Oracle. However, I'm working with a client where I have to VPN in to get to the clients DB and that makes using it more complicated. So as a first step because I can easily run Postgres on my lap top. I worked on swapping out Postgres for Derby and after a bit of work was able to successfully do so. > > However, the client actually uses Oracle, and I need to be able to use Jackrabbit with Oracle as the persistence manager. I assumed that once I understood how to get one JDBC based data source working a second would be relatively easy. However, I seem to have hit a roadblock and I'm not sure why. This doesn't feel like a JDBC driver issue, but I'm not sure where the problem is. > > To get Oracle working, I've added the oracle drivers to the build and changed the repository.xml file to indicate the appropriate information for the oracle configuration. > > This is the stanza of XML Im using to configure the Persistence manager. > > > > > > > > > > > > The error I'm getting at start up is: > > in /usr/local/glassfish/domains/domain1/config/sling/_sling/jackrabbit (org.apache.jackrabbit.core.config.ConfigurationException: Replacement not found for ${wsp.name}.) org.apache.jackrabbit.core.config.ConfigurationException: Replacement not found for ${wsp.name}. > > > I dont' understand why there should be a problem with wsp.name. Is there something I'm missing? > > > Tony Giaccone >