1 Reply Latest reply on Jul 20, 2006 3:18 PM by Manik Surtani

    Configuring multiple roots within JBoss cache

    Ramdas Hegde Newbie

      Our application needs to have multiple roots within a single JBoss Treecache. The way we are implementing this in the configuration is by specifying multiple mbean elements in the replSync-service.xml viz.

      <mbean code="org.jboss.cache.TreeCache" name="jboss.cache:service=tree1"> ..... </mbean>
      <mbean code="org.jboss.cache.TreeCache" name="jboss.cache:service=tree2"> ..... </mbean>

      Is this the best way to configure multiple trees in the same cache?
      Is there a way by which the common elements within these multiple mbeans be put into a common area and then sourced in - the benefit being, any change to the common attributes within the multiple trees, be done in one place?

      We are using JBoss cache within JBoss AS version 3.2.6, JBoss cache version 1.2.3