Este contenido no está disponible en el idioma seleccionado.

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.xml configuration file.
  • Server - specified via the default-session-timeout attribute.
  • Default - 30 minutes.

Procedure 16.1.  Configure the HTTP Timeout per Application

  1. Edit the application's WEB-INF/web.xml file.
  2. Add the following configuration XML to the file, changing 30 to the desired timeout (in minutes).
    <session-config>
      <session-timeout>30</session-timeout>
    </session-config>
    Copy to Clipboard Toggle word wrap
  3. 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.
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat