Frequent timeout exception

Description

issue discuss at https://groups.google.com/forum/#!topic/idempiere/l68ZIh28mZw
i just find how to redo it:
1. open web.xml of org.adempiere.server
edit value of session-timeout to 1 (just for quickly redo)

2. run idempiere server

3. open localhost:8080 (exact it)

4. click to idempiere icon or replace address to http://localhost:8080/webui/

5. login to idempiere

6. wait to 1,000000001 minute, your page will become timeout

reason by session use session timeout from http://localhost:8080

you will don't get issue if you start from http://localhost:8080/webui/

work-around

1. training end user start from http://localhost:8080/webui/

2. or modify session-timeout to same value

Environment

None

Attachments

1

Activity

Murilo Habermann Torquato 
August 13, 2016 at 11:01 PM

thank you hieplq !

Hiep Lq 
July 31, 2016 at 12:23 PM

by feedback from jetty community, i create this patch.
i not sure about other context (webstore, webservice,...) so only separate for server and webui

Hiep Lq 
July 31, 2016 at 1:33 AM

i can figure out actual reason, and report to jetty at:
https://github.com/eclipse/jetty.project/issues/795

key to redo:
1. always re-open browse before step 4 to sure all cookie is clear
2. step 5 and login have to complete on 1 minute before session of localhost timeout (or increase timeout of org.adempiere.server to 3)

Carlos Ruiz 
July 21, 2016 at 3:16 PM

Hi , I can't reproduce it that way - wait for a minute (or a bit more) - and no timeout happens.

Hiep Lq 
July 18, 2016 at 5:35 PM

, i try with ZK_SESSION_TIMEOUT_IN_SECONDS but still can redo.

1. set ZK_SESSION_TIMEOUT_IN_SECONDS = 3600
2. set session-timeout of org.adempiere.ui.zk = 60
3. set session-timeout of org.adempiere.server = 1
4. start server, go to http://localhost:8080/
5. modify address to http://localhost:8080/webui
6. after login wait 1 minute
7. click any link (like order line) page redirect to timeout page.

Fixed

Details

Assignee

Reporter

Labels

Affects versions

Priority

Created July 15, 2016 at 6:59 AM
Updated October 1, 2016 at 8:52 AM
Resolved August 6, 2016 at 8:15 PM