Howdy,
I would think creating a new user in tomcat-users.xml is simple enough.
It's not rolename="xxx" for a user, it's roles="x,y,z".

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Avoodaiyappan, Subbulakshmi
>[mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 20, 2003 3:59 AM
>To: '[EMAIL PROTECTED] '
>Cc: Avoodaiyappan, Subbulakshmi
>Subject: Tomcat Mager Application
>
>Hi,
>
>I have configured tomcat server on WINDOWS XP machine using the
>jakarta-tomcat-4.1.12 source. I am able to start the server and view
the
>tomcat's homepage with the url http://localhost:8080
>
>The problem is with the manager application. When i browse for the
Manager
>application with the url http://localhost:8080/manager, i get the pop
up
>window for authentication. If i enter the username as "admin" and
password
>as "admin" it is not accepting.
>
>Can you figure out where am goinf wrong?
>
>The excerpts of /conf/tomcat-users.xml
>
><?xml version='1.0' encoding='utf-8'?>
><tomcat-users>
>  <role rolename="admin"/>
>  <role rolename="manager"/>
>  <role rolename="tomcat"/>
>  <role rolename="role1"/>
>  <user username="admin" password="admin" rolename="manager"/>
>  <user username="admin" password="admin" rolename="admin"/>
>  <user username="tomcat" password="tomcat" roles="tomcat"/>
>  <user username="both" password="tomcat" roles="tomcat"/>
>  <user username="role1" password="tomcat" roles="role1"/>
></tomcat-users>
>
>
>____________________________________________
>Confidential:  This electronic message and all contents contain
information
>from Syntel, Inc. which may be privileged, confidential or otherwise
>protected from disclosure. The information is intended to be for the
>addressee only. If you are not the addressee, any disclosure, copy,
>distribution or use of the contents of this message is prohibited.  If
you
>have received this electronic message in error, please notify the
sender
>immediately and destroy the original message and all copies.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to