I am not sure, but in WEB-INF/orion-web.xml, did you make sure the setting
for development is set to true? Also, I think ALL session objects must
implement serializable for this to work. I am having problems too. I don't
know why, but my objects implement serializable and whenever I recompile the
code, Orion tries to reload the app but I get class cast exceptions. I
always have to restart.


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Lawrence
> Sent: Monday, August 07, 2000 9:12 PM
> To: Orion-Interest
> Subject: ServletSession's and Servlet Reloading
>
>
>
> Orion 1.1.37 (as well as all other versions as far as I remember) lose the
> Servlet Session whenever a servlet is reloaded.
>
> Why is this?  Is this an issue with how classloaders are used?  This makes
> working with complex sessions very difficult to test and debug since each
> time I recompile a servlet, I'll lose the session when that servlet is
> reloaded.  Other servers do not destroy the session (Websphere
> for instance)
> when reloading servlets.  Have I missed something or is there a
> setting that
> prevents this from happening?
>
>


Reply via email to