[jboss-as7-dev] Session restore?

Max Andersen manderse at redhat.com
Sat Jul 2 05:08:34 EDT 2011


So a -D on as startup would allow this ?

I'll try. 

And this feature is about as evil as hot class replacement during debugging. Without that doing development on java/jee would be a chore no matter how fast your startup time is :)

/max (sent from my phone)


On 01/07/2011, at 16.20, 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.
> 
> -- 
> Remy Maucherat <rmaucher at redhat.com>
> Red Hat Inc
> 
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev



More information about the jboss-as7-dev mailing list