File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

Apache Tomcat issue

 
Dennis Ehiobu
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • 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
Login screen
[Thumbnail for login screen apache.png]
 
Matthew Brown
Bartender
Posts: 4549
8
Java Netbeans IDE Scala
  • 1
  • Mark post as helpful
  • send pies
  • 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.

 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic