*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "netbeans bundled with tomcat" Watch "netbeans bundled with tomcat" New topic
Author

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.
Thanks
Os fedora 4
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30076
    
149

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


[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: 15299
    
    6

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
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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


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
Rancher

Joined: Mar 22, 2000
Posts: 12760
    
    5
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

Joined: Nov 08, 2006
Posts: 1
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: netbeans bundled with tomcat
 
Similar Threads
Error reading resource Hibernate
This weeks giveaway
SSL + Servlet
Absolute path for jsp
Should I make my servlet sleep?