-
FEATURED COMPONENTS
First time here? Check out the FAQ!
we are getting 'Server is temporarily out of service' error popup after timeout. It is not being replicated on test environment. But on production the issue is occurring. On test environment, timeout.zul page appears. On production sometime, timeput page appears, sometimes 'server is temporarily out of service' error appear. Kindly help. 1. ZK.xml <session-config> <max-desktops-per-session>10</max-desktops-per-session> <timer-keep-alive>true</timer-keep-alive> </session-config>
springSecutiyContext.xml <logout logout-url="/j_spring_logout" logout-success-url="/zkloginDialog.zul?logout=0"/>
<!-- ====================================================== -->
<!-- Define the pages that are to be intercepted -->
<!-- It is parsed from top to bottom. Means that -->
<!-- the most specific pattern is standing on TOP -->
<!-- and the CATCH ALL is on BOTTOM! -->
<!-- ====================================================== -->
<intercept-url pattern="/pages/**" access="IS_AUTHENTICATED_REMEMBERED" />
<intercept-url pattern="/WEB-INF/pages/**" access="IS_AUTHENTICATED_REMEMBERED" />
<!-- ====================================================== -->
<!-- The root page is accessible by everyone but -->
<!-- internally spring makes a login and -->
<!-- this user becames a UserDetails -->
<!-- (in there are the ip-address and others) -->
<!-- ====================================================== -->
<intercept-url pattern="/zkloginDialog.zul" access="IS_AUTHENTICATED_ANONYMOUSLY" />
<intercept-url pattern="/**" access="IS_AUTHENTICATED_ANONYMOUSLY" />
I am also facing the same issue. but i dont have these configurations in my code.
ZK.xml
<session-config>
<max-desktops-per-session>10</max-desktops-per-session>
<timer-keep-alive>true</timer-keep-alive>
</session-config>
web.xml
<session-config>
<session-timeout>30</session-timeout>
</session-config>
Its Urgent !! can some one help
Hello PRATIKKAR,
Can you check out the following documentation and specifically the section Never Timeout:
http://books.zkoss.org/wiki/ZKDeveloper'sReference/UIPatterns/SessionTimeout_Management
You can handle this way exactly when it will time out!
Best Regards,
Darksu
Asked: 2016-01-29 11:33:59 +0800
Seen: 24 times
Last updated: Feb 07 '16