I'm running a Wicket 6.x
application hosted on a Jboss EAP 6.2
server.
My web.xml
file contains:
<session-config>
<session-timeout>20</session-timeout>
</session-config>
This would suggest a session timeout of 20 minutes. However, the actual timeout is much, much lower. I haven't pinned down a precise timing, but I can tell you that even after only 5 minutes the session is already expired. When I refresh the page, it gets re-initialized and all its state is gone.
Can I make this timeout longer? How is it controlled?
After additional testing, turns out the problem was the timeout time of the EJB pools:
Changing the value to 20 minutes solved the problem