Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03, 4.1
-
Fix Version/s: EE-4.1.0.RC1, EE-4.1.0.GA, EE-3.3.0.GA_P04, 4.2.BETA, 4.2
-
Component/s: Sample Apps
-
Labels:None
-
Environment:ICEfaces-4.1.0/ ICEfaces-EE-4.0.0.GA/ ICEfaces-EE-3.3.0.GA_P03
Server: Tomcat7.0.42
Browsers: all
-
Assignee Priority:P3
Description
If the <session-timeout> parameter is increased to '4500', there are no problems in running the sample applications, however increasing this value to a larger number such as '45000' causes an "HTTP error 500 - Session has expired" error displayed in the browser window when trying to access the application. The application cannot be accessed, also when reloading the page.
The error is not visible in the server terminal window.
I am wondering if there is a maximum value that can be used for this parameter when running ICEfaces apps?
This can be reproduced with auction and showcase, and most probably with the other sample apps, if increasing the <session-timeout/> value in the web.xml:
<session-config>
<session-timeout>45000</session-timeout>
</session-config>
The error is not visible in the server terminal window.
I am wondering if there is a maximum value that can be used for this parameter when running ICEfaces apps?
This can be reproduced with auction and showcase, and most probably with the other sample apps, if increasing the <session-timeout/> value in the web.xml:
<session-config>
<session-timeout>45000</session-timeout>
</session-config>
Refactored session timeout test in SessionTimeoutMonitor to avoid integer overflow for the 'maxInactiveInterval' value.
Now the maximum value that can be used in web.xml is 35791394 (= Integer.MAX_VALUE / 60).