Page 1 of 1

two OpenKMs under one tomcat

PostPosted:Thu May 29, 2014 2:49 pm
by elessar25
Hi,

I'm trying to run two different versions of OpenKM repository under one tomcat. Normally it's possible to run OpenKM.war and other applications for ex. probe.war but what about running two OpenKms?
When I change one of .war files name, for ex to OpenKM_new.war it will build a new directory "OpenKM_new", but it still uses "repository" folder which is also used by old one "OpenKM". Even if I change the default repository path in one of .wars, both still use "repository" folder.

Anyone any cule about that? :)

Re: two OpenKMs under one tomcat

PostPosted:Fri May 30, 2014 7:35 am
by jllort
Not possible, althought in pass we had been doing some experiment in this way ( go running ) we disacarted this kind of configuration, is not a good idea, believe us. Start from the begging please. What kind of problem you want to solve ?

Re: two OpenKMs under one tomcat

PostPosted:Fri May 30, 2014 2:56 pm
by elessar25
well then let's begin :)

I have two separate scientific projects and I'd like to use OpenKM for both of them. I don't want to build one big repository with all documents and files from both projects. First project already runs OpenKM v 6.2.2 and now I'd like to run new version of OpenKM for second project on same server.

Is it possible to make it happen without virtualization?

Re: two OpenKMs under one tomcat

PostPosted:Sun Jun 01, 2014 6:02 pm
by jllort
You must use two tomcat in same server, take a look at this documentation page http://wiki.openkm.com/index.php/Severa ... ame_server
Also we got the feature called multi-tenant http://www.openkm.com/en/modules-eng/multitenant.html but is only available from professional version.

Re: two OpenKMs under one tomcat

PostPosted:Sun Jun 01, 2014 6:17 pm
by elessar25
YAAAY :) works perfect! :) that's what I've been looking for :) Thanks for Your help! :)

Re: two OpenKMs under one tomcat

PostPosted:Mon Jun 02, 2014 10:37 am
by jllort
Take a look at each setenv.bat or setenv.sh to take control of resources assigned to each tomcat ( $TOMCAT/bin folder )