Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Login and Password for Tomcat 7 |
|
Author |
|
samchan
Joined: 05 Dec 2010 Posts: 3
|
Posted: Sun 05 Dec '10 13:12 Post subject: Login and Password for Tomcat 7 |
|
|
I am unable to get A username and password requested by http://127.0.0.1:8080. "Tomcat Manager Application"
I created userid and password in tomcat-users.xml but still does not help.
Kindly help |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7404 Location: EU, Germany, Next to Hamburg
|
Posted: Mon 06 Dec '10 1:41 Post subject: |
|
|
did you define the roles?
roles="admin,manager" |
|
Back to top |
|
samchan
Joined: 05 Dec 2010 Posts: 3
|
Posted: Mon 06 Dec '10 13:40 Post subject: Hi James ! Still no help ! please help ! |
|
|
This what I have added, anything incorrect !
<!--
<role rolename="manager-script"/>
<user username="sam" password="chan" roles="admin,manager"/>
--> |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7404 Location: EU, Germany, Next to Hamburg
|
Posted: Mon 06 Dec '10 15:23 Post subject: |
|
|
You need to remove the <!-- and --> else it doesn't work cause it is commented out  |
|
Back to top |
|
irsh
Joined: 09 Oct 2012 Posts: 1 Location: India
|
Posted: Tue 09 Oct '12 20:51 Post subject: Tomcat 7 UserName and Password |
|
|
C:\Tomcat 7.0\conf open in notepad => "tomcat-users.xml"
Add following lines in above file :-
<tomcat-users>
<role rolename="manager-gui"/>
<user username="admin" password="" roles="manager-gui"/>
<role rolename="admin-gui"/>
<user username="tomcat" password="s3cret" roles="admin-gui"/>
</tomcat-users>
**Note :
1.) "admin-gui" -> Username & Password - Do not Change.
2.) "manager-gui" -> you can change user name & password for this only. [Here password is not given]
By, Irshad Khan |
|
Back to top |
|
|
|
|
|
|