R: Re: R: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA

2010-06-06 Thread ago...@libero.it
HI  

for right knowledge
I am able, now, to reproduce the socket error that occur.

In my lan i have a proxy server (192.168.0.254)  so on  server win2003 on 
which i have tomcat5.5.28 (IP: 192..168.0.100) if i don't use in IE proxy 
configuration all it's ok but if i configure proxy server and port : if i don't 
specify a server IP(tomcat server) as exception (i.e example 192.168.0.100) i 
have the error on socket , meanwhile if i specy this IP i don't have a error.

  Now how can i configure Tomcat  so that it is insensible to proxy 
configuration on IE namely tomcat don't have a error on socket if i have or 
don't have  proxy configuration?
I already use Remote Address Filter on  server.xml but this isn't useful.
Best regards
Agostino

>Messaggio originale
>Da: p...@pidster.com
>Data: 05/06/2010 22.06
>A: "Tomcat Users List"
>Ogg: Re: R:  Re: intermittent SocketException on startup tomcat 5.5.28 and 
under JBOSS 4.2.3GA
>
>On 05/06/2010 20:56, ago...@libero.it wrote:
>> Thanks for replay.
>> I'm sorry 
>> I have missed e-mail regard server .xml with romment removed.
>> so I attached this file.
>> 
>> 
>> regard  i think that a mistake the 
correct 
>> form is in the file.
>> "SIT" is name of my application. 
>> 
>> 
>> I don't able to match timestamp of error whith a request because i don't 
know 
>> how to trace all request in tomcat conaitner. How can do it?
>
>Configure an access log.
>
> http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html
>
>
>p
>
>> I have essentially only catalina_log (with error)  and standard_out_log 
(in 
>> which i have application "SIT" stdout message).
>> Best regards
>> Agostino
>> 
>>> Messaggio originale----
>>> Da: p...@pidster.com
>>> Data: 05/06/2010 21.26
>>> A: "Tomcat Users List"
>>> Ogg: Re: R: Re: R: RE: Re: intermittent SocketException on startup 
tomcat 
>> 5.5.28 and under JBOSS 4.2.3GA
>>>
>>> On 05/06/2010 14:41, ago...@libero.it wrote:
>>>> Thanks 
>>>>
>>>> The question started in 
>>>> http://mail-archives.apache.org/mod_mbox/tomcat-users/201005.
mbox/thread?
>> 3
>>>> on same thread.
>>>>
>>>> Now i have reduce the number of user (about 50 user simultanely) on a   
>>>> win2003 ED quad processor with 8GB bram (I have tomcat 5.5.28, jdk.
1.6.16, 
>> IIS 
>>>> (with certificate instaled) on port 80 that redirect  request from port 
80 
>> to 
>>>> 8080 tomcat connector   server. Besides https request are directly 
managed 
>> from 
>>>> second connector, on port 443 of tomcat.)
>>>>
>>>> So  the error referred, sometime occours. In particular i have noted 
that 
>> this 
>>>> error rise when a lot user make  login in the application (  in a few 
>> second).
>>>> Probably  this may be depend from a lot tcp/ip connection, but, this 
>> using 
>>>> netstat -na not appear.
>>>> May be i must increase the number on maxTcpConnection on win2003 server 
>> and/or 
>>>> reduce tcpDelay.
>>>> Please give me a help to resolve the problem.
>>>> What tool i can use for investigate who cause socket close.
>>>>
>>>> The part of default server.xml of tomcat  that i have change(2 
connector 
>>>> configuration an docbase) is :
>>>
>>> I guess you missed the bit about "comments removed".
>>> Why not backup that file, and then create a server.xml with all of the
>>> comments removed?
>>>
>>>> ...
>>>>
>>>> 
>>>> >>> port="8080"maxHttpHeaderSize="8192"
>>>>maxThreads="350" minSpareThreads="50" maxSpareThreads="
100"
>>>>enableLookups="false" redirectPort="443" acceptCount="
100"
>>>>connectionTimeout="2" disableUploadTimeout="true" />
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 
>>>> 
>>>>
>>>> >>>maxThreads="150" minSpareThreads="25" maxSpareThreads="
>> 100" 
>>>>enableLookups="false" disableUploadTimeout="true"
>>>>acceptCount="100&q

R: Re: R: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA

2010-06-05 Thread ago...@libero.it

Sorry
i have never  used a Valve Component
i will use this component in production enviroment. so  i don't want have a 
trouble.
Can you give me a little example of configuration of Valve Component fom my 
(unique) application SIT under C:\tomcat5\webapps\SIT

