Hello again SANGAMESHWAR
In the servlet.xml config file you will see the
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
The autoDeploy="true" means the sevlet will reload if anything is changed
under WEB-INF
So if you drop another library class in, or say change web.xml, that
servlet will restart WHEN IT IS IDLE.
If you have a thread running in a background process, then I dont think it
will ever restart.
Its clever but it does mean Tomcat has to rev up all over again and on a
busy server thats probably not a good thing.
Other alternative is to make a plugin, and load up the classes yourself...
maybe able to find a standard one, if writing a classloader seems like too
much work.
Or you can try my software HARBOR at http://coolese.100free.com/ it allows
you to control the reloading of classes.
Just out of curiosity, why is it that your beans need to change... why
couldnt you just have them read from a dB or somthing?
----- Original Message -----
From: "SANGAMESHWAR ALLADI" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Thursday, March 15, 2007 2:02 PM
Subject: how to configure the tomcat to automatically update class instances
when a class file changed
hi,
my class files of beans regularly changes.
So,everytime i change a class file, i need to restart the tomcat server.
how can i configure Tomcat to watch the changes in the class files of
beans?
Thanks in Advance,
Sangmaeshwar.A
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]