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

I want to reload (or restart) one specific web application on an Apache Tomcat (6 or 7) server without Tomcat Manager or the automatic Reloadable attribute. Using the manager would give again another security risk, and reloadable attribute does not work when you need to upload/copy large files since it already reloads when the upload has not yet finished.

Being root, it should be easy to reload a specific web application, instead of doing a Tomcat service restart (which reloads every web application on it), right?

share|improve this question
up vote 2 down vote accepted

Use JMX, and only allow attaching from localhost.

share|improve this answer

Using the manager would give again another security risk

What security risk are you talking about?

wget --http-user=user \
     --http-password=password \
     -q -O - http://localhost:8080/manager/reload?path=/examples

share|improve this answer
The security risk is that there is an extra username/password login open to the internet. The advantage is you can do remotely managing, but I don't need that, so it's just an extra security risk. Also, I need to have an extra password to 'remember', and the password is sent in plaintext over the connection. – Yeti Nov 6 '14 at 8:16

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.