dcsimg
How can I restart a Servlet without restarting Tomcat?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Tijana_Milicevic
Posted On:   Thursday, October 25, 2001 03:29 AM

I'm developing a Servlet (on Tomcat) and a couple of other developers are using the same Tomcat for other things.


My servlet is in tomcat/lib/ (on Linux)and it has to be there. Is there a way to change my servlet and start it again without disturbing the others?


What is 'automatic servlet reloading' and does it apply to my case?

Re: How can I restart a Servlet without restarting Tomcat?

Posted By:   Alex_Chaffee  
Posted On:   Saturday, November 3, 2001 08:56 PM

RTFM. Tomcat should / might reload servlets if you change the class file. Read the docs and do the tests.


Stuff in TOMCAT_HOME/lib will not be automatically reloaded by Tomcat.I will bet you a dollar that your servlet doesn't really have to be there. Try putting it in WEB-INF/lib where it belongs according to the spec. It will be happier there.

About | Sitemap | Contact