RE: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Caldarale, Charles R
> From: Daniela Marangoni [mailto:[EMAIL PROTECTED] 
> Subject: R: R: PROBLEMS CONNECTING TO TOMCAT MANAGER
> 
> Do you I need to define 8080 on file services located on the 
> directory:
> Winnt\system32\drivers??

No.  But, ping will not tell you if a specific port is blocked by your
Windows firewall.

Let's get back to basics: do you see the Tomcat welcome page when
entering http://localhost:8080?  If not, then it's likely the Windows
firewall installed on your system that is disabling traffic on that
port.  Use the firewally GUI to make that port valid.

Also, when Tomcat is running, what does netstat -a say about ports being
listened to?

Are you using a standard Tomcat download?  Are there any other changes
you have made to it besides adding the userids?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Re: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Davide Romanini
Il giorno ven, 27/10/2006 alle 11.31 +0200, Daniela Marangoni ha
scritto:
> Hi 
> I have tried with user test
> 
> 
> 
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 
> 
> 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
> 

Usually this error is generated because of the
 in
${catalina.home}/server/webapps/manager/WEB-INF/web.xml. Have you tried
to remove the constraint to see if you can access without any
user/password?

What about the admin application? Do you have the same problem with that
or does it work?

Check also that:
  * in conf/server.xml there's a GlobalNamingResource named
UserDatabase (org.apache.catalina.UserDatabase) referencing the
file conf/tomcat-users.xml
  * the default service/engine contains a Realm of type
org.apache.catalina.realm.UserDatabaseRealm referencing the
UserDatabase above.
  * the file conf/[your-engine]/localhost/manager.xml contains a
ResourceEnvRef referencing the UserDatabse above (to be honest
this should not be an issue with authentication, but... just to
be sure).

Ciao,
Davide Romanini

Ciao,
Davide Romanini


signature.asc
Description: Questa è una parte del messaggio	firmata digitalmente


R: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Daniela Marangoni
I have tried to stop and restart service but I still have the same error.
About the user I have tried with user teste not test as I said on my e-mail.

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


-Messaggio originale-
Da: David Smith [mailto:[EMAIL PROTECTED] 
Inviato: venerdì 27 ottobre 2006 11.43
A: Tomcat Users List
Oggetto: Re: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

Yes, when using the memory realm (tomcat-users.xml), bounce tomcat on 
every change.  Also (and this might be a typo in the email) use username 
and password 'teste' as entered in the tomcat-users.xml.  You said below 
you tried the username and password 'test'.

--David

Daniela Marangoni wrote:
> Hi 
> I have tried with user test
>
> 
> 
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 
>
> 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]
>
>   


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



Re: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread David Smith
Yes, when using the memory realm (tomcat-users.xml), bounce tomcat on 
every change.  Also (and this might be a typo in the email) use username 
and password 'teste' as entered in the tomcat-users.xml.  You said below 
you tried the username and password 'test'.


--David

Daniela Marangoni wrote:
Hi 
I have tried with user test




  
  
  
  
  
  
  
  
  


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]

  



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



R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Daniela Marangoni
Hi 
I have tried with user test



  
  
  
  
  
  
  
  
  


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]



Re: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Davide Romanini
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


signature.asc
Description: Questa è una parte del messaggio	firmata digitalmente


R: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Daniela Marangoni
Do you I need to define 8080 on file services located on the directory:
Winnt\system32\drivers??

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


