Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

JBoss EAP HTTP セッションが設定した時間に有効期限切れ、またはタイムアウトになりません

Solution Verified - Updated -

Issue

  • セッションの有効期限をアプリケーションの web.xml に指定しましたが、実際にセッションが無効になる時間が一定ではないようです。数時間たってもアクティブな状態の場合もあります。web.xml では以下のようになっています。

    <session-config>
        <session-timeout>30</session-timeout>
    </session-config>
    
  • セッションの timeout 値になっても、Jboss が有効期限が切れたセッションを削除しません。

  • 一部のアプリケーションでは、セッションの有効期限が設定よりも早くに切れます。エンドユーザーは、事前に定義している 30 分よりも早くセッションから出されます。2 分で出されることもあります。これは、ランダムで起こっているようです。

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.