Several OpenKM instances in the same JBoss

From OpenKM Documentation
Revision as of 21:23, 9 February 2010 by Pavila (talk | contribs) (Created page with 'You can have several OpenKM instances running in the same JBoss. This implies some source code modifications, so read carefully Developer Guide before trying this: * openkm_…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

You can have several OpenKM instances running in the same JBoss. This implies some source code modifications, so read carefully Developer Guide before trying this:

  • openkm_pro/src/hibernate.cfg.xml
<property name="hibernate.connection.datasource">java:/OKMWorkflow#DS</property>
  • openkm_pro/merge/ear/META-INF/application.xml
<context-root>/OpenKM#</context-root>
  • openkm_pro/src/es/git/openkm/core/Config.java

public static String INSTALL = "#";
  • openkm_pro/src/es/git/openkm/frontend/client/config/Config.java
private static String INSTALL = "#";
  • openkm_pro/src/es/git/openkm/frontend/client/config/Config.java
private static String INSTALL = "#";
  • openkm_pro/src/es/git/openkm/ws
Disable WS deleting this folder.
  • $JBOSS_HOME/server/default/conf/login-config.xml
Duplicate OpenKM entry to meet the new context.
  • Remove jcr-1.0.jar from OpenKM.ear/OpenKM.jar and OpenKM.ear/OpenKM.war and copy to $JBOSS_HOME/server/default/lib