-
1. Re: How does the cache policy get instatiated?
cbrettin Jun 25, 2004 2:23 AM (in response to kenny1234)I hope that the constructor argument (the policy name) )for the JAASSecurityDomain went missing, or that might be part of the problem.
A timed cache policy is the default (it can be overridden in the Security management config)
Does java:/timedCacheFactory exist on your system?
(I cant find out where is is defined, but it's definitely present in all the JBoss installations I have used)
http://myhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss%3Aservice%3DJNDIView -
2. Re: How does the cache policy get instatiated?
cbrettin Jun 30, 2004 12:33 AM (in response to kenny1234)In case anyone was dying of curiosity, I happened to come across the definition of java:timedCacheFactory.
It's in JaasSecurityManagerService- the factory is created (and JNDI-bound) when the MBean is started, so if you didn't have the factory then this service hadn't started properly (check conf/jboss-service.xml and mbean jboss.security:service=JaasSecurityManager).
It would be quite unusual to run JBoss without the security manager service.
The name and class for this default seem to be hard coded.