Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm deploying a .jar file to a tomcat instance (we're running 6.0.18 on Redhat linux) and according to the log output the old .jar is still being used. I've restarted everthing I can think of, have deleted the work directory etc.etc. but to no avail. I'm no tomcat expert, so here's my question: where should I look for to ascertain if tomcat is using a cached jar and how should I prevent it from doing so?

share|improve this question

1 Answer 1

up vote 3 down vote accepted
  1. Stop tomcat, $TOMCAT_HOME/bin/catalina.sh stop
  2. Delete the work and temp directories, rm -rf $TOMCAT_HOME/{temp,work}/*
  3. Start tomcat, $TOMCAT_HOME/bin/catalina.sh start
share|improve this answer

Your Answer

 
discard

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.