Page 1 of 1

Changing the location of repository.xml

PostPosted:Fri Feb 25, 2011 6:10 am
by ydesilva
Hi Guys,

We are planning to use OpenKM in an environment where the repo will need to be located outside $JBOSS_HOME.

Secondly, the way we use JBoss is that we use different JBoss configs/partitions for each app. This means that we can't put any of the files in the $JBOSS_HOME.

Is there someway to change the location of the files which are supposed to go in the $JBOSS_HOME?

I assume that the repository location can be defined here
Code: Select all
<FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
        <param name="path" value="${rep.home}/repository"/>
</FileSystem>
am I correct?

Cheers

Yev

Re: Changing the location of repository.xml

PostPosted:Fri Feb 25, 2011 5:16 pm
by jllort
AS is explained in http://wiki.openkm.com/index.php/Applic ... figuration you can change repository location with OpenKM.cfg parameter

Re: Changing the location of repository.xml

PostPosted:Sat Feb 26, 2011 2:56 am
by ydesilva
Thanks for the reply. I thought that this didn't work properly. Or am I confusing myself :)

http://forum.openkm.com/viewtopic.php?f=4&t=2337

Also, where does the OpenKM.cfg file have to be located? Is there a way to change it from $JBOSS_HOME?

The same applies to the property group related files.

As I mentioned, I can't have anything in $JBOSS_HOME, as we have different systems using different partitions. e.g. I might have 2 partitions with OpenKM.

Re: Changing the location of repository.xml

PostPosted:Sat Feb 26, 2011 10:45 am
by jllort
OpenKM.cfg and PropertyGroups.* must be under jboss_home