you have specified "some_user" multiple times, it should only have 1 entry per username.

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="some_user" password="some_user123" roles="admin,manager,tomcat,role1"/>
</tomcat-users>


Khurram H Khan wrote:
Hello everyone,

I have sent an email before regarding tomcat manager. And the issue was that I could not use the same username and password to start/stop a webapp using http://IP_ADDRESS/manager/stop?path=/My_WebAp . And it keeps popping up an input box for username and password. I have the same username and password for the admin webapp and it works. But this username and password does not work for the manager webapp even though I have the same username and password. Let me give you the content of my tomcat-users.xml which are the following:

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
 <role rolename="tomcat"/>
 <role rolename="role1"/>
 <role rolename="manager"/>
 <role rolename="admin"/>
 <user username="some_user" password="some_user123" roles="tomcat"/>
 <user username="some_user" password="some_user123" roles="role1"/>
<user username="some_user" password="some_user123" roles="tomcat,role1"/> <user username="some_user" password="some_user123" roles="admin,manager"/>
</tomcat-users>

Username some_user and password some_user123 work for admin but tomcat keeps popping up an input box for the manager. Any idea why is this case? What am I doing wrong here?

Regards
Khurram

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to