-Messaggio originale-
Da: Stephan Schöffel [mailto:[EMAIL PROTECTED] 
Inviato: venerdì 27 ottobre 2006 10.55
A: Tomcat Users List
Oggetto: Re: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

ping localhost


>How can I see if the localhost
>is locked?
>  
>


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



R: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Daniela Marangoni
My localhost is not locked because when i ping it , I receive:

Pinging serveruni [127.0.0.1] with 32 bytes of data:

Reply from 127.0.0.1: bytes=32 time<10ms TTL=128
Reply from 127.0.0.1: bytes=32 time<10ms TTL=128
Reply from 127.0.0.1: bytes=32 time<10ms TTL=128
Reply from 127.0.0.1: bytes=32 time<10ms TTL=128

Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum =  0ms, Average =  0ms

What could be the problem?

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


-Messaggio originale-
Da: Stephan Schöffel [mailto:[EMAIL PROTECTED] 
Inviato: venerdì 27 ottobre 2006 10.55
A: Tomcat Users List
Oggetto: Re: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

ping localhost


>How can I see if the localhost
>is locked?
>  
>


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



Re: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Stephan Schöffel

ping localhost



How can I see if the localhost
is locked?
 




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



R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Daniela Marangoni
I don't think so because if I install it on a local computer I don't have
any problems in connecting to Tomcat. Do you think that any upgrade of
Windows2000 could have locked the localhost? How can I see if the localhost
is locked?

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


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

Hello Daniela,
there are no firewall there in your system that lock the localhost? Did 
you check that?

Cheers
Roberto

Montefiore SA
CH-6934 Lugano-Bioggio



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!
>
>  
>
> INSTALLATION
>
> Windows Server 2000 Service Pack4
>
> Defined 
>
> JAVA_HOME= c:\Program Files\Java\jdk1.5.0_06\
>
> TOMCAT_HOME=C:\Program Files\Apache Software Foundation\Tomcat 5.5
>
> Ho aggiunto alla PATH sia la JAVA_HOME sia la TOMCAT_HOME
>
>  
>
> Rimango in attesa di una vostra risposta
>
>  
>
> Datamanagement S.p.A
>
> Ing.Daniela Marangoni
>
> Via S. Cavina 7 - 48100 Ravenna
>
> Tel: 0544 503505
>
> Cell: 3473553749
>
> [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]



Re: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Roberto Marra

Hello Daniela,
there are no firewall there in your system that lock the localhost? Did 
you check that?


Cheers
Roberto

Montefiore SA
CH-6934 Lugano-Bioggio



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!

 


INSTALLATION

Windows Server 2000 Service Pack4

Defined 


JAVA_HOME= c:\Program Files\Java\jdk1.5.0_06\

TOMCAT_HOME=C:\Program Files\Apache Software Foundation\Tomcat 5.5

Ho aggiunto alla PATH sia la JAVA_HOME sia la TOMCAT_HOME

 


Rimango in attesa di una vostra risposta

 


Datamanagement S.p.A

Ing.Daniela Marangoni

Via S. Cavina 7 - 48100 Ravenna

Tel: 0544 503505

Cell: 3473553749

[EMAIL PROTECTED]

 



  


I: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Daniela Marangoni








I forgot to attach the
file

 



Datamanagement S.p.A

Ing.Daniela Marangoni

Via S. Cavina 7 - 48100 Ravenna

Tel: 0544 503505

Cell: 3473553749

[EMAIL PROTECTED]



 

-Messaggio originale-
Da: Daniela Marangoni
[mailto:[EMAIL PROTECTED] 
Inviato: venerdì 27 ottobre 2006
10.40
A: 'users@tomcat.apache.org'
Oggetto: PROBLEMS CONNECTING TO
TOMCAT MANAGER
Priorità: Alta

 

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!

 

INSTALLATION

Windows Server 2000 Service Pack4

Defined 

JAVA_HOME= c:\Program Files\Java\jdk1.5.0_06\

TOMCAT_HOME=C:\Program Files\Apache Software
Foundation\Tomcat 5.5

Ho aggiunto alla PATH sia la JAVA_HOME sia la TOMCAT_HOME

 

Rimango in attesa di una vostra risposta

 

Datamanagement S.p.A

Ing.Daniela Marangoni

Via S. Cavina 7 - 48100
Ravenna

Tel: 0544 503505

Cell: 3473553749

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

PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Daniela Marangoni
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!

 

INSTALLATION

Windows Server 2000 Service Pack4

Defined 

JAVA_HOME= c:\Program Files\Java\jdk1.5.0_06\

TOMCAT_HOME=C:\Program Files\Apache Software Foundation\Tomcat 5.5

Ho aggiunto alla PATH sia la JAVA_HOME sia la TOMCAT_HOME

 

Rimango in attesa di una vostra risposta

 

Datamanagement S.p.A

Ing.Daniela Marangoni

Via S. Cavina 7 - 48100 Ravenna

Tel: 0544 503505

Cell: 3473553749

[EMAIL PROTECTED]