-
1. Re: Session persistance + workflow
nickarls Apr 30, 2013 3:11 AM (in response to smysnk)I'm not aware of any such mechanism - even if would exist I think it would be a bit unreliable. One option is using JRebel or some other classloader-magic-util. Or then use Arquillian or some other tool to do the boring stuff ;-)
-
2. Re: Session persistance + workflow
sfcoy Apr 30, 2013 8:28 AM (in response to nickarls)Believe it or not WebSphere does this.
It serializes active sessions to a store when an application is stopped and reinstates it when the application is restarted.
-
3. Re: Session persistance + workflow
jaikiran Apr 30, 2013 9:49 AM (in response to sfcoy)JBoss AS used to do it (via a configuration option) in older versions. The current version doesn't support it though, from what I remember.
-
4. Re: Session persistance + workflow
jaikiran Apr 30, 2013 9:50 AM (in response to jaikiran)jaikiran pai wrote:
JBoss AS used to do it (via a configuration option) in older versions. The current version doesn't support it though, from what I remember.
Actually, I'm not 100% sure. I'll have to dig out some mails or look at the code to see whether or not it's supported.
-
5. Re: Session persistance + workflow
smysnk May 1, 2013 8:20 AM (in response to jaikiran)After some googling I did see a property could be set on VM arguments, "-Dorg.apache.catalina.session.StandardManager=session.ser". After starting up AS7 I saw that it was creating a file by that name at ./standalone/tmp/work/jboss.web/default-host/service/session.ser
However after re-starting the server my sessions still did not seem to be persisting, so not sure where to go next on that one... But after checking out JRebel, that's the game changer I was looking for, thanks!