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.

Anit

-----Original Message-----
From: Alexander Klimetschek [mailto:[email protected]] 
Sent: Wednesday, November 11, 2009 2:12 AM
To: [email protected]
Subject: Re: 1.0 or 2.0

On Wed, Nov 11, 2009 at 01:03, Phukan, Anit <[email protected]>
wrote:
> 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

Regards,
Alex

-- 
Alexander Klimetschek
[email protected]

Reply via email to