thanks a lot  fot suggest.
Agostino


>>Messaggio originale
>Da: p...@pidster.com
>Data: 05/06/2010 22.06
>A: "Tomcat Users List"
>Ogg: Re: R:  Re: intermittent SocketException on startup tomcat 5.5.28 and 
under JBOSS 4.2.3GA
>
>On 05/06/2010 20:56, ago...@libero.it wrote:
>> Thanks for replay.
>> I'm sorry 
>> I have missed e-mail regard server .xml with romment removed.
>> so I attached this file.
>> 
>> 
>> regard  i think that a mistake the 
correct 
>> form is in the file.
>> "SIT" is name of my application. 
>> 
>> 
>> I don't able to match timestamp of error whith a request because i don't 
know 
>> how to trace all request in tomcat conaitner. How can do it?
>
>Configure an access log.
>
> http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html
>
>
>p
>
>> I have essentially only catalina_log (with error)  and standard_out_log 
(in 
>> which i have application "SIT" stdout message).
>> Best regards
>> Agostino
>> 
>>> Messaggio originale
>>> Da: p...@pidster.com
>>> Data: 05/06/2010 21.26
>>> A: "Tomcat Users List"
>>> Ogg: Re: R: Re: R: RE: Re: intermittent SocketException on startup 
tomcat 
>> 5.5.28 and under JBOSS 4.2.3GA
>>>
>>> On 05/06/2010 14:41, ago...@libero.it wrote:
>>>> Thanks 
>>>>
>>>> The question started in 
>>>> http://mail-archives.apache.org/mod_mbox/tomcat-users/201005.
mbox/thread?
>> 3
>>>> on same thread.
>>>>
>>>> Now i have reduce the number of user (about 50 user simultanely) on a   
>>>> win2003 ED quad processor with 8GB bram (I have tomcat 5.5.28, jdk.
1.6.16, 
>> IIS 
>>>> (with certificate instaled) on port 80 that redirect  request from port 
80 
>> to 
>>>> 8080 tomcat connector   server. Besides https request are directly 
managed 
>> from 
>>>> second connector, on port 443 of tomcat.)
>>>>
>>>> So  the error referred, sometime occours. In particular i have noted 
that 
>> this 
>>>> error rise when a lot user make  login in the application (  in a few 
>> second).
>>>> Probably  this may be depend from a lot tcp/ip connection, but, this 
>> using 
>>>> netstat -na not appear.
>>>> May be i must increase the number on maxTcpConnection on win2003 server 
>> and/or 
>>>> reduce tcpDelay.
>>>> Please give me a help to resolve the problem.
>>>> What tool i can use for investigate who cause socket close.
>>>>
>>>> The part of default server.xml of tomcat  that i have change(2 
connector 
>>>> configuration an docbase) is :
>>>
>>> I guess you missed the bit about "comments removed".
>>> Why not backup that file, and then create a server.xml with all of the
>>> comments removed?
>>>
>>>> ...
>>>>
>>>> 
>>>> >>> port="8080"maxHttpHeaderSize="8192"
>>>>maxThreads="350" minSpareThreads="50" maxSpareThreads="
100"
>>>>enableLookups="false" redirectPort="443" acceptCount="
100"
>>>>connectionTimeout="2" disableUploadTimeout="true" />
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 
>>>> 
>>>>
>>>> >>>maxThreads="150" minSpareThreads="25" maxSpareThreads="
>> 100" 
>>>>enableLookups="false" disableUploadTimeout="true"
>>>>acceptCount="100" scheme="https" secure="true"
>>>>clientAuth="false" sslProtocol="TLS" 
>>>>   keystoreFile="C:\CertificatiHTTPS\aaa.pfx"
>>>>   keystorePass=""
>>>>   keystoreType="PKCS12"
>>>>   />
>>>>
>>>>
&

R: Re: R: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA

2010-06-05 Thread ago...@libero.it
Yes 
i have one application SIT under C:\tomcat5\webapps\SIT

In the same dir i have olso a rar (not war) file SIT.rar that is a rar 
compressed file of SIT.

Only file log that i have other tomcat log is standard IIS log.
How i can improve verbosity of tomcat so i can match timestamp of error on 
other relevant information ?
bye.
Agostino

