I deployed Magnolia (community edition) 4.4 on Tomcat 6.0.
I need to build a cluster for load-balancing purposes to do some test on it.


Here's my situation:
- host1: MySQL db - magnolia_author, magnolia_public
- host2: magnoliaAuthor and magnoliaPublic instances
- host3: magnoliaPublic instance

I configured clustering (both on host2 and host3) in
magnoliaPublic/WEB-INF/config/repo-conf/jackrabbit-bundle-mysql-search.xml
in this way:

 <Cluster id="node2" syncDelay="2000">
    <Journal class="org.apache.jackrabbit.core.journal.DatabaseJournal">
      <param name="revision" value="${rep.home}/revision.log" />
      <param name="driver" value="com.mysql.jdbc.Driver" />
      <param name="url" value="jdbc:mysql://host1:3306/magnolia_public" />
      <param name="user" value="magnolia" />
      <param name="password" value="xxxxxxx" />
      <param name="databaseType" value="mysql"/>
    </Journal>
  </Cluster>

Now on http://host3:8080/magnoliaPublic/ I can visualize correctly the
demo-project and I can update it by author instance on host2.
On http://host2/magnoliaPublic/ I see the homepage, but with a rough layout
(no background, only some images, etc...).

Cannot understand where I'm wrong.
Is the database infrastructure correct? What about
jackrabbit-bundle-mysql-search.xml configuration?
I read offical docs, but this points aren't clear.
I can post my catalina.out, if necessary.

Thank you anyone who can help me.


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to