2014-03-20 1:14 GMT+04:00 Mark Thomas <ma...@apache.org>: > The proposed Apache Tomcat 8.0.4 release is now available for voting. > > The main changes since 8.0.3 are: > - Update Eclipse JDT compiler to enable full Java 8 support for JSPs in > the default configuration > - Add new, experimental HTTP and AJP connectors based on NIO2 > - Update the default connection pooling based on a repackaged Commons > DBCP 2 to use the Commons DBCP 2.0 release > > ... >
I am not voting yet. The test suite did pass successfully for BIO,NIO,APR,NIO2 with JDK 7u51 (32-bit) on Windows 7, except for the following test with NIO2: TEST-org.apache.catalina.connector.TestCoyoteOutputStream.NIO2.txt [[[ Testcase: testNonBlockingWriteTwiceBlockingWriteOnce took 300,096 sec Caused an ERROR Read timed out java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:152) at java.net.SocketInputStream.read(SocketInputStream.java:122) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) at java.io.BufferedInputStream.read(BufferedInputStream.java:334) at sun.net.www.http.ChunkedInputStream.readAheadBlocking(ChunkedInputStream.java:552) at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:609) at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:696) at java.io.FilterInputStream.read(FilterInputStream.java:133) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3053) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) at java.io.BufferedInputStream.read(BufferedInputStream.java:334) at java.io.FilterInputStream.read(FilterInputStream.java:107) at org.apache.catalina.startup.TomcatBaseTest.methodUrl(TomcatBaseTest.java:264) at org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:219) at org.apache.catalina.connector.TestCoyoteOutputStream.doNonBlockingTest(TestCoyoteOutputStream.java:91) at org.apache.catalina.connector.TestCoyoteOutputStream.testNonBlockingWriteTwiceBlockingWriteOnce(TestCoyoteOutputStream.java:69) ]]] There are a number of the following messages in the log files (in 3 files for NIO2, in 1 file for BIO): java.util.concurrent.RejectedExecutionException: Executor not running, can't force a command into the queue Those are in TEST-org.apache.catalina.connector.TestCoyoteOutputStream.NIO2.txt TEST-org.apache.coyote.http11.upgrade.TestUpgrade.BIO.txt TEST-org.apache.coyote.http11.upgrade.TestUpgrade.NIO2.txt TEST-org.apache.tomcat.websocket.TestWsWebSocketContainer.NIO2.txt According to the logs when RejectedExecutionException happens the protocol handler have been stopped and destroyed several msecs before that event. The log for BIO connector in TEST-org.apache.coyote.http11.upgrade.TestUpgrade.BIO.txt looks like the following: [[[ 21-Mar-2014 11:00:28.285 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-bio-127.0.0.1-auto-5"] 21-Mar-2014 11:00:28.285 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat 21-Mar-2014 11:00:28.286 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.4 21-Mar-2014 11:00:28.300 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-bio-127.0.0.1-auto-5-54604"] 21-Mar-2014 11:00:28.305 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-bio-127.0.0.1-auto-5-54604"] 21-Mar-2014 11:00:28.356 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat 21-Mar-2014 11:00:28.362 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-bio-127.0.0.1-auto-5-54604"] 21-Mar-2014 11:00:28.362 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-5-54604"] 21-Mar-2014 11:00:28.362 WARNING [http-bio-127.0.0.1-auto-5-exec-5] org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run Socket reprocessing request was rejected for:org.apache.tomcat.util.net.SocketWrapper@1c44935:Socket[addr=/127.0.0.1,port=54605,localport=54604] java.util.concurrent.RejectedExecutionException: Executor not running, can't force a command into the queue at org.apache.tomcat.util.threads.TaskQueue.force(TaskQueue.java:63) at org.apache.tomcat.util.threads.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:180) at org.apache.tomcat.util.threads.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:155) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:353) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) ]]] The test that it was running was Testcase: testFirstCallToOnWritePossible took 0,086 sec Well, it is good that Tomcat can be started and stopped in less that 0.1 second. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org