jQuery in Action, 3rd edition
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 REST with Spring (video course) this week in the Spring 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: 4541

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
subject: Apache Tomcat issue
It's not a secret anymore!