2 Replies Latest reply on Nov 17, 2012 4:29 AM by heapstor

    TreeCache missing in Infinispan 5.1.7, AS 7.1.3?

      I am trying to migrate JBoss Cache code that has been running on AS 5.1.0.GA to JBoss 7. Per Infinispan documentation, I would like to try using Infinispan TreeCache as a replacement for data currently being stored JBoss Cache. I first dug into AS 7.1.1 but couldn't find TreeCache anywhere in the distribution. Then I ran across https://community.jboss.org/message/758166?tstart=0 where someone else couldn't find the necessary jar file was told to try a newer version of Infinispan (5.1.6), so I downloaded and built AS 7.1.3, which has Infinispan 5.1.7, but I still can't seem to find the jar file containing TreeCache.

       

      I have read many posts referencing TreeCache and have seen code samples where it's being used, so I assume it is still available, but I am totally at a loss as to where to find it.

       

      I apologize for taking time with such a basic question, but I am at a loss.

       

      Thanks.

      Todd

        • 1. Re: TreeCache missing in Infinispan 5.1.7, AS 7.1.3?
          nadirx

          Hi Todd,

           

          the Infinispan tree module is not included in AS7. It is however distributed as part of the Infinispan distribution.

          If you need it you should package it as part of your application. Note that the tree module is there only for backwards compatibility and does not receive active maintenance, so you should eventually look into migrating your code to use the map cache API provided by infinispan core (maybe compositing your keys in a tree-like fashion).

          1 of 1 people found this helpful
          • 2. Re: TreeCache missing in Infinispan 5.1.7, AS 7.1.3?

            Thanks for your helpful reply. We will evaluate the additional changes required to remove the tree dependencies.