0

When I try to access the manager app on my Tomcat server I run into HTTP 404 status:

The requested resource is not available.

To gain access to the manager app I did the following:

Edited the [TOMCAT_HOME]/conf/tomcat-users.xml and created a new user:

<tomcat-users xmlns="http://tomcat.apache.org/xml"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd" version="1.0">
  <role rolename="admin-gui"/>
  <role rolename="manager-gui"/>
  <user username="admin" password="password" roles="manager-gui,admin-gui"/>
</tomcat-users>

Edited the [TOMCAT_HOME]/webapps/manager/META-INF/context.xml and allowed access from anywhere:

<Context antiResourceLocking="false" privileged="true" >
  <!--<Valve className="org.apache.catalina.valves.RemoteAddrValve"
     allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" />-->
</Context>

Then I restarted my Tomcat server. I can enter the http://server_domain_or_IP:8080 page but when I click on the link to the manager webapp, I'm faced with the HTTP 404 status.

dur
  • 15,689
  • 25
  • 79
  • 125

0 Answers0