>Messaggio originale
>Da: p...@pidster.com
>Data: 05/06/2010 22.00
>A: "Tomcat Users List"
>Ogg: Re: R:  Re: intermittent SocketException on startup tomcat 5.5.28 and 
under JBOSS 4.2.3GA
>
>On 05/06/2010 20:56, ago...@libero.it wrote:
>> Thanks for replay.
>> I'm sorry 
>> I have missed e-mail regard server .xml with romment removed.
>> so I attached this file.
>> 
>> 
>> regard  i think that a mistake the 
correct 
>> form is in the file.
>> "SIT" is name of my application. 
>
>So in the file you attached, you have:
>
> 
>
>Is the SIT application at:
>
> path/to/tomcat/webapps/SIT
>
>or somewhere else?
>
>
>p
>
>
>> I don't able to match timestamp of error whith a request because i don't 
know 
>> how to trace all request in tomcat conaitner. How can do it?
>> I have essentially only catalina_log (with error)  and standard_out_log 
(in 
>> which i have application "SIT" stdout message).
>> Best regards
>> Agostino
>> 
>>> Messaggio originale
>>> Da: p...@pidster.com
>>> Data: 05/06/2010 21.26
>>> A: "Tomcat Users List"
>>> Ogg: Re: R: Re: R: RE: Re: intermittent SocketException on startup 
tomcat 
>> 5.5.28 and under JBOSS 4.2.3GA
>>>
>>> On 05/06/2010 14:41, ago...@libero.it wrote:
>>>> Thanks 
>>>>
>>>> The question started in 
>>>> http://mail-archives.apache.org/mod_mbox/tomcat-users/201005.
mbox/thread?
>> 3
>>>> on same thread.
>>>>
>>>> Now i have reduce the number of user (about 50 user simultanely) on a   
>>>> win2003 ED quad processor with 8GB bram (I have tomcat 5.5.28, jdk.
1.6.16, 
>> IIS 
>>>> (with certificate instaled) on port 80 that redirect  request from port 
80 
>> to 
>>>> 8080 tomcat connector   server. Besides https request are directly 
managed 
>> from 
>>>> second connector, on port 443 of tomcat.)
>>>>
>>>> So  the error referred, sometime occours. In particular i have noted 
that 
>> this 
>>>> error rise when a lot user make  login in the application (  in a few 
>> second).
>>>> Probably  this may be depend from a lot tcp/ip connection, but, this 
>> using 
>>>> netstat -na not appear.
>>>> May be i must increase the number on maxTcpConnection on win2003 server 
>> and/or 
>>>> reduce tcpDelay.
>>>> Please give me a help to resolve the problem.
>>>> What tool i can use for investigate who cause socket close.
>>>>
>>>> The part of default server.xml of tomcat  that i have change(2 
connector 
>>>> configuration an docbase) is :
>>>
>>> I guess you missed the bit about "comments removed".
>>> Why not backup that file, and then create a server.xml with all of the
>>> comments removed?
>>>
>>>> ...
>>>>
>>>> 
>>>> >>> port="8080"maxHttpHeaderSize="8192"
>>>>maxThreads="350" minSpareThreads="50" maxSpareThreads="
100"
>>>>enableLookups="false" redirectPort="443" acceptCount="
100"
>>>>connectionTimeout="2" disableUploadTimeout="true" />
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 
>>>> 
>>>>
>>>> >>>maxThreads="150" minSpareThreads="25" maxSpareThreads="
>> 100" 
>>>>enableLookups="false" disableUploadTimeout="true"
>>>>acceptCount="100" scheme="https" secure="true"
>>>>clientAuth="false" sslProtocol="TLS" 
>>>>   keystoreFile="C:\CertificatiHTTPS\aaa.pfx"
>>>>   keystorePass=""
>>>>   keystoreType="PKCS12"
>>&

R: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA

2010-06-05 Thread ago...@libero.it
Thanks for replay.
I'm sorry 
I have missed e-mail regard server .xml with romment removed.
so I attached this file.


regard  i think that a mistake the correct 
form is in the file.
"SIT" is name of my application. 


I don't able to match timestamp of error whith a request because i don't know 
how to trace all request in tomcat conaitner. How can do it?
I have essentially only catalina_log (with error)  and standard_out_log (in 
which i have application "SIT" stdout message).
Best regards
Agostino

