This article covers a Bloomreach Experience Manager version 12. There's an updated version available that covers our most recent release.

Running Multiple CMS Instances with Cargo While Using One Repository (Local Clustered Setup)

1. First checkout the same project twice in different directories.

2. Follow the tutorial  Run 2 Bloomreach Experience Manager instances of Tomcat simultaneously for one of the checkouts.

3. Follow the turorial Use MySQL in a Development Environment for both checkouts.

4. Add the following snippet in the repository.xml of both checkouts.

  <Cluster>
    <Journal class="org.apache.jackrabbit.core.journal.JNDIDatabaseJournal">
      <param name="revision" value="${rep.home}/revision.log"/>
      <param name="url" value="java:comp/env/jdbc/repositoryDS"/>
      <param name="driver" value="javax.naming.InitialContext"/>
      <param name="schemaObjectPrefix" value="repository_"/>
      <param name="schema" value="mysql"/>
    </Journal>
  </Cluster>

5. Run both projects with  mvn -P cargo.run

 

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?