0

server is temporarily out of service error popup

asked 2016-01-29 11:33:59 +0800

vikki gravatar image vikki
1

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>

  1. web.xml <session-config> <session-timeout>30</session-timeout> </session-config>
  2. 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" />
    
delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-02-05 06:17:15 +0800

PRATIKKAR gravatar image PRATIKKAR
3 2

updated 2016-02-05 08:26:13 +0800

chillworld gravatar image chillworld flag of Belgium
5357 4 9
https://github.com/chillw...

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

link publish delete flag offensive edit
0

answered 2016-02-07 12:54:01 +0800

Darksu gravatar image Darksu
1991 1 4

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

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2016-01-29 11:33:59 +0800

Seen: 24 times

Last updated: Feb 07 '16

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More