>Messaggio originale
>Da: p...@pidster.com
>Data: 05/06/2010 21.26
>A: "Tomcat Users List"
>Ogg: Re: R: Re: R: RE: Re: intermittent SocketException on startup tomcat 
5.5.28 and under JBOSS 4.2.3GA
>
>On 05/06/2010 14:41, ago...@libero.it wrote:
>> Thanks 
>> 
>> The question started in 
>> http://mail-archives.apache.org/mod_mbox/tomcat-users/201005.mbox/thread?
3
>> on same thread.
>> 
>> Now i have reduce the number of user (about 50 user simultanely) on a   
>> win2003 ED quad processor with 8GB bram (I have tomcat 5.5.28, jdk.1.6.16, 
IIS 
>> (with certificate instaled) on port 80 that redirect  request from port 80 
to 
>> 8080 tomcat connector   server. Besides https request are directly managed 
from 
>> second connector, on port 443 of tomcat.)
>> 
>> So  the error referred, sometime occours. In particular i have noted that 
this 
>> error rise when a lot user make  login in the application (  in a few 
second).
>> Probably  this may be depend from a lot tcp/ip connection, but, this 
using 
>> netstat -na not appear.
>> May be i must increase the number on maxTcpConnection on win2003 server 
and/or 
>> reduce tcpDelay.
>> Please give me a help to resolve the problem.
>> What tool i can use for investigate who cause socket close.
>> 
>> The part of default server.xml of tomcat  that i have change(2 connector 
>> configuration an docbase) is :
>
>I guess you missed the bit about "comments removed".
>Why not backup that file, and then create a server.xml with all of the
>comments removed?
>
>> ...
>> 
>> 
>> > port="8080"maxHttpHeaderSize="8192"
>>maxThreads="350" minSpareThreads="50" maxSpareThreads="100"
>>enableLookups="false" redirectPort="443" acceptCount="100"
>>connectionTimeout="2" disableUploadTimeout="true" />
>> 
>>  
>>  
>>  
>>  
>> 
>> 
>> 
>>  
>> >maxThreads="150" minSpareThreads="25" maxSpareThreads="
100" 
>>enableLookups="false" disableUploadTimeout="true"
>>acceptCount="100" scheme="https" secure="true"
>>clientAuth="false" sslProtocol="TLS" 
>> keystoreFile="C:\CertificatiHTTPS\aaa.pfx"
>> keystorePass=""
>> keystoreType="PKCS12"
>> />
>>  
>>  
>> 
>> >enableLookups="false" redirectPort="443" protocol="AJP/1.3" 
/>
>> 
>> 
>> 
>> 
>>   >unpackWARs="true" autoDeploy="true"
>>xmlValidation="false" xmlNamespaceAware="false">
>> 
>>  
>>  
>
>Is the above accurate, or is the extra slash after SIT an error?
>
>If it is accurate, it's wrong and will also cause double deployment -
>once as "/SIT/" and once as "/".
>
>
>Are you able to match timestamps of the Socket close exception to a
>particular request, and is there a matching request in the log?
>
>
>p
>
>   
>> 
>> 
>> 
>> 
>> 
>> 
>>> Messaggio originale
>>> Da: rainer.j...@kippdata.de
>>> Data: 05/06/2010 11.09
>>> A: "Tomcat Users List"
>>> Ogg: Re: R: RE: Re: intermittent SocketException on startup tomcat 5.5.28 
and 
>> under JBOSS 4.2.3GA
>>>
>>> On 05.06.2010 09:23, Pid * wrote:
>>>> On 5 Jun 2010, at 04:33, "ago...@libero.it"  wrote:
>>>>
>>>>> Hi
>>>>> I m very tired because the intermittent socket close exception
>>

R: Re: R: RE: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA

2010-06-05 Thread ago...@libero.it
Thanks 

The question started in 
http://mail-archives.apache.org/mod_mbox/tomcat-users/201005.mbox/thread?3
on same thread.

Now i have reduce the number of user (about 50 user simultanely) on a   
win2003 ED quad processor with 8GB bram (I have tomcat 5.5.28, jdk.1.6.16, IIS 
(with certificate instaled) on port 80 that redirect  request from port 80 to 
8080 tomcat connector   server. Besides https request are directly managed from 
second connector, on port 443 of tomcat.)

So  the error referred, sometime occours. In particular i have noted that this 
error rise when a lot user make  login in the application (  in a few second).
Probably  this may be depend from a lot tcp/ip connection, but, this using 
netstat -na not appear.
May be i must increase the number on maxTcpConnection on win2003 server and/or 
reduce tcpDelay.
Please give me a help to resolve the problem.
What tool i can use for investigate who cause socket close.

The part of default server.xml of tomcat  that i have change(2 connector 
configuration an docbase) is :


...





















  



   






