rlutz [
http://community.jboss.org/people/rlutz] created the discussion
"Re: Force JBoss to refresh cache"
To view the discussion, visit:
http://community.jboss.org/message/626328#626328
--------------------------------------------------------------
I tried changing jboss-service.xml to change the DefaultCacheTimeout to 0 from 1800, and
also tried
String domain = "jmx-console";
ObjectName jaasMgr = new
ObjectName("jboss.security:service=JaasSecurityManager");
Object[] params = {domain};
String[] signature = {"java.lang.String"};
MBeanServer server = (MBeanServer) MBeanServerFactory.findMBeanServer(null).get(0);
server.invoke(jaasMgr, "flushAuthenticationCache", params, signature);
But that didn't seem to work either. I'm stumped :(
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/626328#626328]
Start a new discussion in JBoss Web Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]