0 Replies Latest reply on Jun 30, 2005 6:29 PM by mcevikce

    Http session Replication problem

      I am trying to enable session replication on Jboss 4.02. I followed the direction from the JBoss WIKI: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClusteringFAQ
      Here is what the links says.

      [JBossCacheService][main] jboss.cache:service=TomcatClusteringCache service to Tomcat clustering not found
      [JBossCacheManager][main] JBossCacheService to Tomcat clustering not found
      [TomcatDeployer][main] Failed to setup clustering, clustering disabled

      Since 3.2.6, HTTP session replication is based on JBossCache, and more precisely the TomcatClusteringCache? service.
      In 3.2.6, 3.2.7, 4.0.1 and 4.0.1SP1, the dependency on this service is missing in Tomcat's jboss-service.xml.

      To fix it, please edit /all/jbossweb-tomcat5x.sar/META-INF/jboss-service.xml and enable the <depends optional-attribute-name="CacheName?"> element, update the MBean ObjectName as well as the element itself.


      The resulting code should look as follows:

      <!--
      Configuration for HTTP Session Clustering using JBossCache
      -->
      jboss.cache:service=TomcatClusteringCache

      instead of

      <!--
      Configuration for HTTP Session Clustering using JBossCache
      -->
      --
      <depends optional-attribute-name="CacheName">jboss.cache:service=TreeCache