jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandro Böhme <sandro.boe...@gmx.de>
Subject Re: JCRBrowser and datasource
Date Wed, 28 May 2008 10:31:41 GMT
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?
>>>>>> <code>
>>>>>>          &lt;PersistenceManager class="..."&gt;
>>>>>>           &lt;param name="dataSourceLocation"
>>>>>> value="someDataSource"/&gt;
>>>>>>           &lt;param name="schema" value="oracle"/&gt;
>>>>>>           &lt;param name="schemaObjectPrefix" value="PREFIX_"/&gt;
>>>>>>           &lt;param name="externalBLOBs" value="true"/&gt;
>>>>>>         &lt;/PersistenceManager&gt;
>>>>>> </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?
>>
> 
> 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 ... ;-)

Mime
View raw message