Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 63869 invoked from network); 28 May 2008 10:31:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2008 10:31:31 -0000 Received: (qmail 37594 invoked by uid 500); 28 May 2008 10:31:32 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 37574 invoked by uid 500); 28 May 2008 10:31:32 -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 37563 invoked by uid 99); 28 May 2008 10:31:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 03:31:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sandro.boehme@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 28 May 2008 10:30:38 +0000 Received: (qmail invoked by alias); 28 May 2008 10:31:00 -0000 Received: from port-83-236-207-190.static.qsc.de (EHLO [192.168.1.27]) [83.236.207.190] by mail.gmx.net (mp006) with SMTP; 28 May 2008 12:31:00 +0200 X-Authenticated: #1646957 X-Provags-ID: V01U2FsdGVkX1+XCdcVk6KXQdXPgW3JxdlIBMiONP6n6uU3Nt8REe RyeeWjYb9v1oHQ Message-ID: <483D348D.7000705@gmx.de> Date: Wed, 28 May 2008 12:31:41 +0200 From: =?UTF-8?B?U2FuZHJvIELDtmhtZQ==?= User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: JCRBrowser and datasource References: <17507598.post@talk.nabble.com> <483D215E.8000605@gmx.de> <17508487.post@talk.nabble.com> <483D2947.7080004@gmx.de> <17508973.post@talk.nabble.com> <483D30BA.9060604@gmx.de> In-Reply-To: <483D30BA.9060604@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Sandro Böhme schrieb: > philipp_s schrieb: >> >> >> Sandro Böhme wrote: >>> philipp_s schrieb: >>>> >>>> Sandro Böhme wrote: >>>>> philipp_s schrieb: >>>>>> Is it possible to use the JCRBrowser with a repository.xml which >>>>>> specifies a >>>>>> PersistenceManager that is using a datasource? >>>>>> >>>>>> <PersistenceManager class="..."> >>>>>> <param name="dataSourceLocation" >>>>>> value="someDataSource"/> >>>>>> <param name="schema" value="oracle"/> >>>>>> <param name="schemaObjectPrefix" value="PREFIX_"/> >>>>>> <param name="externalBLOBs" value="true"/> >>>>>> </PersistenceManager> >>>>>> >>>>>> >>>>>> thx >>>>>> >>>>>> Philipp >>>>> Hello Philipp, >>>>> >>>>> the JCRBrowser just takes whatever you configured in the >>>>> repository.xml and does not depend on a specific configuration. >>>>> >>>>> Bye, >>>>> >>>>> Sandro >>>>> >>>>> >>>> thanks for the quick reply! >>>> >>>> but when I try to connect to a repository that uses a datasource in the >>>> PersistenceManager configuration, I get the following error dialog: >>>> "It was not possible to login. Please check the credentials" with the >>>> following details: Unable to create connection.: Unable to create >>>> connection. >>>> >>>> Do I need to create a datasource in Eclipse, so JCRBrowser can use it? >>>> (how?) >>>> When I connect to a test repository that has a different persistence >>>> manager >>>> I can browse the repository (both have the same credentials) >>>> >>> ahh ok: When you use the Local Jackrabbit Repository the JCRBrowser >>> starts the repository within the plugin by using the classpath that >>> is configured for this Eclipse plugin. Of course this works for usual >>> use cases that don't need additional or other versions of classes or >>> jars. If you need a new persistance manager class in the classpath I >>> recommend dropping Jackrabbit in a Tomcat and configuring your custom >>> classpath there. Then you can use the "Remote Java Content >>> Repository" connection of the JCRBrowser to browse through the content. >>> >>> Bye, >>> >>> Sandro >>> >>> >> again, thanks for the quick reply! >> >> should this also work, when the repository is deployed as a resource >> adapter >> in weblogic? >> > > If whatever starts the Jackrabbit repository in this case also registers > the repository to an RMI port than it will work. > In the default Jackrabbit war the job is done by the > RepositoryStartupServlet.registerRMI() method, but I don't know how it > works for a resource adapter. > > Bye, > > Sandro > Just to avoid problems with your admin: Don't forget that opening a new port my have consequences for your firewall rules ... ;-)