Several OpenKM instances in the same JBoss
Managing several companies with only one OpenKM instance can present several security problems. Actually there is no way to make a relation between a group of users and a company. This means that when you manage document security, all the users will be shown, even users in other companies. Also is not a good way of doing things because you can't have specific configurations for each company.
The best way to accomplish this is having several OpenKM instances in one JBoss. The most complex and time-consuming configuration is related to JBoss. But configuring an OpenKM instance is very straightforward and can take seconds. This implies some source code modifications, so read the Developer Guide carefully before trying this:
|Replace # with an OpenKM installation id.|
Files located in $OPENKM_PRJ
public static String INSTALL = "#";
private static String INSTALL = "#";
Disable WS deleting this folder.
Files located in $JBOSS_HOME
Duplicate OpenKM configuratoin to meet the new context.
Duplicate OpenKM entry to meet the new context.
Duplicate OpenKM datasource configuration to meet the new context.
- Remove jcr-1.0.jar from OpenKM.war and copy to server/default/lib