tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Pfeiffer <adamcpfeif...@yahoo.com>
Subject RE: Answer: Reloading classes WITHOUT using shutdown.sh & startup.sh (newbies should read)
Date Wed, 05 Jun 2002 16:06:40 GMT
The for the clarification.  I didn't realize that it was doing all of the initializtion events.

Adam

--- "Shapira, Yoav" <Yoav.Shapira@mpi.com> wrote:
> Howdy,
> Reloading the whole-app is very different from selectively reloading a
> set of classes.  When you use the manager to reload as you suggest, you
> will also re-trigger the various initialization events (filters,
> servlets, etc.). 
> 
> If that's what you want to do, then the manager reload is excellent.  I
> personally like it a lot.
> 
> However, if you want to reload just a specific class in place, that's
> more tricky.  You'll probably have to subclass the ClassLoader itself to
> do what you want.
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> >-----Original Message-----
> >From: Mike Millson [mailto:mgm@atsga.com]
> >Sent: Wednesday, June 05, 2002 12:01 PM
> >To: Tomcat Users List
> >Subject: RE: Answer: Reloading classes WITHOUT using shutdown.sh &
> >startup.sh (newbies should read)
> >
> >You could also set reloadable="true" in the Context element, but that
> >requires significant overhead and is not recommended for production
> >environments.
> >
> >Mike
> >
> >-----Original Message-----
> >From: Adam Pfeiffer [mailto:adamcpfeiffer@yahoo.com]
> >Sent: Wednesday, June 05, 2002 11:37 AM
> >To: tomcat-user@jakarta.apache.org
> >Subject: Answer: Reloading classes WITHOUT using shutdown.sh &
> >startup.sh (newbies should read)
> >
> >
> >I have been on this list for about a month and have see this question
> many
> >time (myself included).
> > I have finally figured out how you can get a class to reload (e.g.
> >Included
> >JavaBean) without
> >having to stop/start tomcat using shutdown.sh and startup.sh.  First,
> >follow
> >the directions in
> >"Manager App HOW-TO" included with the tomcat documentation.  Once this
> is
> >done, you can use the
> >manager app reload function to reload the web app.  This also refreshes
> any
> >newly compiled classes
> >(e.g. javabeans) that you may have included in the JSPs.  To use the
> >reload,
> >do the following:
> >
> >http://<IP Address>/manager/reload?path=<web app>
> >
> >You can also use the manager to deploy new web apps, un-deploy web
> apps,
> >start/stop web apps.
> >This may be common sense to those tomcat veterans, but this was very
> >helpful
> >to me once I learned
> >how to use it.
> >
> >Adam
> >
> >P.S.  If I have made any errors, please correct me.  Thanks.
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Yahoo! - Official partner of 2002 FIFA World Cup
> >http://fifaworldcup.yahoo.com
> >
> >--
> >To unsubscribe, e-mail:
> ><mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> >For additional commands, e-mail:
> ><mailto:tomcat-user-help@jakarta.apache.org>
> >
> >
> >
> >--
> >To unsubscribe, e-mail:   <mailto:tomcat-user-
> >unsubscribe@jakarta.apache.org>
> >For additional commands, e-mail: <mailto:tomcat-user-
> >help@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message