tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugen Kuleshov <a...@hco.kollegienet.dk>
Subject Re: Servlet reloading?
Date Sat, 12 Feb 2000 19:15:01 GMT
yanni wrote:
 
> > > There is a partial implementation, it should work for development if you
> > > don't do something special - I have no ideea how it interacts with Session
> > > objects or context attributes ( which are already loaded by the old class
> > > loader), but it should work at the same level as JServ ( the code is just
> > > cut&paste from there and the logic is the same ).
> > Costin, you'll want to do one of two things for the sessions to avoid class cast
> > errors:
> >
> > * Persist them to session store before reloading, then load them again.
> >
> > * Just kill them all.
> 
> NOOOOO. I spent many many many many weeks getting this right in Apache
> JServ. Look at my code. There is a whole process that is done to serialize
> and de-serialize everything that needed to be serialized.

  What about situation when some session saved classes changed?
  What about situation when reloaded servlets changing execution logic?
I mean new servlets no more needs (or needs another) data in session.
  Maybe better way is killing all session data for new servlets.

  Eugen Kuleshov.

Mime
View raw message