Hi 
I have tried with user test

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
  <role rolename="tomcat"/>
  <role rolename="role1"/>
  <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="admin" roles="admin,manager,tomcat"/>
  <user username="teste" password="teste" roles="manager"/>
</tomcat-users>

but I still have the same problems . After trying to connect three times to:

Site: 127.0.0.1 
Port : 8080
Realm : XDB
Username=test
Password=test

I receive as answer:
Unauthorized

Should I stop and restart Tomcat Server after adding a new user to
tomcat-users.xml?

Datamanagement S.p.A
Ing.Daniela Marangoni
Via S. Cavina 7 - 48100 Ravenna
Tel: 0544 503505
Cell: 3473553749
[EMAIL PROTECTED]


-----Messaggio originale-----
Da: Davide Romanini [mailto:[EMAIL PROTECTED] 
Inviato: venerdì 27 ottobre 2006 11.22
A: Tomcat Users List
Oggetto: Re: PROBLEMS CONNECTING TO TOMCAT MANAGER

Il giorno ven, 27/10/2006 alle 10.39 +0200, Daniela Marangoni ha
scritto:
> Hi 
> 
> Although I have installed Tomcat 5.5 using the default directory the
> installation gives me and have defined password as you can see on the
> attached file 
> 
> When I try to connect to Tomcat Manager I receive the message
> 
> "Unauthorized"  when connecting to http://127.0.0.1:8080/
> 
> what should be the problem?
> 
> Can you help me?
> 
> Thank you!
> 

You should try to connect using a user with "manager" role (in your file
the only one is the user "admin").

Ciao,
Davide Romanini


---------------------------------------------------------------------
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