aspose file tools*
The moose likes Tomcat and the fly likes Unable to  get TomcatManager console Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Unable to  get TomcatManager console" Watch "Unable to  get TomcatManager console" New topic
Author

Unable to get TomcatManager console

udaykumar maddigatla
Ranch Hand

Joined: Feb 03, 2009
Posts: 69
HI

I installed Tomcat 5.0.29. when installation it asked for password for admin role and i provided.

Everything is success. Tomcat Has been started.

when i typed http://localhost:8080/ it shown the page . In that page when i clicked the TomcatManager it is giving error like below

[img]HTTP Status 403 - Access to the requested resource has been denied

--------------------------------------------------------------------------------

type Status report

message Access to the requested resource has been denied

description Access to the specified resource (Access to the requested resource has been denied) has been forbidden[/img]

it is not even asked me username and password to access the TomcatManager.

I also checked the tomcat-users.xml. The tomcat-users.xml file looks as below..

[img]<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<role rolename="admin"/>
<group groupname="standard" description="standard" roles="admin,manager,role1,tomcat"/>
<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="admin" fullName="admin" groups="standard" roles="manager"/>
</tomcat-users>[/img]


In above xml file i have a role called manager and also i have a user with assigned role(manager).

so what's wrong in my configuration. Is any other thing to do , to access TomcatManager. I'm able to access Admin console. Only problem with the TomcatManager console


SCJP 5.0(84%), SCWCD 5.0(97%), SCDJWS 5.0(98%)
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12683
    
    5
As I recall, the Manager app is not part of the normal Tomcat 5 download - you have to download and install it separately.

Check for the existance of the manager directory:

(tomcat)\server\webapps\manager

Bill


Java Resources at www.wbrogden.com
udaykumar maddigatla
Ranch Hand

Joined: Feb 03, 2009
Posts: 69
Hi Bill,

I installed the Tomcat 5.0.29. If we installed the tomcat 5.5 then separate admin and manager packages has to be install.

As of i know tomcat 5.0.29 comes with admin and manager packages.

I also checked the (tomcat)\server\webapps\manager . This folder is avaliable in installation folder along with admin too.

Please tell me what went wrong with my configuration.

Thanks in advance.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12683
    
    5
Sorry, I have been using Tomcat 5.5.9 for years and cant remember any peculiarities of 5.0

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to get TomcatManager console
 
Similar Threads
Regarding Authentication & Authorization
need help with declarative security
Login Problem in ""Tomcat Web Server Administration Tool"
Tomcat unable to access the list of applications running through TomcatManager
HTTP Status 403 Access to the requested resource has been denied