Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

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.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat