Tomcat context shutdown
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Dusan_Zamurovic
Posted On:   Saturday, December 29, 2007 10:41 AM

Hi, everyone...


I was wondering if there is possibility of shutting down only one tomcat context.
For example, situation would look similar to this one: I start Tomcat so all of deployed apps start at the same moment, but somehow I get the information that something is wrong with one of them (wrong licence) and I want to shut it down. Is it possible to shutdown only one application running on Tomcat, without shutting the entire Tomcat?


Thank you in advance for your answer.

Re: Tomcat context shutdown

Posted By:   Less_Zoa  
Posted On:   Saturday, January 5, 2008 08:49 PM

In your server.xml, comment out the context you don't want to use... example:





are the comment tags. Anything within those tags will be passed over.

Then restart your Tomcat and watch your log file. When you are ready to use that particular webapp again, just remove the comment tags.

About | Sitemap | Contact