Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-971

Cache.getCacheManager() not binary-compatible with 4.2.0.FINAL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.1.FINAL
    • 4.2.1.CR4
    • Core
    • None
    • Hide

      Recompile dependent code against 4.2.1.CR4.

      Show
      Recompile dependent code against 4.2.1.CR4.

      Due to an API change, I get the following runtime error when upgrading from 4.2.0.Final -> 4.2.1.CR4:

      java.lang.NoSuchMethodError: org.infinispan.Cache.getCacheManager()Lorg/infinispan/manager/CacheContainer;
      	at org.jboss.web.tomcat.service.session.distributedcache.ispn.DefaultLockManagerSource.getLockManager(DefaultLockManagerSource.java:72)
      	at org.jboss.web.tomcat.service.session.distributedcache.ispn.DistributedCacheManagerFactory.getDistributedCacheManager(DistributedCacheManagerFactory.java:60)
      	at org.jboss.web.tomcat.service.session.JBossCacheManager.initDistributedCacheManager(JBossCacheManager.java:1514)
      	at org.jboss.web.tomcat.service.session.JBossCacheManager.init(JBossCacheManager.java:263)
      	at org.jboss.test.cluster.defaultcfg.simpleweb.test.SessionBasedMaxUnreplicatedIntervalTestCase.startManagers(SessionBasedMaxUnreplicatedIntervalTestCase.java:282)
      	at org.jboss.test.cluster.defaultcfg.simpleweb.test.SessionBasedMaxUnreplicatedIntervalTestCase.testRemoteExpirationGracePeriod(SessionBasedMaxUnreplicatedIntervalTestCase.java:243)
      	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
      	at junit.extensions.TestSetup.run(TestSetup.java:27)

              manik_jira Manik Surtani (Inactive)
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: