Tomcat 5.5.29 does not accept connections from outside

2010-05-07 Thread Eyrignoux Marc
Hi all,

I have installed Tomcat 5.5.29 on Windows 2008 as a service.
It works fine on the computer where I installed it: http://localhost:8080/, 
http://localhost:8080/admin, http://localhost:8080/manager/html, 
http://localhost:8080/myWebApp answer well.

But when I try to access it from any other computer of the local private 
network, I get a Connection failed error, ie. the URLs http://myServer:8080/, 
http://myServer:8080/admin, etc... do not respond.

NB:
- the firewall is inactive on the server and on the clients
- my configuration is basic: no AJP, no proxy, no cluster, I call Tomcat 
directly on the default ports
- I tried a telnet myServer 8080, which did not work
- I tried to install Tomcat 5.5.17 instead of Tomcat 5.5.29, and it worked !! 
ie. the URLs http://myServer:8080/, http://myServer:8080/admin, etc... DO  
respond !!

Is there a security restriction since Tomcat 5.5.17 ?
I read the security archives of Tomcat 5.5, but found nothing.

Thanks in advance,
Marc.





-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re : Tomcat 5.5.29 does not accept connections from outside

2010-05-07 Thread Eyrignoux Marc

What happens if you start Tomcat from the startup.bat script intomcat/bin, from 
a 5.5.29* .zip version?

= The same: it works on the computer, but not on the local network
= NB: I only unzipped the archive and launched the server: this is the 
simplest configuration ever.


* Why install 5.5 when you can install 6.0?

= because I have to: my client wants Tomcat 5.5.29.
Anyway, it is a very basic configuration which works with Tomcat 5.5.17, but 
not with Tomcat 5.5.29.





 Hi all,
 
 I have installed Tomcat 5.5.29 on Windows 2008 as a service.
 It works fine on the computer where I installed it: http://localhost:8080/, 
 http://localhost:8080/admin, http://localhost:8080/manager/html, 
 http://localhost:8080/myWebApp answer well.
 
 But when I try to access it from any other computer of the local private 
 network, I get a Connection failed error, ie. the URLs 
 http://myServer:8080/, http://myServer:8080/admin, etc... do not respond.
 
 NB:
 - the firewall is inactive on the server and on the clients
 - my configuration is basic: no AJP, no proxy, no cluster, I call Tomcat 
 directly on the default ports
 - I tried a telnet myServer 8080, which did not work
 - I tried to install Tomcat 5.5.17 instead of Tomcat 5.5.29, and it worked !! 
 ie. the URLs http://myServer:8080/, http://myServer:8080/admin, etc... DO  
 respond !!
 
 Is there a security restriction since Tomcat 5.5.17 ?

Nope.

 I read the security archives of Tomcat 5.5, but found nothing.

What happens if you start Tomcat from the startup.bat script in
tomcat/bin, from a 5.5.29* .zip version?


p


* Why install 5.5 when you can install 6.0?

 Thanks in advance,
 Marc.
 
 




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re : Tomcat 5.5.29 does not accept connections from outside

2010-05-07 Thread Eyrignoux Marc

Thank you for the answer, but I think it is not a network problem:

nslookup epigonesrv11 answers correctly on my computer:
Nom :epigonesrv11.epigonedom.dom
Address:  192.168.0.6


ping epigonesrv11 answers also correctly (with some french in it):
Envoi d'une requête 'ping' sur EPIGONESRV11.epigonedom.dom [192.168.0.6] avec 
32 octets de données :


Réponse de 192.168.0.6 : octets=32 temps1ms TTL=128
Réponse de 192.168.0.6 : octets=32 temps1ms TTL=128
Réponse de 192.168.0.6 : octets=32 temps=1 ms TTL=128
Réponse de 192.168.0.6 : octets=32 temps1ms TTL=128

Statistiques Ping pour 192.168.0.6:
Paquets : envoyés = 4, reçus = 4, perdus = 0 (perte 0%),
Durée approximative des boucles en millisecondes :
Minimum = 0ms, Maximum = 1ms, Moyenne = 0ms



But telnet epigonesrv11 8080 answers that connection on port 8080 is 
impossible:
Connexion à epigonesrv11...Impossible d'ouvrir une connexion à l'hôte, sur le 
port 8080: Échec lors de la connexion




As I explained anyway, all the firewalls are inactive, AND I can establish a 
connection with Tomcat 5.5.17 BUT not with Tomcat 5.5.29.
All my installs are the simplest ever (always next in .exe installer; only 
unzip and launch startup.bat with zip distrib). I tried the windows .exe 
installers of Tomcat 5.5.17 and Tomcat 5.5.29, and the zip distributions of 
Tomcat 5.5.17 and Tomcat 5.5.29, and:
- my computer contacts Tomcat 5.5.17 on port 8080 (either when installed by a 
zip or an exe)
- my computer does not contact Tomcat 5.5.29 on port 8080
- Tomcat 5.5.29 is running, since it is accessible from the local server (I log 
on the server, and call http://localhost:8080, and I get the admin console)









 Hi all,
 
 I have installed Tomcat 5.5.29 on Windows 2008 as a service.
 It works fine on the computer where I installed it: http://localhost:8080/, 
 http://localhost:8080/admin, http://localhost:8080/manager/html, 
 http://localhost:8080/myWebApp answer well.
 
 But when I try to access it from any other computer of the local private 
 network, I get a Connection failed error, ie. the URLs 
 http://myServer:8080/, http://myServer:8080/admin, etc... do not respond.
 
 NB:
 - the firewall is inactive on the server and on the clients
 - my configuration is basic: no AJP, no proxy, no cluster, I call Tomcat 
 directly on the default ports

This :
 - I tried a telnet myServer 8080, which did not work

That would tend to indicate that you have a problem which has nothing to do 
with Tomcat, but has to do with either
- the DNS (name resolving of myServer does not give the IP address of your 
host)
OR
- something is blocking remote access to your host on port 8080

and this :
 - I tried to install Tomcat 5.5.17 instead of Tomcat 5.5.29, and it worked !! 
 ie. the URLs http://myServer:8080/, http://myServer:8080/admin, etc... DO  
 respond !!
 
contradicts the above.
There is a puzzle there..

To find out if there is a problem with name resolution, do this :
on the same workstation where you tried the telnet command, enter
nslookup myServer

it should tell you the IP address of that host.  If it does not, you have a DNS 
issue.

To find out if there is a general network issue between the workstation and the 
server, do
ping myServer


In general however, instead of saying it did not work, try to be a bit more 
specific.  What exactly happens when you do
telnet myServer 8080

Don't be afraid to paste the original error message here, we're polyglots.  We 
even have mind-readers, but they appear to be on vacation right now.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re : Re : Tomcat 5.5.29 does not accept connections from outside

2010-05-07 Thread Eyrignoux Marc

Hi,

The same as http://epigonesrv11:8080 : it works with Tomcat 5.5.17, but not 
with Tomcat 5.5.29.
Fortunately, the install / uninstall procedure is rather quick ;o)

Thx,
Marc.


--



Marc,

what gives if you call http://192.168.0.6:8080?

Rgds

Gregor




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re : Re : Tomcat 5.5.29 does not accept connections from outside

2010-05-07 Thread Eyrignoux Marc

Hi,

Here is the output of the command [ netstat -an | find 8080 ] on different 
configurations:

- With Tomcat 5.5.29:

  TCP[::]:8080  [::]:0 LISTENING

- With Tomcat 5.5.29, after accessing it via IE8, with http://localhost:8080:

  TCP[::]:8080  [::]:0 LISTENING
  TCP[::1]:8080 [::1]:61956ESTABLISHED
  TCP[::1]:8080 [::1]:61957ESTABLISHED
  TCP[::1]:61956[::1]:8080 ESTABLISHED
  TCP[::1]:61957[::1]:8080 ESTABLISHED

- With Tomcat 5.5.17:

  TCP0.0.0.0:8080   0.0.0.0:0  LISTENING
  TCP[::]:8080  [::]:0 LISTENING

- With Tomcat 5.5.17, after accessing it via IE8, with http://localhost:8080:

  TCP0.0.0.0:8080   0.0.0.0:0  LISTENING
  TCP[::]:8080  [::]:0 LISTENING
  TCP[::1]:8080 [::1]:62008ESTABLISHED
  TCP[::1]:8080 [::1]:62009ESTABLISHED
  TCP[::1]:62008[::1]:8080 ESTABLISHED
  TCP[::1]:62009[::1]:8080 ESTABLISHED

As you can see, there is a difference:   TCP0.0.0.0:8080   
0.0.0.0:0  LISTENING is present with Tomcat 5.5.17, but not with 
Tomcat 5.5.29.
Does it explain my problem ?











Marc, if you start up a command prompt and run:

netstat -an | find 8080

... what do you get?  In particular, I'm interested to know whether the port
that's listening is bound to *:8080 or to something like 127.0.0.1:8080.

- Peter

On 7 May 2010 11:56, Eyrignoux Marc eyrig...@yahoo.fr wrote:


 Thank you for the answer, but I think it is not a network problem:

 nslookup epigonesrv11 answers correctly on my computer:
 Nom :epigonesrv11.epigonedom.dom
 Address:  192.168.0.6


 ping epigonesrv11 answers also correctly (with some french in it):
 Envoi d'une requête 'ping' sur EPIGONESRV11.epigonedom.dom [192.168.0.6]
 avec 32 octets de données :


 Réponse de 192.168.0.6 : octets=32 temps1ms TTL=128
 Réponse de 192.168.0.6 : octets=32 temps1ms TTL=128
 Réponse de 192.168.0.6 : octets=32 temps=1 ms TTL=128
 Réponse de 192.168.0.6 : octets=32 temps1ms TTL=128

 Statistiques Ping pour 192.168.0.6:
Paquets : envoyés = 4, reçus = 4, perdus = 0 (perte 0%),
 Durée approximative des boucles en millisecondes :
Minimum = 0ms, Maximum = 1ms, Moyenne = 0ms



 But telnet epigonesrv11 8080 answers that connection on port 8080 is
 impossible:
 Connexion à epigonesrv11...Impossible d'ouvrir une connexion à l'hôte, sur
 le port 8080: Échec lors de la connexion




 As I explained anyway, all the firewalls are inactive, AND I can establish
 a connection with Tomcat 5.5.17 BUT not with Tomcat 5.5.29.
 All my installs are the simplest ever (always next in .exe installer;
 only unzip and launch startup.bat with zip distrib). I tried the windows
 .exe installers of Tomcat 5.5.17 and Tomcat 5.5.29, and the zip
 distributions of Tomcat 5.5.17 and Tomcat 5.5.29, and:
 - my computer contacts Tomcat 5.5.17 on port 8080 (either when installed by
 a zip or an exe)
 - my computer does not contact Tomcat 5.5.29 on port 8080
 - Tomcat 5.5.29 is running, since it is accessible from the local server (I
 log on the server, and call http://localhost:8080, and I get the admin
 console)






 


  Hi all,
 
  I have installed Tomcat 5.5.29 on Windows 2008 as a service.
  It works fine on the computer where I installed it:
 http://localhost:8080/, http://localhost:8080/admin,
 http://localhost:8080/manager/html, http://localhost:8080/myWebApp answer
 well.
 
  But when I try to access it from any other computer of the local private
 network, I get a Connection failed error, ie. the URLs
 http://myServer:8080/, http://myServer:8080/admin, etc... do not respond.
 
  NB:
  - the firewall is inactive on the server and on the clients
  - my configuration is basic: no AJP, no proxy, no cluster, I call Tomcat
 directly on the default ports

 This :
  - I tried a telnet myServer 8080, which did not work

 That would tend to indicate that you have a problem which has nothing to do
 with Tomcat, but has to do with either
 - the DNS (name resolving of myServer does not give the IP address of
 your host)
 OR
 - something is blocking remote access to your host on port 8080

 and this :
  - I tried to install Tomcat 5.5.17 instead of Tomcat 5.5.29, and it
 worked !! ie. the URLs http://myServer:8080/, http://myServer:8080/admin,
 etc... DO  respond !!
 
 contradicts the above.
 There is a puzzle there..

 To find out if there is a problem with name resolution, do this :
 on the same workstation where you tried the telnet command, enter
 nslookup myServer

 it should tell you the IP address of that host.  If it does not, you have a
 DNS issue.

 To find out if there is a general network issue between

Re : Re : Re : Tomcat 5.5.29 does not accept connections from outside

2010-05-07 Thread Eyrignoux Marc


Hi Charles,

 You can try setting the address attribute of your Connector 
elements to 0.0.0.0 to force IPv4.

It works, thank you 
NB: Other people might experience the same problem. I don't know where it comes 
from, may be from an interaction between Windows Server 2008 and Tomcat 5.5.29 ?

Thank you again,
Marc.

NB: for the other questions:
- Nothing interesting in the logs
- I use the same JDK for both 5.5.17 and 5.5.29: j2sdk1.5.0_16
- -Djava.net.preferIPv4Stack=true didn't help
- my server.xml is the one installed by default with Tomcat, without any 
changes (but the 0.0.0.0 which I have just added). I don't paste it here 
since the problem is solved, and I don't want to spam you with long emails.











 From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
 Subject: RE: Re : Re : Tomcat 5.5.29 does not accept connections from
 outside
 
 It appears to be listening only on IPv6, not IPv4.
 
 Check the logs for 5.5.29 to see if anything interesting is being
 reported.
 
 Post your server.xml, preferably with comments removed and passwords
 obfuscated.
 
 You can try setting the address attribute of your Connector elements
 to 0.0.0.0 to force IPv4.

Also, are you using the same JVM for both 5.5.17 and 5.5.29?  Do you have any 
command line parameters set?  You can try setting:

-Djava.net.preferIPv4Stack=true

to see if that helps.

- 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


  

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re : Re : Re : Re : Tomcat 5.5.29 does not accept connections from outside

2010-05-07 Thread Eyrignoux Marc


 C'est au pied du mur qu'on voit le mieux le mur.



- Message d'origine 
De : Jeffrey Janner jeffrey.jan...@polydyne.com
À : Tomcat Users List users@tomcat.apache.org
Envoyé le : Ven 7 mai 2010, 20h 26min 07s
Objet : RE: Re : Re : Re : Tomcat 5.5.29 does not accept connections from 
outside

Marc -
Do you have the native libraries installed?
What are their releases Tomcat 5.5.17 vs. 5.5.29?
To find out, explore to the Tomcat 5.5\bin directory and right-click on 
tcnative-1.dll.
Look at the Details tab and see what it has for file version.
Jeff

-Original Message-
From: Eyrignoux Marc [mailto:eyrig...@yahoo.fr] 
Sent: Friday, May 07, 2010 9:25 AM
To: Tomcat Users List
Subject: Re : Re : Re : Tomcat 5.5.29 does not accept connections from outside



Hi Charles,

 You can try setting the address attribute of your Connector 
elements to 0.0.0.0 to force IPv4.

It works, thank you 
NB: Other people might experience the same problem. I don't know where it comes 
from, may be from an interaction between Windows Server 2008 and Tomcat 5.5.29 ?

Thank you again,
Marc.

