I know there are many of similar questions like mine. However, I spend two days exploring these questions and no one works for me.
I have Apache Tomcat 7.0.59 installed on my laptop. I can access my Apps that I developed but I can't access the manager. I got this error:
HTTP Status 404 - /manager/html
type Status report
message /manager/html
description The requested resource is not available.
I use this url to access it: http://localhost:8080/manager/html
I changed the tomcat-users.xml and server.xml as I found in the web, but still does not work.
Here is my tomcat-users.xml
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<role rolename="manager-gui"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="admin" password="tomcat" roles="manager,manager-gui"/>
Here is my server.xml
<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
-->
<Engine name="Catalina" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.MemoryRealm" />
<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->
Could anyone help me? why give me this error? Is there anything wrong with the url?
The problem happened because I was running the Tomcat from the Eclipse. I start it again from the terminal (command line) and the problem solved.
Thank you Andreas for help.