wood burning stoves 2.0*
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
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic
Author

Apache Tomcat issue

Dennis Ehiobu
Greenhorn

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

CATALINA_HOME
C:\apache-tomcat-6.0.32

JAVA_HOME
C:\Progra~1\Java\jdk1.6.0_21

JRE_HOME
C:\Progra~1\Java\jre6


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
Bartender

Joined: Apr 06, 2010
Posts: 4343
    
    8

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

http://www.coderanch.com/t/547436/Tomcat/Login-Tomcat-Manager-Fails-Locahost


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