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?
>>>> <code>
>>>> <PersistenceManager class="...">
>>>> <param name="dataSourceLocation"
>>>> value="someDataSource"/>
>>>> <param name="schema" value="oracle"/>
>>>> <param name="schemaObjectPrefix" value="PREFIX_"/>
>>>> <param name="externalBLOBs" value="true"/>
>>>> </PersistenceManager>
>>>> </code>
>>>>
>>>> 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?
--
View this message in context:
http://www.nabble.com/JCRBrowser-and-datasource-tp17507598p17508973.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.