2 Replies Latest reply on Nov 30, 2007 8:34 AM by loumaus

    Flush the cache

    loumaus

      We are running on a jboss 4.2 eap ( jboss cache 1.4.1).

      It is mandatory to be able to flush the cache during runtime, on a single instance as well as cluster wide.

      How do we achieve it ???

        • 1. Re: Flush the cache
          manik

          Umm, cache.remove(Fqn.ROOT)?

          • 2. Re: Flush the cache
            loumaus

            For those who run into the same problem:

            1. Inactivate the region

            2. Reactivate it again

            You do this inside the jmx-console -> TreeCache MBean
            Both methods ( activateRegion && inactivateRegion ) take a string as a parameter. You have to set the full qualified region there.