Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes forget the tomcat credentials Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "forget the tomcat credentials" Watch "forget the tomcat credentials" New topic
Author

forget the tomcat credentials

arekonda ramesh babu
Ranch Hand

Joined: Apr 11, 2006
Posts: 35
hai

iam installed tomcat5.0.

during installation,it asked for admin username" " password" ".

i forget right now, what i entered that time.

where this information located, to retrive back.

what can i do now

James Ward
Ranch Hand

Joined: Apr 27, 2003
Posts: 263
Look at <TOMCAT_HOME>\conf\tomcat-users.xml.
You can find your info. there, and even reset, create new users etc. Look at the roles as well.
arekonda ramesh babu
Ranch Hand

Joined: Apr 11, 2006
Posts: 35
hai

this is i found when i verifyied in tomcat-user.xml

<tomcat-users>
<role rolename="tomcat" />
<role rolename="role1" />
<role rolename="manager" />
<role rolename="admin" />
<user username="tomcat" password="tomcat" roles="tomcat" />
<user username="role1" password="tomcat" roles="role1" />
<user username="both" password="tomcat" roles="tomcat,role1" />
<user username="admin" password="" roles="admin,manager" />
</tomcat-users>

so is it

username and password both are tomcat

if not suggest me which one

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61623
    
  67

Hint: there is only one user in that file that has admin role and it's not tomcat.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: forget the tomcat credentials