sanxoom
asked on
tomcat - unable to access manager http://localhost:8080/manager/
I have an issue with tomcat. I'm on win 7.
I get an error on the following URL
http://localhost:8080/manager/
http://localhost:8080/manager/html
HTTP Status 404 -
type Status report
message
description The requested resource () is not available.
I have set up the "manager" user/role in the conf/tomcat-users.xml
tomcat starts successfully and the sample application work (e.g http://localhost:8080/sample/) but I cannot access http://localhost:8080/manager/.
thanks
I get an error on the following URL
http://localhost:8080/manager/
http://localhost:8080/manager/html
HTTP Status 404 -
type Status report
message
description The requested resource () is not available.
I have set up the "manager" user/role in the conf/tomcat-users.xml
tomcat starts successfully and the sample application work (e.g http://localhost:8080/sample/) but I cannot access http://localhost:8080/manager/.
thanks
does manager folder exists inside tomcat/webapps folder ?
ASKER
i'm new to java and tomcat. I don't think I have installed the admin console separately. do i need to?
I don't see a manger folder anywhere. there is a host-manager folder under web. manager.xml is in this folder. here s the contents of manager.xml and tomcat-users.xml
===================
manager.xml
===================
<!--
Context configuration file for the Tomcat Manager Web App
$Id: manager.xml 562814 2007-08-05 03:52:04Z markt $
-->
<Context docBase="${catalina.home}/ webapps/ma nager"
privileged="true" antiResourceLocking="false " antiJARLocking="false">
<ResourceLink name="users" global="UserDatabase"
type="org.apache.catalina. UserDataba se"/>
</Context>
===================
tomcat-users.xml
===================
<role rolename="manager" />
<role rolename="tomcat" />
<role rolename="admin" />
<role rolename="user" />
<role rolename="AllAuthenticated Users" />
roles="user,tomcat,admin,m anager,All Authentica tedUsers" />
<user username="tomcat" password="tomcat" roles="manager" />
</tomcat-users>
I don't see a manger folder anywhere. there is a host-manager folder under web. manager.xml is in this folder. here s the contents of manager.xml and tomcat-users.xml
===================
manager.xml
===================
<!--
Context configuration file for the Tomcat Manager Web App
$Id: manager.xml 562814 2007-08-05 03:52:04Z markt $
-->
<Context docBase="${catalina.home}/
privileged="true" antiResourceLocking="false
<ResourceLink name="users" global="UserDatabase"
type="org.apache.catalina.
</Context>
===================
tomcat-users.xml
===================
<role rolename="manager" />
<role rolename="tomcat" />
<role rolename="admin" />
<role rolename="user" />
<role rolename="AllAuthenticated
roles="user,tomcat,admin,m
<user username="tomcat" password="tomcat" roles="manager" />
</tomcat-users>
If manager folder inside webapps is not present, then that is the reason, why you are seeing 404.
You need to reinstall the tomcat server to get it back.
You need to reinstall the tomcat server to get it back.
ASKER
sorry there is a manager folder under host-manager
(C:\...\apache-tomcat-6.0. 29\webapps \host-mana ger\manage r)
i'm able to access the following URL. Its shows the "Tomcat Virtual Host Manager" console
http://localhost:8080/host-manager/html
however if i click on the "Server status" link there it takes me to "http://localhost:8080/manager/status". Here is get the 404 error - The requested resource () is not available.
Server Information:
Tomcat version: Apache Tomcat/6.0.29
JVM Version: 1.6.0_23-ea-b01
OS Name: Windows 7
ideally i do not want to reinstall due to some other dependency
appreciate greatly the responses so far
(C:\...\apache-tomcat-6.0.
i'm able to access the following URL. Its shows the "Tomcat Virtual Host Manager" console
http://localhost:8080/host-manager/html
however if i click on the "Server status" link there it takes me to "http://localhost:8080/manager/status". Here is get the 404 error - The requested resource () is not available.
Server Information:
Tomcat version: Apache Tomcat/6.0.29
JVM Version: 1.6.0_23-ea-b01
OS Name: Windows 7
ideally i do not want to reinstall due to some other dependency
appreciate greatly the responses so far
ASKER
also another thing to note
i get the 404 error on http://localhost:8080/host-manager/
(The requested resource (/host-manager/) is not available)
however I'm able to login to http://localhost:8080/host-manager/html using the admin username and password
i get the 404 error on http://localhost:8080/host-manager/
(The requested resource (/host-manager/) is not available)
however I'm able to login to http://localhost:8080/host-manager/html using the admin username and password
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
that worked. Thanks a lot. I moved the manager folder from the webapps/host-manager to webapps. Now the http://localhost:8080/manager/html is working (takes me to Tomcat Web Application Manager). The URL http://localhost:8080/manager still gives the 404 error though
Again, There is no default page for manager application too..
I am having a similar problem, what I see is
Tomcat 6.0\webapps\
docs
manager
root
and I am still getting the same error
Tomcat 6.0\webapps\
docs
manager
root
and I am still getting the same error
is the admin console for ur tomcat version is installed already