wood burning stoves*
The moose likes Tomcat and the fly likes What's the initial username/password for Tomcat administration? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "What Watch "What New topic
Author

What's the initial username/password for Tomcat administration?

Nigel Chou
Ranch Hand

Joined: Oct 11, 2001
Posts: 47
I have installed tomcat 4.1.31 on my WindowsXP. I browse Tomcat home page: http://127.0.0.1:8080/index.jsp, and then click Tomcat Administration. It goes to http://127.0.0.1:8080/admin/login.jsp. What's the username and password to this page?


SCJP for Java 2, SCWCD, SCMAD
Craig Jackson
Ranch Hand

Joined: Mar 19, 2002
Posts: 405
I believe by default the role of "Admin" and/or "Manager" is not setup, this is something you will have to do, by adding an 'admin' user and defining your own username and password. This is done by modifying the $CATALINA_HOME/conf/tomcat-users.xml file.

Here is an example:


Nigel Chou
Ranch Hand

Joined: Oct 11, 2001
Posts: 47
Originally posted by Craig Jackson:
I believe by default the role of "Admin" and/or "Manager" is not setup, this is something you will have to do, by adding an 'admin' user and defining your own username and password. This is done by modifying the $CATALINA_HOME/conf/tomcat-users.xml file.

Here is an example:




It works.
Thank you.
Harinath Kuntamukkala
Ranch Hand

Joined: May 17, 2005
Posts: 37
User Name: admin
Password: admin (or) both are blank
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

"Harinath",

There aren't may rules that have been put into place here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: What's the initial username/password for Tomcat administration?
 
Similar Threads
Tomcat login problem
Using Connection Pool To Access MySQL Database On Tomcat
Tomcat Home Page
Running JBuilder8 with Jakarta Tomcat: can't view the Tomcat Admin application
cannot login in tomcat adim