Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keeping HTTP session between redeploys in WildFly

Is possible to keep HTTP session between redeploys on WildFly?

like image 988
cassiomolin Avatar asked Dec 19 '14 16:12

cassiomolin


1 Answers

You might try configuring session persistence. Here is a blog on how to do it.

<servlet-container name="default">
    <persistent-sessions path="session" relative-to="jboss.server.temp.dir"/>
    <jsp-config/>
</servlet-container>

However, it seems that this feature is available startinng from v8.2. I'll quote a note from this blog

You can also achieve session passivation, when you are using a non-ha profile, by adding <distributable/> to your web.xml (for those using WildFly 8.1.0 or less).

like image 121
Predrag Maric Avatar answered Nov 15 '22 04:11

Predrag Maric