opensubscriber
   Find in this group all groups
 
Unknown more information…

t : tomcat-user@jakarta.apache.org 6 November 2004 • 3:57AM -0500

RE: sessionS info persistence when restart Tomcat
by Ben Souther

REPLY TO AUTHOR
 
REPLY TO GROUP




On Fri, 2004-11-05 at 14:53, Mark wrote:
> The object stored in the session must implement serializable
> interface, right? Or any Java Class object can be stored in the
> session and persistence manager will take care how to save and
> restore it?
It must implement Serializable and any nested objects must implement
Serializable.


>
> --- Ben Souther <bsouther@fwdc...> wrote:
>
> > > aha. so it looks like it's something I screwed up ;)
> > >
> > I don't know. I just know that, in my case, the object that I put
> > into
> > session survives restarts. The easiest way to test things like
> > this, for
> > me, is to write a small test app and run it on a fresh install of
> > Tomcat. If it works there then I start comparing with my app.
> >
> >
> > > out of interest, does contextDestroyed work on that platform?
> > >
> > It does, I tested on win2k as a service, from the start menu items,
> > and
> > with the .bat scripts.  I also tested on FC2 and RH73. In all cases
> > contextDestroyed was called.
> >
> > -Ben
> >
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jaka...
> > For additional commands, e-mail:
> > tomcat-user-help@jaka...
> >
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Check out the new Yahoo! Front Page.
> www.yahoo.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jaka...
> For additional commands, e-mail: tomcat-user-help@jaka...
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jaka...
For additional commands, e-mail: tomcat-user-help@jaka...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.