>Messaggio originale
>Da: rainer.j...@kippdata.de
>Data: 05/06/2010 11.09
>A: "Tomcat Users List"
>Ogg: Re: R: RE: Re: intermittent SocketException on startup tomcat 5.5.28 and 
under JBOSS 4.2.3GA
>
>On 05.06.2010 09:23, Pid * wrote:
>> On 5 Jun 2010, at 04:33, "ago...@libero.it"  wrote:
>>
>>> Hi
>>> I m very tired because the intermittent socket close exception
>>> reappear.
>>>
>>> We now use tomcat 5.5.28 on win2003 ED SO and jdk 1.6.16.
>>> The error that occours is:
>>>
>>> 4-giu-2010 7.48.35
>
>Date and Time in a bit strange format: 4th of June 2010, 07:48:35.
>
>Rainer
>
>> What is the above? It doesn't look familiar to me.
>>
>> Can you refresh our memories and please post the current server.xml
>> (comments removed)?
>>
>>
>> p
>>
>>> org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
>>> GRAVE: Endpoint ServerSocket
>>> [addr=0.0.0.0/0.0.0.0,port=0,localport=8080]
>>> ignored exception: java.net.SocketException: socket closed
>>> java.net.SocketException: socket closed
>>> at java.net.PlainSocketImpl.socketAccept(Native Method)
>>> at java.net.PlainSocketImpl.accept(Unknown Source)
>>> at java.net.ServerSocket.implAccept(Unknown Source)
>>> at java.net.ServerSocket.accept(Unknown Source)
>>> at
>>> org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket
>>> (DefaultServerSocketFactory.java:61)
>>> at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket
>>> (PoolTcpEndpoint.
>>> java:408)
>>> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
>>> (LeaderFollowerWorkerThread.java:71)
>>> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
>>> (ThreadPool.
>>> java:689)
>>> at java.lang.Thread.run(Unknown Source)
>>> 4-giu-2010 7.48.56 org.apache.tomcat.util.net.PoolTcpEndpoint
>>> acceptSocket
>>> AVVERTENZA: Reinitializing ServerSocket
>>> 4-giu-2010 8.04.39 org.apache.tomcat.util.net.PoolTcpEndpoint
>>> acceptSocket
>>> GRAVE: Endpoint ServerSocket
>>> [addr=0.0.0.0/0.0.0.0,port=0,localport=8080]
>>> ignored exception: java.net.SocketException: socket closed
>>> java.net.SocketException: socket closed
>>> at java.net.PlainSocketImpl.socketAccept(Native Method)
>>> at java.net.PlainSocketImpl.accept(Unknown Source)
>>> at java.net.ServerSocket.implAccept(Unknown Source)
>>> at java.net.ServerSocket.accept(Unknown Source)
>>> at
>>> org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket
>>> (DefaultServerSocketFactory.java:61)
>>> at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket
>>> (PoolTcpEndpoint.
>>> java:408)
>>> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
>>> (LeaderFollowerWorkerThread.java:71)
>>> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
>>> (ThreadPool.
>>> java:689)
>>> at java.lang.Thread.run(Unknown Source)
>>> 4-giu-2010 8.05.00 org.apache.tomcat.util.net.PoolTcpEndpoint
>>> acceptSocket
>>> AVVERTENZA: Reinitializing ServerSocket
>>> 4-giu-2010 8.05.00 org.apache.tomcat.util.net.PoolTcpEndpoint
>>> acceptSocket

R: RE: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA

2010-06-04 Thread ago...@libero.it
Hi
I m very tired because the intermittent socket close exception reappear.

We now use tomcat 5.5.28 on win2003 ED SO and jdk 1.6.16.
The error that occours is:

4-giu-2010 7.48.35 org.apache.tomcat.util.net.PoolTcpEndpoint 
acceptSocket
GRAVE: Endpoint ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] 
ignored exception: java.net.SocketException: socket closed
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket
(DefaultServerSocketFactory.java:61)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.
java:408)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:71)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
java:689)
at java.lang.Thread.run(Unknown Source)
4-giu-2010 7.48.56 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
AVVERTENZA: Reinitializing ServerSocket
4-giu-2010 8.04.39 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
GRAVE: Endpoint ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] 
ignored exception: java.net.SocketException: socket closed
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket
(DefaultServerSocketFactory.java:61)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.
java:408)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:71)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
java:689)
at java.lang.Thread.run(Unknown Source)
4-giu-2010 8.05.00 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
AVVERTENZA: Reinitializing ServerSocket
4-giu-2010 8.05.00 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
GRAVE: Endpoint ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] 
ignored exception: java.net.SocketException: socket closed
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket
(DefaultServerSocketFactory.java:61)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.
java:408)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:71)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
java:689)
at java.lang.Thread.run(Unknown Source)
4-giu-2010 8.05.21 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
AVVERTENZA: Reinitializing ServerSocket
4-giu-2010 8.06.55 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
GRAVE: Endpoint ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] 
ignored exception: java.net.SocketException: socket closed
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method) .   

