1 Reply Latest reply on Nov 8, 2007 9:54 AM by Manik Surtani

    upgrading JBossCache version on JBossAS problem

    gmeroz Newbie

      i recently upgrade JBossAS from 4.0.3 to 4.0.5GA.

      since i was already using JBossCache 2.0.0GA, which is newer than the one used by JBossAS, i had to upgrade the jboss-cache jar in the AS.

      The problem is that there's no backward compatability in jboss-cache & the 2.0.0 version can not be used together with Clusetered SSO.

      class org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn which is required for clustered SSO has an import to class org.jboss.cache.AbstractTreeCacheListener which no longer exist in JBossCache.

      i would expect backward compatability.

        • 1. Re: upgrading JBossCache version on JBossAS problem
          Manik Surtani Master

          JBoss Cache 2.x is not designed for use with JBoss AS 4.x. Certain elements of backward compatibility have been broken in 2.x, see the design forum and dev mail list archives for discussions around these decisions.

          You still need to use the jboss-cache.jar (which is JBC 1.4.x) that ships with JBoss AS 4.x for the clustering code in AS 4.x to work.

          You can, however, include JBC 2.x jars *in your application* (i.e., in your WAR or EAR) and use it from there.