legacy-knowledge-base
公開されました Sep. 10, 2025

Liferay (Tomcat) のセッションタイムアウト時間の変更方法

written-by

Liferay Support

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Liferay (Tomcat) のセッションタイムアウト時間の変更方法

Resolution

設定手順

  1. アプリケーションサーバーを停止
  2. $TOMCAT_HOME/webapps/ROOT/WEB-INF/web.xmlを開き、以下のように変更して保存する
    ※初期値の30分から10分へ変更する例
    <!-- 変更前 -->
    <session-timeout>30</session-timeout>
    
    <!-- 変更後 -->
    <session-timeout>10</session-timeout>
  3. アプリケーションサーバーを起動
did-this-article-resolve-your-issue

legacy-knowledge-base