It's not a secret anymore!*
The moose likes Tomcat and the fly likes Apache Tomcat issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic

Apache Tomcat issue

Dennis Ehiobu

Joined: Feb 15, 2011
Posts: 2
I have just installed Apache Tomcat, my environment variables are as follows




when I go to http://localhost:8080/ it works but when I click on "Tomcat Manager" I get a GUI pop up wiht

The A user name and password are being requested by http://localhost:8080. The site says: "Tomcat Manager Application" and also requesting password to "Manager-gui".
my password does not work, even if I have edited the C:\apache-tomcat-6.0.32\conf\tomcat_user file and added:

<role rolename="manager-gui"/>
<user username="tomcat" password="s3cret" roles="manager-gui"/>
Can anyone help please.

[Thumbnail for login screen apache.png]

Matthew Brown

Joined: Apr 06, 2010
Posts: 4338

I think the rolename needs to be "manager" (the other built in one is "admin", so try that one if "manager" doesn't work).

The other problem is that you appear to be logging in with the username "manager-gui", when that's a role, not a username. "tomcat" is the username, according to that snippet.

Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Regards, Rene Larsen
Dropbox Invite
Don't get me started about those stupid light bulbs.
subject: Apache Tomcat issue
Similar Threads
Tomcat 6.0.32 HTTP Status 403 - Access to the requested resource has been denied
Unable to login to manager GUI
problem whith installation Tomcat
Configure tomcat6
Unable to access Tomcat Manager Application(http://localhost:8080/manager