jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phukan, Anit" <Anit_Phu...@intuit.com>
Subject RE: 1.0 or 2.0
Date Wed, 11 Nov 2009 18:50:33 GMT
Do I have to initialize the repository in my code in a different way to
include the initialContext/lookup? I am also trying to read the
datasource details from a properties.xml file.

Till now I was using 

Repository repository = new TransientRepository();

Thanks for the help.


-----Original Message-----
From: Alexander Klimetschek [mailto:aklimets@day.com] 
Sent: Wednesday, November 11, 2009 2:12 AM
To: users@jackrabbit.apache.org
Subject: Re: 1.0 or 2.0

On Wed, Nov 11, 2009 at 01:03, Phukan, Anit <Anit_Phukan@intuit.com>
> Has anyone configured the repository.xml to use JNDI look up for
making DB connections instead of directly specifying DB URLs with
userid/password in the repository.xml?

See http://wiki.apache.org/jackrabbit/UsingJNDIDataSource


Alexander Klimetschek

View raw message