简体   繁体   中英

Why session-timeout doesn't work in JBoss

i use JBoss 7.0 EAP and PrimeFaces 6.1

In my web.xml i used

<session-config>
    <session-timeout>-1</session-timeout>
</session-config>

And

<session-config>
    <session-timeout>1440</session-timeout>
</session-config>

But JBoss with both configurations close my sessions in 40 seconds all the time.

In file standalone.xml from JBoss the session timeout is configured default with 30 minutes, i try change it but my sessions is the same, 40 seconds

In other servers, even JBoss 7.0 EAP installed in my computer my sessions is work fine, but in my server productive the problem persist

i left this job a long time ago, but this error is because a balancer intermediate into users and appserver, all the configuration on JBoss has never taken effect because balancer, just configurate balancer and fix this. Thanks all

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM