Difference between revisions of "Several OpenKM instances in the same JBoss"

From OpenKM Documentation
Jump to: navigation, search
Line 1: Line 1:
 
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:
 
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'''
+
* '''openkm/src/hibernate.cfg.xml'''
  
 
<source lang="xml">
 
<source lang="xml">
Line 7: Line 7:
 
</source>
 
</source>
  
* '''openkm_pro/merge/ear/META-INF/application.xml'''
+
* '''openkm/merge/ear/META-INF/application.xml'''
  
 
<source lang="xml">
 
<source lang="xml">
Line 13: Line 13:
 
</source>
 
</source>
  
* '''openkm_pro/src/es/git/openkm/core/Config.java'''
+
* '''openkm/src/es/git/openkm/core/Config.java'''
  
 
<source lang="java">
 
<source lang="java">
Line 19: Line 19:
 
</source>
 
</source>
  
* '''openkm_pro/src/es/git/openkm/frontend/client/config/Config.java'''
+
* '''openkm/src/es/git/openkm/frontend/client/config/Config.java'''
  
 
<source lang="java">
 
<source lang="java">
Line 25: Line 25:
 
</source>
 
</source>
  
* '''openkm_pro/src/es/git/openkm/frontend/client/config/Config.java'''
+
* '''openkm/src/es/git/openkm/frontend/client/config/Config.java'''
  
 
<source lang="java">
 
<source lang="java">
Line 31: Line 31:
 
</source>
 
</source>
  
* ''openkm_pro/src/es/git/openkm/ws''
+
* '''openkm/src/es/git/openkm/ws'''
  
 
<source lang="text">
 
<source lang="text">
Line 37: Line 37:
 
</source>
 
</source>
  
* $JBOSS_HOME/server/default/conf/login-config.xml
+
* '''$JBOSS_HOME/server/default/conf/login-config.xml'''
  
 
<source lang="text">
 
<source lang="text">
Line 43: Line 43:
 
</source>
 
</source>
  
* Remove jcr-1.0.jar from OpenKM.ear/OpenKM.jar and OpenKM.ear/OpenKM.war and copy to $JBOSS_HOME/server/default/lib
+
* 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:25, 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:

  • 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>
  • 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.
  • Remove jcr-1.0.jar from OpenKM.war and copy to $JBOSS_HOME/server/default/lib