此内容没有您所选择的语言版本。
16.3. Configure the HTTP Timeout per Application
The HTTP session timeout defines the period after which a HTTP session is considered to have become invalid because there was no activity within the specified period.
The HTTP session timeout can be configured in several places. In order of precedence these are:
- Application - defined in the application's
web.xmlconfiguration file. - Server - specified via the
default-session-timeoutattribute. - Default - 30 minutes.
Procedure 16.1. Configure the HTTP Timeout per Application
- Edit the application's
WEB-INF/web.xmlfile. - Add the following configuration XML to the file, changing
30to the desired timeout (in minutes).<session-config> <session-timeout>30</session-timeout> </session-config>
<session-config> <session-timeout>30</session-timeout> </session-config>Copy to Clipboard Copied! Toggle word wrap Toggle overflow - If you modified the WAR file, redeploy the application. If you exploded the WAR file, no further action is required because JBoss EAP will automatically undeploy and redeploy the application.