Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Tomcat6 manager application

I

  • installed Tomcat6 on EC2 micro-instance,
  • then added to tomcat-users.xml following line: <user name="tomcat-admin" password="mypassword" roles="manager,admin" /> and
  • finally tried to access the manager application at http://myhost:8080/manager.

This didn't work - I got the 404 error message. http://myhost:8080/manager/html doesn't work, either.

Then I looked into the directory var/lib/tomcat6/webapps and found no manager directory there (see below).

enter image description here

What is the correct way to install the Tomcat6 manager application in EC2 linux?

like image 396
Dmitrii Pisarenko Avatar asked Apr 11 '13 19:04

Dmitrii Pisarenko


People also ask

How do I get to Tomcat Manager?

The default path to load the Tomcat Manager application is http://localhost:8080/manager/html. You will be prompted to enter the username and password that was stored in tomcat-users.

How do I get to the manager app in Tomcat 10?

The Tomcat Host Manager application is a part of Tomcat installation, by default available using the following context: /host-manager . You can use the host manager in the following ways: Utilizing the graphical user interface, accessible at: {server}:{port}/host-manager/html .

What is Tomcat Manager application?

In a nutshell, the Tomcat Manager App is a web application that is packaged with the Tomcat server and provides us with the basic functionality we need to manage our deployed web applications.


2 Answers

I fixed the problem by removing Tomcat 6 and installing Tomcat 7 according to this tutorial using following command line statement:

sudo yum install tomcat7-webapps tomcat7-docs-webapp tomcat7-admin-webapps

like image 193
Dmitrii Pisarenko Avatar answered Sep 21 '22 18:09

Dmitrii Pisarenko


Just download Tomcat (zip version) and upload the manager directory to your servers webapp directory. It only contains jsp so there is no need for an installation. Btw: If you are looking for a really great tomcat manager tool you can check PsiProbe.

like image 30
Stefan Avatar answered Sep 20 '22 18:09

Stefan