Difference between revisions of "Several OpenKM instances in the same JBoss"
From OpenKM Documentation
Line 44: | Line 44: | ||
<context-root>/OpenKM#</context-root> | <context-root>/OpenKM#</context-root> | ||
</source> | </source> | ||
− | |||
− | |||
* '''$JBOSS_HOME/OpenKM#.cfg''' | * '''$JBOSS_HOME/OpenKM#.cfg''' | ||
Line 58: | Line 56: | ||
Duplicate OpenKM datasource configuration to meet the new context. | Duplicate OpenKM datasource configuration to meet the new context. | ||
</source> | </source> | ||
+ | |||
+ | * Remove jcr-1.0.jar from OpenKM.war and copy to '''$JBOSS_HOME/server/default/lib''' | ||
[[Category: Installation Guide]] | [[Category: Installation Guide]] | ||
[[Category: OKM Network]] | [[Category: OKM Network]] |
Revision as of 20:33, 9 February 2010
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:
Replace # with an OpenKM installation id. |
- openkm/src/es/git/openkm/core/Config.java
public static String INSTALL = "#";
- openkm/src/es/git/openkm/frontend/client/config/Config.java
private static String INSTALL = "#";
- openkm/src/es/git/openkm/frontend/client/config/Config.java
private static String INSTALL = "#";
- openkm/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.
- openkm/src/hibernate.cfg.xml
<property name="hibernate.connection.datasource">java:/OKMWorkflow#DS</property>
- openkm/merge/ear/META-INF/application.xml
<context-root>/OpenKM#</context-root>
- $JBOSS_HOME/OpenKM#.cfg
Duplicate OpenKM configuratoin to meet the new context.
- $JBOSS_HOME/server/default/deploy/openkm-ds.xml
Duplicate OpenKM datasource configuration to meet the new context.
- Remove jcr-1.0.jar from OpenKM.war and copy to $JBOSS_HOME/server/default/lib