2 Replies Latest reply on Dec 14, 2010 8:28 AM by roshantitus

    Invalidate cache using jmx-console

    mgamer

      I've just started using cache (jgroups) in JBoss thus I belive my question is rather a simple one.

      I'd like to invalidate cache using jmx-console. I've found service=InvalidationManager with methods invalidate, invalidateAll, batchInvalidate, etc. I can't figure out how to make them work for me.

      I'd really appreciate any help.

        • 1. Re: Invalidate cache using jmx-console
          manik

          That has nothing to do with JBoss Cache.

          You need to know which cache you want - in AS 4.2.x, you have 3 caches:

          service=EJB3EntityTreeCache
          service=EJB3SFSBClusteredCache
          service=TomcatClusteringCache

          You can invoke stuff directly on the caches there.

          • 2. Re: Invalidate cache using jmx-console
            roshantitus

            Hi Manik,

             

            These services doesn't seem to be listed under the JMX console of JBOSS AS 5.0.1

             

            service=EJB3EntityTreeCache
            service=EJB3SFSBClusteredCache
            service=TomcatClusteringCache

             

            Do you know how to invoke these services using JMX console?