Best unofficial Apache Server developers community |
| Aug 6, 2010 | |||
|
Gary Tully (JIRA) |
|
||
| Tags: | |||
Similar Threads
Resolved: (DERBY-4132) intermittent test failure: extra lock in store/updatelocksJDBC30
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Mike Matrigali resolved DERBY-4132.
Resolved: (AMQ-2077) Intemittent test failure - JmsDurableTopicSlowReceiveTest
[
https://issues.apache.org/activemq/br...nels:all-tabpanel
]
Gary Tully resolved AMQ-2077.
Updated: (PIG-1453) [zebra] Intermittent failure for TestOrderPreserveUnionHDFS
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Yan Zhou updated PIG-1453:
Resolved: (DIRSERVER-1456) build error: JUnit test failure on SchemaLdifExtractorTest
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Pierre-Arnaud Marcelot resolved DIRSERVER-1456.
unit test failure
Hi, I am attempting to build the C client on debian lenny. autoconf, configure, make and make install all appear to work cleanly. I ran: autoreconf -if ./configure make make install make run-check However, the unit tests fail: $ make run-check make zktest-st zktest-mt make[1]: Entering directory `/home/martin/zookeeper-3.3.1/src/c' make[1]: `zktest-st' is up to date. make[1]: `zktest-mt' is up to date. make[1]: Leaving directory `/home/martin/zookeeper-3.3.1/src/c' ./zktest-st ./tests/zkServer.sh: line 52: kill: (17711) - No such process ZooKeeper server startedRunning Zookeeper_operations::testPing : elapsed 1 : OK Zookeeper_operations::testTimeoutCausedByWatches1 : elapsed 0 : OK Zookeeper_operations::testTimeoutCausedByWatches2 : elapsed 0 : OK Zookeeper_operations::testOperationsAndDisconnectConcurrently1 : elapsed 2 : OK Zookeeper_operations::testOperationsAndDisconnectConcurrently2 : elapsed 0 : OK Zookeeper_operations::testConcurrentOperations1 : elapsed 206 : OK Zookeeper_init::testBasic : elapsed 0 : OK Zookeeper_init::testAddressResolution : elapsed 0 : OK Zookeeper_init::testMultipleAddressResolution : elapsed 0 : OK Zookeeper_init::testNullAddressString : elapsed 0 : OK Zookeeper_init::testEmptyAddressString : elapsed 0 : OK Zookeeper_init::testOneSpaceAddressString : elapsed 0 : OK Zookeeper_init::testTwoSpacesAddressString : elapsed 0 : OK Zookeeper_init::testInvalidAddressString1 : elapsed 0 : OK Zookeeper_init::testInvalidAddressString2 : elapsed 2 : OK Zookeeper_init::testNonexistentHost : elapsed 108 : OK Zookeeper_init::testOutOfMemory_init : elapsed 0 : OK Zookeeper_init::testOutOfMemory_getaddrs1 : elapsed 0 : OK Zookeeper_init::testOutOfMemory_getaddrs2 : elapsed 0 : OK Zookeeper_init::testPermuteAddrsList : elapsed 0 : OK Zookeeper_close::testCloseUnconnected : elapsed 0 : OK Zookeeper_close::testCloseUnconnected1 : elapsed 0 : OK Zookeeper_close::testCloseConnected1 : elapsed 0 : OK Zookeeper_close::testCloseFromWatcher1 : elapsed 0 : OK Zookeeper_simpleSystem::testAsyncWatcherAutoResetterminate called after throwing an instance of 'CppUnit::Exception' what(): equality assertion failed - Expected: -101 - Actual : -4 make: *** [run-check] Aborted This appears to come from tests/TestClient.cc - but beyond that, it is hard to identify which equality assertion failed. Help ! regards, Martin
DO NOT REPLY Fix occasional test failure in TestConcurrency
https://issues.apache.org/bugzilla/show_bug.cgi?id=47583
Mark Thomas <mar### @apache.org> changed:
What |Removed |Added
Test Failure:mixin nodetype mix:simpleVersionable is missing
Hi, $subject occurs in simple version test.This test failure says repository does not support versioning But I have set the following to true OPTION_VERSIONING_SUPPORTED = true OPTION_SIMPLE_VERSIONING_SUPPORTED = true It will be really great if anyone can help me to solve this problem Regards /subash
Created: (MRM-1388) Test failure in ShowArtifactActionTest for certain locales
Test failure in ShowArtifactActionTest for certain locales
Resolved: (AMQ-1847) Redelivery on a failure doesn't respect the initialRedeliveryDelay on the first
[
https://issues.apache.org/activemq/br...nels:all-tabpanel
]
Gary Tully resolved AMQ-1847.
Created: (DERBY-4760) test failure in derbynet/testProtocol.java with ibm jvms
test failure in derbynet/testProtocol.java with ibm jvms
Resolved: (CAMEL-2935) Broken failure reporting via DefaultProucerTemplate.asyncCallback and Synchro
[
https://issues.apache.org/activemq/br...nels:all-tabpanel
]
Claus Ibsen resolved CAMEL-2935.
Resolved: (IO-235) Bugs in CopyUtilsTest test cases?
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Niall Pemberton resolved IO-235.
Resolved: (JCR-2695) Jackrabbit performance test suite
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Jukka Zitting resolved JCR-2695.
Resolved: (GERONIMO-5482) Add test cases for el 2.2 new features into the testsuite.
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Forrest Xia resolved GERONIMO-5482.
Resolved: (DIRSERVER-1461) SaslGssapiBindITest.testSaslGssapiBind() test method fails when /etc/host
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Emmanuel Lecharny resolved DIRSERVER-1461.
Resolved: (MAPREDUCE-1154) Large-scale, automated test framwork for Map-Reduce
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Konstantin Boudnik resolved MAPREDUCE-1154.
Resolved: (SLING-1219) Map test in JCR Resource Resolver web console plugin is not reflecting all ca
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Felix Meschberger resolved SLING-1219.
Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA
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: The log is: 19-apr-2010 7.14.40 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\tomcat6\Tomcat 6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C: \Windows;C:\oracle\product\10.2.0\client_3\bin;C:\oracle\product\10.2.0 \client_1;C:\oracle\product\10.2.0\client_2;C:\Windows\system32;C:\Windows;C: \Windows\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C: \Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\ 19-apr-2010 7.14.40 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-80 19-apr-2010 7.14.40 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 334 ms 19-apr-2010 7.14.40 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 19-apr-2010 7.14.40 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.26 19-apr-2010 7.14.40 org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor manager.xml 19-apr-2010 7.14.40 org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor probe.xml 19-apr-2010 7.14.40 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory docs 19-apr-2010 7.14.40 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory SIT 19-apr-2010 7.14.40 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory SVILUPPO 19-apr-2010 7.14.40 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-80 19-apr-2010 7.14.40 org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 19-apr-2010 7.14.40 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/16 config=null 19-apr-2010 7.14.40 org.apache.catalina.startup.Catalina start INFO: Server startup in 641 ms 19-apr-2010 7.23.01 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.23.01 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.26.48 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.35.29 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) 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"<us### @tomcat.apache.org> Ogg: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA On 22/05/2010 09:28, agon### @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.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" > maxThreads="350" minSpareThreads="25" maxSpareThreads="100" > enableLookups="false" redirectPort="443" acceptCount="100" > connectionTimeout="20000" disableUploadTimeout="true" /> > ....... > > <Connector port="443" maxHttpHeaderSize="8192" > maxThreads="150" minSpareThreads="25" maxSpareThreads="75" > enableLookups="false" disableUploadTimeout="true" > acceptCount="100" scheme="https" secure="true" > clientAuth="false" sslProtocol="TLS" > keystoreFile="C:\CertificatiHTTPS\aaa.pfx" > keystorePass="xxx" > keystoreType="PKCS12" > /> > > This problem never occours in the past but arise after we transfer the router > from site to another. After this transfer sometime occours the error, It's > strange. The HW,SW is the same and number of Users is bout the same. > > So we think to upgrade in tecnology and after installed jdk 1.6.16 and JBOSS4. > 2.3 and deployed the same web application the problem sometime occours > (specially in first 5 minutes on startup.. NOTE in jBOSS we change > JAVA_OPTIONS : -Xms384m -Xmx1024m -XX:MaxPermSize=128m only ) the error 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 > > in this case we have the same configuration of tomcat connector under jboss > (file C:\jboss-4.2.3.GA\server\default\deploy\jboss-web.deployer\server. xml): > > <Connector port="80" address="${jboss.bind.address}" > minSpareThreads="25" maxSpareThreads="100" > maxThreads="350" maxHttpHeaderSize="8192" > emptySessionPath="true" protocol="HTTP/1.1" > enableLookups="false" redirectPort="443" acceptCount="200" > connectionTimeout="20000" disableUploadTimeout="true" /> > .... > <Connector port="443" protocol="HTTP/1.1" SSLEnabled="true" > minSpareThreads="25" maxSpareThreads="100" > maxThreads="250" scheme="https" secure="true" > clientAuth="false" sslProtocol="TLS" > keystoreFile="C:\CertificatiHTTPS\aaa.pfx" > keystorePass="xxx" > keystoreType="PKCS12" > /> > > Can anyone help me because the problem is present in production enviroment. If I'm reading the stack trace correctly, the listening socket is being closed shortly after being opened. Do you have a firewall that is blocking the port perhaps? If you start a completely new log file, what messages appear before the error appears? p > thanks a lot for every hint . > > Agostino > >
R: Re: R: RE: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA
Thanks The question started in http://mail-archives.apache.org/mod_m...005.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 : ....... <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 --> <Connector port="8080" maxHttpHeaderSize="8192" maxThreads="350" minSpareThreads="50" maxSpareThreads="100" enableLookups="false" redirectPort="443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" /> <!-- Note : To disable connection timeouts, set connectionTimeout value to 0 --> <!-- Note : To use gzip compression you could set the following properties : compression="on" compressionMinSize="2048" noCompressionUserAgents="gozilla, traviata" compressableMimeType="text/html,text/xml" --> <!-- Define a SSL HTTP/1.1 Connector on port 8443 --> <!-- <Connector port="8443" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" /> --> <Connector port="443" maxHttpHeaderSize="10240" 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="bbbb" keystoreType="PKCS12" /> <!-- Define an AJP 1.3 Connector on port 8009 --> <Connector port="8009" enableLookups="false" redirectPort="443" protocol="AJP/1.3" /> <!-- Define a Proxied HTTP/1.1 Connector on port 8082 --> <!-- See proxy documentation for more information about using this. --> <!-- ........ <!-- Define the default virtual host Note: XML Schema validation will not work with Xerces 2.2. --> <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Context path="" docBase="SIT/"/> <!-- Defines a cluster for this node, By defining this element, means that every manager will be changed. So when running a cluster, only make sure that you have webapps in there that need to be clustered and remove the other ones. A cluster has the following parameters: --> ........ ----Messaggio originale---- Da: raine### @kippdata.de Data: 05/06/2010 11.09 A: "Tomcat Users List"<us### @tomcat.apache.org> 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"<agon### @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 >> 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.C### @unisys.com >>> Data: 24/05/2010 15.38 >>> A: "Tomcat Users List"<us### @tomcat.apache.org>, "ago### @libero.it" >> <agon### @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 | |||