Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

One way is to put a dummy jar and let the hot-deploy handle it (loading the dummy jar instead of the real servlet). I wonder if there is an easier way without bothering with dummy jars (in JBoss maybe?)

share|improve this question

JBoss has a deployment scanner that will notice if you remove the jar, and undeploy.

share|improve this answer
Ok. And what about Tomcat ? – Jan 17 '10 at 16:17
You can accomplish the same effect with the tomcat manager,…. That will remove stop your webapp & remove all of its artifacts. – pra Jan 20 '10 at 0:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.