IDependOn-Set: 1
IDependOn-Set: 119
IDependOn-Set: 179
IDependOn-Set: 180
IDependOn-Set: 197
IDependOn-Set: 2
LastModifiedSecs: 927141596
Parent: 119
SequenceNumber: 2
Title: When I upload a new version of any servlet to the machine, all the current sessions get invalidated or erased...Is this a bug?
Part: 0
Author-Set: jon@working-dogs.com
HideAttributions: 1
LastModifiedSecs: 927141596
Type: monospaced
Lines: 35
----------
From: "Mike Varley" <mvarley@blastradius.com>
To: "Java Apache Users" <java-apache-users@list.working-dogs.com>
Subject: Re: session problem
Date: Wed, May 19, 1999, 8:42 AM


To quote Jason Hunter (Java Servlet, O'Reilly press):
"this is not a bug, its a feature.  Most servers automatically reload a
servlet after its class file (under the default servlet directory, such as
server_root/servlets) changes.  Its an on the fly upgrade procedure that
greatly speeds up the development-test cycle -- and allows for long server
up times."

When you upload a new servlet class, any persistant classes that were used
by that servlet also get reset.  I guess this includes sessions.  To the
best of my knowledge, there is no way to "turn this off".

hth

MV

----- Original Message -----
From: Brad Chesman <chess@webstakes.com>
To: Java Apache Users <java-apache-users@list.working-dogs.com>
Sent: Wednesday, May 19, 1999 8:23 AM
Subject: session problem


> I am using Jserv 1.0b4 and am having a slight problem with sessions.
> When I upload a new version of any servlet to the machine all the
> current sessions get invalidated or erased. Is this a bug? Can I change
> this in the config somehow?
>
> Brad Chesman
EndPart: 0
