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 have Tomcat 7 installed on Ubuntu 12.04, and I installed the package tomcat7-admin, which gave me two webapps: manager and host-manager. Then in the manager I accidentally undeployed the host-manager, and I can't seem to bring it back. I looked in the CATALINA_BASE/webapps, neither of the webapps is there. Reinstalling the package tomcat7-admin didn't do anything.

What should I do to bring back the host-manager webapp? There has to be some simple solution which I can't see myself.

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

You could try reinstalling all of Tomcat or simply download the latest ZIP file from http://tomcat.apache.org/download-70.cgi/ and copy webapps/host-manager to your existing Tomcat webapps dir.

UPD

Ubuntu 10.04 includes Tomcat 6 but I'm guessing Tomcat 7 is implemented in the same way.

The host-manager is installed in /usr/share/tomcat6-admin/host-manager which is referenced by /etc/tomcat6/Catalina/localhost/host-manager.xml. In there, I find:

<Context path="/host-manager"
    docBase="/usr/share/tomcat6-admin/host-manager"
    antiResourceLocking="false" privileged="true" />
share|improve this answer
    
I think the webapp is still there, it is just not deployed. I was thinking myself about deploying manually, but it is deployed in some tricky way, it is not in the webapps folder. manager is working fine from somewhere, not from webapps, host-manager was probably deployed the same way. Reinstalling everything would probably help, but that's a lot of work, I was hoping for something simpler than that. –  Malcolm Nov 7 '12 at 20:07
    
@Malcom, Please see update –  Alastair McCormack Nov 7 '12 at 20:35
    
That did the trick, thanks! –  Malcolm Nov 7 '12 at 20:59
add comment

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.