This error slow down the application.

we don't have  firewall, pool of tcp connection seem correct, the 
processor 
and memory usage are normal (10% CPU and 50% RAM).


How can  i investigte who cuse the problem?  Jconsole observe memory but seem 
not tcp connection.
How can i understand why i have close socket? 
whath are flakey router error?
How can i understand if i have saturate the connection on SO?

Thank for all suggest
Best regards
Agostino




>Messaggio originale
>Da: chuck.caldar...@unisys.com
>Data: 24/05/2010 15.38
>A: "Tomcat Users List", "ago...@libero.it"

>Ogg: RE: Re: intermittent SocketException on startup tomcat 5.5.28 and under 
JBOSS 4.2.3GA
>
>> From: ago...@libero.it [mailto:ago...@libero.it]
>> Subject: R: Re: intermittent SocketException on startup tomcat 5.5.28
>> and under JBOSS 4.2.3GA
>> 
>> ERROR [org.apache.tomcat.util.net.JIoEndpoint]
>>  Socket accept failed
>>  java.net.SocketException: socket closed
>
>This isn't really a problem with the Tomcat server - it usually means the 
client terminated the connection attempt

R: RE: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA

2010-05-24 Thread ago...@libero.it
Thanks for suggestion.

But i have  win2008 with dual quad core processor, 4GB ram. The CPU usage  is 
to 5% and  ram is used to the 75% when error occours.
What block the reload time of page (in presence of error  all is more slow the 
IE page often is white)?
What i can investigate when the error occours (i already seen process, TCP 
connection, firewall)?
what can i do?
Plese give me a help.
Agostino


>Messaggio originale
>Da: chuck.caldar...@unisys.com
>Data: 24/05/2010 15.38
>A: "Tomcat Users List", "ago...@libero.it"

>Ogg: RE: Re: intermittent SocketException on startup tomcat 5.5.28 and under 
JBOSS 4.2.3GA
>
>> From: ago...@libero.it [mailto:ago...@libero.it]
>> Subject: R: Re: intermittent SocketException on startup tomcat 5.5.28
>> and under JBOSS 4.2.3GA
>> 
>> ERROR [org.apache.tomcat.util.net.JIoEndpoint]
>>  Socket accept failed
>>  java.net.SocketException: socket closed
>
>This isn't really a problem with the Tomcat server - it usually means the 
client terminated the connection attempt before the socket on the server end 
could be created.  If this is happening persistently, then something in between 
the client and Tomcat (e.g., a firewall or flakey router) is dropping the 
connection before it can be fully established.  There's also a possibility that 
Windows is reaching some resource limit and preventing creation of the server 
end of the connection.
>
> - 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



R: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA

2010-05-23 Thread ago...@libero.it
Can you suggest me some investigation for resolve the  problem? 

I thinking of do more strong my configuration i'd like install  Tomct 6.0.26 
and my be ApacheHTTPD server in front.
Is this a good idea?
Best regards

Agostino







