• Post Reply 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

netbeans bundled with tomcat

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Michael,
Since this is about the Tomcat console, I'm moving it to our Tomcat forum.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you see this thread:
https://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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm just trying to access the tomcat web server administation tool.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic