Tommy Shum [
http://community.jboss.org/people/tommyshum83] created the discussion
"Re: Relogin after 30 minutes"
To view the discussion, visit:
http://community.jboss.org/message/598405#598405
--------------------------------------------------------------
Hi,
I'm having the issue to extend the expiration time. Where is this function (refresh())
located? We can change jboss code?
I found a source in internet to set DefaultCacheTimeout=-1 but it doesn't seem
working. Does jboss really support such setting?
http://sourceforge.net/project/shownotes.php?release_id=337759
http://sourceforge.net/project/shownotes.php?release_id=337759
JBAS-2226, The JaasSecurityManagerService DefaultCacheTimeout attribute as applied to the
default JaasSecurityManager timed cache policy entries has a bug which limits the
effective maximum timeout to Integer.MAX_VALUE/1000 due to a seconds to milliseconds
conversion. Since values in the MAX_VALUE range are typically an attempt to never expire
an entry, support for indicating this has been added by interpretting a
DefaultCacheTimeout value of -1 to mean no expiration. Previously any negative value was
the same as 0, and indicated that no caching would occur. Impact: If your are using a
value of -1 to indicate that caching should be disabled, you need to change your
configuration value to 0.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/598405#598405]
Start a new discussion in JBoss Cache at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]