Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Apache Tomcat issue

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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.
login-screen-apache.png
[Thumbnail for login-screen-apache.png]
Login screen
 
Bartender
Posts: 4568
9
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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.

 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
https://coderanch.com/t/547436/Tomcat/Login-Tomcat-Manager-Fails-Locahost
 
    Bookmark Topic Watch Topic
  • New Topic