HTTP Session Passivation

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

WildFly-Specific Implementation

WildFly-Specific Configuration

WildFly-specific HTTP session passivation configuration can be specified in jboss-web.xml in the <passivation-config> section. All the following configuration elements are optional:

<jboss-web>
    ...
    <passivation-config>
        <use-session-passivation>true</use-session-passivation>
        <passivation-min-idle-time>900</passivation-min-idle-time>
        <passivation-max-idle-time>1800</passivation-max-idle-time>
    </passivation-config>
    ...
</jboss-web>

Configuration Elements

use-session-passivation

passivation-min-idle-time

passivation-max-idle-time