[jboss-as7-dev] Session restore?
Remy Maucherat
rmaucher at redhat.com
Fri Jul 1 10:20:13 EDT 2011
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
More information about the jboss-as7-dev
mailing list