Newbie: Repository home?

2 messages Options
Embed this post
Permalink
BOWLER Paul

Newbie: Repository home?

Reply Threaded More More options
Print post
Permalink
Is there any way to control where the Transient Repository is created
with JackRabbit?

Running our app in Tomcat, the repository files are created in
${CATALINE_HOME}/bin but we need to put these files elsewhere.

Any ideas if there is an environment variable we can set for this?

Thanks,

Paul.

Jukka Zitting

Re: Newbie: Repository home?

Reply Threaded More More options
Print post
Permalink
Hi,

On Thu, Jul 2, 2009 at 12:10 PM, BOWLER
Paul<[hidden email]> wrote:
> Is there any way to control where the Transient Repository is created
> with JackRabbit?
>
> Running our app in Tomcat, the repository files are created in
> ${CATALINE_HOME}/bin but we need to put these files elsewhere.
>
> Any ideas if there is an environment variable we can set for this?

Yes, you can use the following Java system properties to control the
location of the repository configuration file and the repository home
directory:

    org.apache.jackrabbit.repository.conf
    org.apache.jackrabbit.repository.home

Alternatively (or preferably), you can provide these values as
arguments to the TransientRepository constructor.

BR,

Jukka Zitting