Page 1 of 1
Helo! problem with auto expire
PostPosted:Wed Sep 10, 2008 6:23 pm
by hbcomcn
Did any body really try half an hour auto expire if you are not log out properly?
In the previous days, I just logged in as system and terminate the active user session, but today, I tried to wait almost an hour, but it doesn\'t work. the login screen telling user session will expire at XXX, but actually that time already passed.
Does your system working well with that function?
Except access the source code is there any way to config the expire time?
Thanks!!!
Re:Helo! problem with auto expire
PostPosted:Wed Sep 10, 2008 6:54 pm
by jllort
Expire session can only be configured in application or in jboss.
To do on OpenKM, you must modify the web.xml file on OpenKM.war ( into OpenKM.ear) at WEB-INF folder and settting:
<session-config>
<session-timeout>30</session-timeout>
</session-config>
( numbers are in minutes ).
About not expiration user it occurs with system or with all users that sessions not expired after 30 minutes ? If not probably, it could be a not discovered bug
Re:Helo! problem with auto expire
PostPosted:Wed Sep 10, 2008 7:09 pm
by hbcomcn
Thanks for your reply!
Actually it happens to several users in my group, so I think maybe it is a bug.
I will try to change the time to see what is the result.
Re:Helo! problem with auto expire
PostPosted:Thu Sep 11, 2008 2:55 pm
by pavila
You should see the program log, and search for messages from Watchdog and SessionListener classes. Also search for SESSION_EXPIRATION action in user activity log.
Re:Helo! problem with auto expire
PostPosted:Sun Sep 14, 2008 2:25 am
by hbcomcn
Hello could you introduce me the path of the web.xml file, I find two web.xml file have "session-timeout", I changed them to "5", but after I close the browser, and relogin, the expire out is still 30 minutes.
Thanks!
jllort wrote:Expire session can only be configured in application or in jboss.
To do on OpenKM, you must modify the web.xml file on OpenKM.war ( into OpenKM.ear) at WEB-INF folder and settting:
<session-config>
<session-timeout>30</session-timeout>
</session-config>
( numbers are in minutes ).
About not expiration user it occurs with system or with all users that sessions not expired after 30 minutes ? If not probably, it could be a not discovered bug
Re:Helo! problem with auto expire
PostPosted:Sun Sep 14, 2008 10:04 am
by jllort
You must restart jboss server to take some effect.
Re:Helo! problem with auto expire
PostPosted:Tue Sep 16, 2008 4:49 am
by hbcomcn
Hello,
With my experience, I found that when I change the web.xml files (OpenKM-2.0_JBoss-4.2.2.GA\\server\\default\\deploy\\jboss-web.deployer\\conf & OpenKM-2.0_JBoss-4.2.2.GA\\server\\all\\deploy\\jboss-web.deployer\\conf) timeout session to
Code: Select all <session-config>
<session-timeout>5</session-timeout>
</session-config>
, when I relogin after close the browser, it keeps telling me I have to wait for 30 minutes, but about 5 minutes later, I can login.
Maybe this is a bug, the interface is not synchronous with the internal changes.
hbcomcn wrote:Hello could you introduce me the path of the web.xml file, I find two web.xml file have "session-timeout", I changed them to "5", but after I close the browser, and relogin, the expire out is still 30 minutes.
Thanks!
jllort wrote:Expire session can only be configured in application or in jboss.
To do on OpenKM, you must modify the web.xml file on OpenKM.war ( into OpenKM.ear) at WEB-INF folder and settting:
<session-config>
<session-timeout>30</session-timeout>
</session-config>
( numbers are in minutes ).
About not expiration user it occurs with system or with all users that sessions not expired after 30 minutes ? If not probably, it could be a not discovered bug
Re:Helo! problem with auto expire
PostPosted:Tue Sep 16, 2008 5:30 am
by jllort
Really UI message is set by default adding 30 minutes to user login date time, for it you\'ve got it uncosistent message with your changes on session-timeout.