>Messaggio originale
>Da: p...@pidster.com
>Data: 23/05/2010 13.12
>A: "Tomcat Users List"
>Ogg: Re: intermittent SocketException on startup tomcat 5.5.28 and under 
JBOSS 4.2.3GA
>
>On 22/05/2010 23:23, ago...@libero.it wrote:
>> 
>> Thanks for response.
>> 
>> The first server on I install tomcat 5.5.28 is win2003 server and after I 
>> install jboss on win2008 server .
>> All server have  32bit SO and i don't have a firewall . I disenable all 
>> firewall, all antivirus. 
>> 
>> I suppose that two different errors regard different JVM and/or 
Application 
>> server (first Tomct 5.5.28 on win2003 and after Jboss4.2.3GA on win2008)
>> At any rate i have now only log by Tomcat 5.5.28 under win2003:
>
>
>> But don't have a intere log file.
>> May be IPV6? I don't disinstall this protocol becuse is important on 
win2008, 
>> but i hve clent that use IPV4.
>
>Do you have any other services running on the server that might
>interfere with this one, by binding to the ports you have configured?
>
>Try using the "netstat" command to see what ports and addresses the
>server is listening on.
>
> http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-
us/netstat.mspx?mfr=true
>
>To eliminate the ip4/ip6 problem, you can specify an address="n.n.n.n"
>for the connector to bind to, in server.xml.  (where n.n.n.n is the IP
>v4 address assigned to your server).
>
>
>p
>
>> Have you  n idea?
>> How can resolve  problem.
>> Plese is imporatnt for me?
>> 
>>> Messaggio originale
>>> Da: p...@pidster.com
>>> Data: 22/05/2010 12.47
>>> A: "Tomcat Users List"
>>> Ogg: Re: intermittent SocketException on startup tomcat 5.5.28 and under 
>> JBOSS 4.2.3GA
>>>
>>> On 22/05/2010 09:28, ago...@libero.it wrote:
>>>> Good Morning
>>>>
>>>> Excuse  for my poor english
>>>>
>>>> I have a strange error that  occours  on startup and after some minutes 
>> this
>>>> cause the block of  my appliction, only stop webserver from  lot minutes 
or
>>>> restart  server sometime resolve the problem. But often the problem 
>> persist.
>>>>
>>>> In Short:
>>>> I have a web appliction deployed initially under tomcat 5.5.28 (with 
jre-
>>>> 1_5_0_22 and SO win2003 Server 32 bit) that sometimes cause specially on
>>>> startup the follow error:
>>>>
>>>> 17-apr-2010 7.00.49 org.apache.tomcat.util.net.PoolTcpEndpoint 
acceptSocket
>>>> GRAVE: Endpoint [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,
>> localport=443]]
>>>> ignored exception: java.net.SocketException: socket closed
>>>> java.net.SocketException: socket closed
>>>> at java.net.PlainSocketImpl.socketAccept(Native Method)
>>>> at java.net.PlainSocketImpl.accept(Unknown Source)
>>>> at java.net.ServerSocket.implAccept(Unknown Source)
>>>> at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(Unknown 
Source)
>>>> at org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket
>>>> (JSSESocketFactory.java:117)
>>>> at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket
(PoolTcpEndpoint.
>>>> java:408)
>>>> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
>>>> (LeaderFollowerWorkerThread.java:71)
>>>> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
>> (ThreadPool.
>>>> java:689)
>>>> at java.lang.Thread.run(Unknown Source)
>>>> 17-apr-2010 7.01.10 org.apache.tomcat.util.net.PoolTcpEndpoint 
acceptSocket
>>>> AVVERTENZA: Reinitializing ServerSocket
>>>> 17-apr-2010 7.52.33 org.apache.tomcat.util.net.PoolTcpEndpoint 
acceptSocket
>>>> GRAVE: Endpoint [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,
>> localport=443]]
>>>> ignored exception: java.net.SocketException: socket closed
>>>> java.net.SocketException: socket closed
>>>> at java.net.PlainSocketImpl.socketAccept(Native Method)
>>>> at java.net.PlainSocketImpl.accept(Unknown Source)
>>>> at java.net.ServerSocket.implAccept(Unknown Source)
>>>> at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accep

Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA

2010-05-22 Thread ago...@libero.it
   at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket
(DefaultServerSocketFactory.java:61)
at 
org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:352)
at java.lang.Thread.run(Unknown Source)
19-apr-2010 7.38.56 org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
GRAVE: Socket accept failed
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket
(DefaultServerSocketFactory.java:61)
at 
org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:352)
at java.lang.Thread.run(Unknown Source)
19-apr-2010 7.38.56 org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
GRAVE: Socket accept failed
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket
(DefaultServerSocketFactory.java:61)
at 
org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:352)
at java.lang.Thread.run(Unknown Source)
..

Now i use jboss so the error that i have on win2008 server is :

010-05-17 12:53:24,112 ERROR [org.apache.tomcat.util.net.JIoEndpoint] Socket
>> accept failed
>> java.net.SocketException: socket closed
>> at java.net.PlainSocketImpl.socketAccept(Native Method)
>> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
>> at java.net.ServerSocket.implAccept(ServerSocket.java:453)
>> at java.net.ServerSocket.accept(ServerSocket.java:421)
>> at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket
>> (DefaultServerSocketFactory.java:61)
>> at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:
309)
>> at java.lang.Thread.run(Thread.java:619)
>> 2010-05-17 12:53:24,127 ERROR [org.apache.tomcat.util.net.JIoEndpoint] 
Socket
>> accept failed.