NB: for the other questions:
- Nothing interesting in the logs
- I use the same JDK for both 5.5.17 and 5.5.29: j2sdk1.5.0_16
- -Djava.net.preferIPv4Stack=true didn't help
- my server.xml is the one installed by default with Tomcat, without any 
changes (but the 0.0.0.0 which I have just added). I don't paste it here 
since the problem is solved, and I don't want to spam you with long emails.











 From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
 Subject: RE: Re : Re : Tomcat 5.5.29 does not accept connections from
 outside
 
 It appears to be listening only on IPv6, not IPv4.
 
 Check the logs for 5.5.29 to see if anything interesting is being
 reported.
 
 Post your server.xml, preferably with comments removed and passwords
 obfuscated.
 
 You can try setting the address attribute of your Connector elements
 to 0.0.0.0 to force IPv4.

Also, are you using the same JVM for both 5.5.17 and 5.5.29?  Do you have any 
command line parameters set?  You can try setting:

-Djava.net.preferIPv4Stack=true

to see if that helps.

- 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


  

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



***  NOTICE  *
This message is intended for the use of the individual or entity to which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient, 
you are hereby notified that any dissemination, distribution, or copying 
of this communication is strictly prohibited.  If you have received this 
communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.





-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re : Re : Re : Re : Re : Tomcat 5.5.29 does not accept connections from outside

2010-05-07 Thread Eyrignoux Marc

Hi Jeff,

Good guess: I had always the native libraries installed on Tomcat 5.5.29.
For Tomcat 5.5.17, it depends: for the 2 firsts installs, I installed the 
native libraries. But the dll wouldn't download for the next ones, so I pressed 
cancell, and they didn't install.
Anyway, the connection with Tomcat 5.5.17 always worked from outside computers 
(with and without the native libraries).
There was not this download problem with Tomcat 5.5.29: I guess the dll came 
within the install of Tomcat 5.5.29.
I am not at work until monday, I will give you the version numbers then.

Sorry for c'est au pied du mur...: I pressed the wrong button.

See you,
Marc.










Marc -
Do you have the native libraries installed?
What are their releases Tomcat 5.5.17 vs. 5.5.29?
To find out, explore to the Tomcat 5.5\bin directory and right-click on 
tcnative-1.dll.
Look at the Details tab and see what it has for file version.
Jeff

-Original Message-
From: Eyrignoux Marc [mailto:eyrig...@yahoo.fr] 
Sent: Friday, May 07, 2010 9:25 AM
To: Tomcat Users List
Subject: Re : Re : Re : Tomcat 5.5.29 does not accept connections from outside



Hi Charles,

 You can try setting the address attribute of your Connector 
elements to 0.0.0.0 to force IPv4.

It works, thank you 
NB: Other people might experience the same problem. I don't know where it comes 
from, may be from an interaction between Windows Server 2008 and Tomcat 5.5.29 ?

Thank you again,
Marc.

NB: for the other questions:
- Nothing interesting in the logs
- I use the same JDK for both 5.5.17 and 5.5.29: j2sdk1.5.0_16
- -Djava.net.preferIPv4Stack=true didn't help
- my server.xml is the one installed by default with Tomcat, without any 
changes (but the 0.0.0.0 which I have just added). I don't paste it here 
since the problem is solved, and I don't want to spam you with long emails.











 From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
 Subject: RE: Re : Re : Tomcat 5.5.29 does not accept connections from
 outside
 
 It appears to be listening only on IPv6, not IPv4.
 
 Check the logs for 5.5.29 to see if anything interesting is being
 reported.
 
 Post your server.xml, preferably with comments removed and passwords
 obfuscated.
 
 You can try setting the address attribute of your Connector elements
 to 0.0.0.0 to force IPv4.

Also, are you using the same JVM for both 5.5.17 and 5.5.29?  Do you have any 
command line parameters set?  You can try setting:

-Djava.net.preferIPv4Stack=true

to see if that helps.

- 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


  

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



***  NOTICE  *
This message is intended for the use of the individual or entity to which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient, 
you are hereby notified that any dissemination, distribution, or copying 
of this communication is strictly prohibited.  If you have received this 
communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.





-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org