I
tomcat-users.xml
following line: <user name="tomcat-admin" password="mypassword" roles="manager,admin" />
and 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).
What is the correct way to install the Tomcat6 manager application in EC2 linux?
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.
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 .
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.
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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With