Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can I install Tomcat Manager without reinstalling Tomcat?

OS: windows XP.

I already have a working Tomcat 7.0.25 installation and the folder "manager" is in the webapps folder.

I have read the documentation here: http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html and is talking about already installed manager.

I have already set the manager-gui role to the user.

The problem is that if I access the manager using http://localhost/manager, I only get a white page (no content), if I try https://localhost/manager, I get a 404 error.

Any clue?

A link to download the manager application would also be useful.

like image 554
Pierpaolo Avatar asked Jun 22 '12 13:06

Pierpaolo


2 Answers

If you want access to the GUI, then you'll have to use the URL http://localhost:8080/manager/html/. There is nothing configured to respond to requests to / which is why you are seeing a blank screen. The URL required to use the Manager's GUI is clearly documented in the Manager's documentation on the Tomcat website.

like image 163
Christopher Schultz Avatar answered Nov 18 '22 07:11

Christopher Schultz


You can install the manager or the host-manager without reinstalling tomcat by simply copying the directories of the applications from the installation package to the webapps directory and settings the correct permisions.

chown -R tomcat:tomcat apache-tomcat-xx-yy/webapps/*
cp -r apache-tomcat-xx-yy/webapps/* $APACHE_HOME/webapps/

Even if the questions is quite old and probably @Pierpaolo problem was different, I think it's usefull to share this info since it is a possible solution to the specific question of this thread.

like image 37
Panciz Avatar answered Nov 18 '22 05:11

Panciz