OMG
Just a little workarround: Write a struts action or something with following
code
MBeanServer server=MBeanServerLocator.locateJBoss();
| TreeCacheMBean cache;
| cache=(TreeCacheMBean)MBeanProxyExt.create(TreeCacheMBean.class,
"jboss.cache:service=EJB3EntityTreeCache", server);
| if (DEBUG) LOG.debug("CacheMode: " + cache.getCacheMode());
| if (DEBUG) LOG.debug("CachedEntries: \n" + cache.printDetails());
| if (DEBUG) LOG.debug("my entities in cache: " +
cache.exists("/my/package"));
|
| cache.remove("/my/package");
|
| if (DEBUG) LOG.debug("my entities in cache after reset: " +
cache.exists("/my/package"));
Now, you're able to clear the second level cache manually.
If somebody knows a possibility to do this automatically at redeploy - please
reply.
cya chris
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985644#3985644
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985644
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user