2 Replies Latest reply on Jun 5, 2008 4:28 AM by yair.zaslavsky

    How to use treecache.xml as configuration for jboss cache th

    yair.zaslavsky

      Hi all,
      In my system I use jboss cache (1.4.1) to cache some objects (not kept in DB)
      and I also want to use jboss cache as 2nd level cache for hibernate.
      I managed to run the cache as mbean service (to cache the objects) using a configuration file for defining the cache (which i place in "deploy" directory) and to define 2nd level cache for hibernate (which requires treecache.xml).
      How can i use treecache.xml to configure the tree cache mbean service as well? I do not wish to use a separate configuration file for it.
      Thanks for any suggestions.