Running the application locally timeout works, but when I put the application in the cloud I get this The requested resource is not available
error message after the time runs out.
What am I doing wrong for my application that gives error only in the cloud and works locally?
In the web.xml file the timeout is defined as follows:
<session-config>
<session-timeout>2</session-timeout>
</session-config>
In the cloud, after the timeout, this screen is displayed:
But when I run the same application locally this error does not occur, the user is redirected to the login screen as it should be done.