1 Reply Latest reply on Jul 5, 2010 7:06 AM by Manik Surtani

    Restart DefaultCacheManager

    Shane Johnson Novice

      Is there a way to restart the DefaultCacheManager? I noticed that it has start() and stop() methods, but they can't be used together to form a restart.

       

      Right now we have to call stop() and then created a new instance.

       

      The reason we are doing this is that we need to close the JGroups channel and create a new one so that we can force a new join. If there is an easier way to do this besides stopping and creating a new DefaultCacheManager, I'm game for it.