• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Cannot login to Admin App in Tomcat 5.5.7

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

i downloaded and installed the Admin App, as described in an earlier post on this forum: https://coderanch.com/t/84805/Tomcat/Cannot-Tomcat-Admin-App-tp

When i try to login using http://localhost/admin/login.jsp, a username and password is asked.

The question is: what to fill in ?

There is a line in the ../Tomcat5.5/conf/tomcat-users.xml file that goes like:
<user username="admin" password="" roles="admin,manager"/>
This is the default setting that comes with the installation. It suggests filling in a blank as password, but that doesn't work.

Thanks in advance for answer,

Rolf.
 
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I haven't used the Admin package maybe twice. So, I believe the default userName/password for Admin and Manager access are "admin" and "".

What tomcat is suggesting that you do for security reasons, is determine your own user/password for either the admin or manager screens or both.



Once you have done this, I believe you must restart tomcat for the changes to take effect.
 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to play a bit with the file

conf/tomcat-users.xml

create a new user and put him in the admin group



 
Author
Posts: 531
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I have tomcat 5.5.7 installed and i used (first time after installing Admin JMX console) the username and password i used for tomcat manager
and it works , i suggest ou use the user/password of your tomcat manager for administration console
hope it helps
 
R. Peeters
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thx.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic