0 Replies Latest reply on Jun 27, 2005 10:58 AM by Mike Cev

    How to configure TreeCache?

    Mike Cev Newbie

      Being a newbee to JBoss Cache I have some stupid questions. I created a new CacheLoader and followed the instruction on the manual to create a new configuration file. I have two question regarding to this:
      1-) In order to deploy cache as a MBean do I need to add the following section on top of the TreeCache configuration section:

      jboss:service=invoker,type=jrmp
      jboss.cache:service=TreeCache
      MyCache true org.jboss.cache.TreeCacheMBean

      org.jboss.proxy.ClientMethodInterceptor
      org.jboss.proxy.SecurityInterceptor
      org.jboss.invocation.InvokerInterceptor

      jboss:service=invoker,type=jrmp
      jboss.cache:service=TreeCache

      2-) Do I package this configuration file as part of my application or just drop it in /server/default/deploy ?