1 Reply Latest reply on Dec 18, 2006 3:33 PM by Gurkan Erdogdu

    Using Jboss Cache IDE on EJB3 4.0.5.GA server

    darren hartford Expert

      Hi all,
      I'm having a hard time trying to find any documentation on how to use the Jboss Cache IDE (the one with Jboss-IDE 2.0.0.Beta2) to monitor/examine cache-enabled EJB3's on a 4.0.5.GA JEMS ejb3-cluster profile install.

      The properties needed for remote access include:

      *serverUrl (localhost by default)
      *Jndi Port (1099 by default, may be 1100)
      *Cache Jndi Name (jndi_name by default, ???)
      *Cache Service Name(changed to jboss.cache:service=EJB3EntityTreeCache)
      *no added jars

      How should this be configured to monitor cached EJB3 entity beans?

      Thanks,
      -D

        • 1. Re: Using Jboss Cache IDE on EJB3 4.0.5.GA server
          Gurkan Erdogdu Newbie

          Hi;

          First of all, last cache ide built in JBoss IDE 2.0.0Beta2 is compatible wih JBoss Cache 1.4.0 version.

          Be able to view cache content in the server via eclipse, you have to put jndi of TreeCache service via mbean definition in the cache-service.xml file like

          <mbean code ="org.jboss.invocation.jrmp.server.JRMPProxyFactory",....>
          <....
          MyCache

          .....other properties

          ..../>

          In the server configuration,

          *serverUrl (localhost by default)

          *Jndi Port (1099 by default, may be 1100)

          *Cache Jndi Name (jndi_name of the running cache instance in the server defined above mbean ex: MyCache)

          *Cache Service Name(changed to jboss.cache:service=EJB3EntityTreeCache, running cache service name, and must be configured also in the above mbean and also is used to get statatistics mbeans if view statistics enable)

          *Added jars (Object classes, that are contained in the cache, must be added as jar to view their content in the eclipse view),

          Gurkan