[jboss-as7-dev] Session restore?

Jason Greene jgreene at redhat.com
Fri Jul 1 13:05:36 EDT 2011


On Jul 1, 2011, at 9:20 AM, Remy Maucherat <rmaucher at redhat.com> wrote:

> On Fri, 2011-07-01 at 15:31 +0200, Max Rydahl Andersen wrote:
>> Hi,
>> 
>> Does AS7 support session restore on restart/redeploys ?
>> 
>> Now that AS7 is so fast I would like to automatically restart/redeploy a deployment when a class file change in it.
>> Pre-AS7 that was too expensive so was a manual operation.
>> 
>> If I enable it now I seem to loose session info - thus asking if there is a way to keep sessions alive to not loose
>> contexts etc? 
> 
> This feature is evil. Anyway, evildoers can allow session save by
> setting the "org.apache.catalina.session.StandardManager.PATHNAME"
> system property to something like "sessions.ser".
> 
> But I did get a report about classloading problems saving (or restoring)
> the said sessions, so it may not work that well.

What about passivation of old sessions? Too big of a perf hit?



More information about the jboss-as7-dev mailing list