but there is a chance of disturbing users if something that is stored in the session is not serializable.
reloadable will indeed replace old version with new one, servlet once it detects the changes. but using reloadable=true is not suggested in the production mode (it takes some CPU time). but even this has a chance of disturbing your users. (can't think of a good example, but there is a chance of getting a null pointer exception).
At 01:48 PM 5/29/2003, you wrote:
your sessions will be serialized, saved and when restarted brought back into memory.
filip
> -----Original Message----- > From: Michael Muratet [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 29, 2003 11:46 AM > To: [EMAIL PROTECTED] > Subject: Reloading class file without disturbing users? > > > Greetings > > I haven't found the answer to this in the documentation. > > I have a jsp that invokes an instance of a java object. I would like to > modify the java file and have the change take effect without > interrupting any users that are on the system. If use the > manager/reload?/path method to reload the application, will it interrupt > any active sessions? (The documentation does say it will shut down the > application. That sounds like the sessions die, but maybe they're > handled at a higher level.) > > If I put reload=true in the context definition in server.xml, will the > application then reload class files in the path /WEB-INF/classes when it > detects there is a more current version? Or does this just apply to > servlets and jsps? > > Thanks > > Mike > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
________________ Vladimer Shioshvili
QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814
Phone: (301) 657 3077 ext. 155
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
