File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes netbeans bundled with tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "netbeans bundled with tomcat" Watch "netbeans bundled with tomcat" New topic

netbeans bundled with tomcat

Michael Carlson
Ranch Hand

Joined: Sep 11, 2005
Posts: 78
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.
Os fedora 4
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32016

Since this is about the Tomcat console, I'm moving it to our Tomcat forum.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

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?

GenRocket - Experts at Building Test Data
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Did you see this thread:
from this week?

In it there is copy of a working tomcat-users.xml file

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Michael Carlson
Ranch Hand

Joined: Sep 11, 2005
Posts: 78
My user file is just like the one in the previous thread. View admin console page.
Michael Carlson
Ranch Hand

Joined: Sep 11, 2005
Posts: 78
I'm just trying to access the tomcat web server administation tool.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12951
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".

Matt Lilley

Joined: Nov 08, 2006
Posts: 1
You need to modify the tomcat-users.xml file in the users' Tomcat base dir,


, 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
I agree. Here's the link:
subject: netbeans bundled with tomcat