Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Nigel Chou
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Craig Jackson
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
User Name: admin
Password: admin (or) both are blank
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic