| Author |
changed the config file but still not working
|
Jatin sachdev
Ranch Hand
Joined: Jan 21, 2010
Posts: 57
|
|
<!--
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="standard"/>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="admin" password="tomcat" roles="standard,manager,admin"/>
-->
i have changed the file like this but still its not working when i enter
username :admin
pasword :tomcat
|
 |
Hauke Ingmar Schmidt
Rancher
Joined: Nov 18, 2008
Posts: 371
|
|
|
Have you entered it EXACTLY as in your listing? You are aware of the meaning of "<!--" in XML?
|
 |
Jatin sachdev
Ranch Hand
Joined: Jan 21, 2010
Posts: 57
|
|
yes.....
<!-- this is comment
|
 |
Hauke Ingmar Schmidt
Rancher
Joined: Nov 18, 2008
Posts: 371
|
|
Not exactly.
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14475
|
|
Did you enable the MemoryRealm in the Tomcat server.xml file?
tomcat-users.xml isn't used by Tomcat, it's used by the security realm plugin, and if the plugin isn't enabled - or some other security realm plugin is managing the app, the tomcat-users.xml file won't even be read, much less used.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
|
And even if it is read, anything that's commented out is just a comment!
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14475
|
|
Bear Bibeault wrote:And even if it is read, anything that's commented out is just a comment!
That, too!
|
 |
Jatin sachdev
Ranch Hand
Joined: Jan 21, 2010
Posts: 57
|
|
Thanks for your reply.
I have downloaded the older the version 5.5.3 .
This older version of Tomcat is now working.
Thanks......
|
 |
 |
|
|
subject: changed the config file but still not working
|
|
|