Thanks Craig, Glad to know I can add a servlet without having to
restart the entire server! I'll try a redeploy for the next servlet I
add. 

As for the sessions, prior to installing this servlet, they were in
fact getting dropped each time I reloaded with the manager. I was
forced to login again with every start-stop. Could this be because the
webapp was strictly JSP, with no servlet component? 




--- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
> 
> 
> On Mon, 25 Feb 2002, August Detlefsen wrote:
> 
> > Date: Mon, 25 Feb 2002 15:24:31 -0800 (PST)
> > From: August Detlefsen <[EMAIL PROTECTED]>
> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>,
> >      [EMAIL PROTECTED]
> > To: Tomcat Users List <[EMAIL PROTECTED]>
> > Subject: What does manager do anyway?
> >
> > Can I use manager to pick up changes in my webapp's web.xml?
> >
> > I added a new servlet and tried stop-start via the manager and it
> was
> > not picked up. Likewise with manager/reload.
> >
> > Do I have to do a full remove-install for it to pick up the
> changes?
> >
> 
> Yes.  That's a current restriction of the way that an application
> reload
> is implemented (in org.apache.catalina.core.StandardContext), not of
> the
> manager webapp servlet itself.
> 
> > Also, isn't stopping and starting a context supposed to remove any
> > active sessions in the context?
> >
> 
> No (and this works across shutting down and restarting Tomcat as
> well).
> As a matter of fact, if your session attributes are Serializable,
> they will get saved and restored as well.  This is a tremendously
> helpful
> feature when you're debugging a webapp that takes multiple
> interactions to
> get to the page you're testing, you make a change, and don't want to
> take
> the time to navigate from the top of your application's tree again.
> 
> Note, however, that this is a *Tomcat* feature, not anything required
> by
> the specs, so you cannot count on it on any other server.
> 
> > -August
> 
> Craig
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to