But don't have a intere log file.
May be IPV6? I don't disinstall this protocol becuse is important on win2008, 
but i hve clent that use IPV4.
Have you  n idea?
How can resolve  problem.
Plese is imporatnt for me?

Best regards
Agostino


>Messaggio originale
>Da: p...@pidster.com
>Data: 22/05/2010 12.47
>A: "Tomcat Users List"
>Ogg: Re: intermittent SocketException on startup tomcat 5.5.28 and under 
JBOSS 4.2.3GA
>
>On 22/05/2010 09:28, ago...@libero.it wrote:
>> Good Morning
>> 
>> Excuse  for my poor english
>> 
>> I have a strange error that  occours  on startup and after some minutes 
this
>> cause the block of  my appliction, only stop webserver from  lot minutes or
>> restart  server sometime resolve the problem. But often the problem 
persist.
>> 
>> In Short:
>> I have a web appliction deployed initially under tomcat 5.5.28 (with jre-
>> 1_5_0_22 and SO win2003 Server 32 bit) that sometimes cause specially on
>> startup the follow error:
>> 
>> 17-apr-2010 7.00.49 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
>> GRAVE: Endpoint [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,
localport=443]]
>> ignored exception: java.net.SocketException: socket closed
>> java.net.SocketException: socket closed
>> at java.net.PlainSocketImpl.socketAccept(Native Method)
>> at java.net.PlainSocketImpl.accept(Unknown Source)
>> at java.net.ServerSocket.implAccept(Unknown Source)
>> at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(Unknown Source)
>> at org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket
>> (JSSESocketFactory.java:117)
>> at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.
>> java:408)
>> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
>> (LeaderFollowerWorkerThread.java:71)
>> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.
>> java:689)
>> at java.lang.Thread.run(Unknown Source)
>> 17-apr-2010 7.01.10 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
>> AVVERTENZA: Reinitializing ServerSocket
>> 17-apr-2010 7.52.33 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
>> GRAVE: Endpoint [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,
localport=443]]
>> ignored exception: java.net.SocketException: socket closed
>> java.net.SocketException: socket closed
>> at java.net.PlainSocketImpl.socketAccept(Native Method)
>> at java.net.Plai

intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA

2010-05-22 Thread ago...@libero.it
Good Morning

Excuse  for my poor english

I have a strange error that  occours  on startup and after some minutes this
cause the block of  my appliction, only stop webserver from  lot minutes or
restart  server sometime resolve the problem. But often the problem persist.

In Short:
I have a web appliction deployed initially under tomcat 5.5.28 (with jre-
1_5_0_22 and SO win2003 Server 32 bit) that sometimes cause specially on
startup the follow error:

17-apr-2010 7.00.49 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
GRAVE: Endpoint [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=443]]
ignored exception: java.net.SocketException: socket closed
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(Unknown Source)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket
(JSSESocketFactory.java:117)
at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.
java:408)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:71)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
java:689)
at java.lang.Thread.run(Unknown Source)
17-apr-2010 7.01.10 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
AVVERTENZA: Reinitializing ServerSocket
17-apr-2010 7.52.33 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
GRAVE: Endpoint [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=443]]
ignored exception: java.net.SocketException: socket closed
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(Unknown Source)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket
(JSSESocketFactory.java:117)
at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.
java:408)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:71)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
java:689)
at java.lang.Thread.run(Unknown Source)
17-apr-2010 7.52.54 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
AVVERTENZA: Reinitializing ServerSocket
17-apr-2010 7.52.55 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
GRAVE: Endpoint [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=443]]
ignored exception: java.net.SocketException: socket closed
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(Unknown Source)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket
(JSSESocketFactory.java:117)
at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.
java:408)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:71)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
java:689)
at java.lang.Thread.run(Unknown Source)
17-apr-2010 7.53.16 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
AVVERTENZA: Reinitializing ServerSocket
17-apr-2010 7.53.17 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
GRAVE: Endpoint [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=443]]
ignored exception: java.net.SocketException: socket closed
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(Unknown Source)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket
(JSSESocketFactory.java:117)
at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.
java:408)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:71)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
java:689)
at java.lang.Thread.run(Unknown Source)
17-apr-2010 7.53.38 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
AVVERTENZA: Reinitializing ServerSocket
17-apr-2010 7.53.39 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
GRAVE: Endpoint [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=443]]
ignored exception: java.net.SocketException: socket closed
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)  .

in tomcat server.xml i have configured 2 connector: one su port 80 and other
on port 443, The  connectors configuration is:

Connector port="80"  maxHttpHeaderSize="8192"