• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

netbeans bundled with tomcat

 
Michael Carlson
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat works fine and I can deploy web apps, but when I try to access the admin console, It says unrecognized username or password. I tried adding manager role in the conf tomcat-user.xml, any ideas.
Thanks
Os fedora 4
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34839
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Michael,
Since this is about the Tomcat console, I'm moving it to our Tomcat forum.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The manager role is for the manager. What do you mean by 'console'? And can you post your tomcat-users.xml? Maybe it's a simple typo?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you see this thread:
http://www.coderanch.com/t/86389/Tomcat/username-password-tomcat-manager
from this week?

In it there is copy of a working tomcat-users.xml file
 
Michael Carlson
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My user file is just like the one in the previous thread. View admin console page.
 
Michael Carlson
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm just trying to access the tomcat web server administation tool.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps your copy of Tomcat is configured to use another source of user names? Look in the server.xml configuration file for entries containing the word "UserDatabase".

Bill
 
Matt Lilley
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to modify the tomcat-users.xml file in the users' Tomcat base dir,

<userhome>\.netbeans\5.0\jakarta-tomcat-5.5.9_base\conf\tomcat-users.xml

, not the one in IDE installation dir.

C:\Program Files\netbeans-5.0\enterprise2\jakarta-tomcat-5.5.9\conf

e.g. edit this:

C:\Documents and Settings\<user>\.netbeans\5.0\jakarta-tomcat-5.5.9_base\conf\tomcat-users.xml
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic