[jboss-user] [Beginners Corner] - How to keep user sessions active when restarting the server/

jbossuser13 do-not-reply at jboss.com
Mon Jun 18 04:54:29 EDT 2007


We want to update our application running on jboss frequently while users are actually online working whith it.

Has anybody out there done this?

I tried to achieve it by subclassing org.apache.catalina.session.PersistentManagerBase and org.apache.catalina.session.StoreBase to save the objects in the HTTP session to a file and implementing org.jboss.ejb3.cache.StatefulCache to save my stateful session beans to files.

The problem with this approach is, that when activating the passivated SFSBs (which use seam for bijection) in the @PostActivate method the seam-injected objects are not available. But in order to restore the state of the bean this objects are needed.

Is there a better way?

BTW: We use jboss 4.0.5 GA with myfaces, hibernate and seam.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055114#4055114

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055114



More information about the jboss-user mailing list