Am 12.05.2016 um 00:22 schrieb Mark Thomas:
The proposed Apache Tomcat 8.5.2 release is now available for voting.

8.5.2 corrects a regression found in 8.5.1.

The major changes compared to the 8.5.0 release are:
- Add the org.apache.catalina.servlet4preview package that can be
  used to gain early access to Servlet 4.0 features. Note that this
  package will not be present in Tomcat 9.
- Make default TLS configuration more secure
- Add direct HTTP/2 connection support
- Update the packaged version of the Tomcat Native Library to 1.2.7 to
  pick up the Windows binaries that are based on OpenSSL 1.0.2h and
  APR 1.5.2.

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.2/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1081/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_2/

The proposed 8.5.2 release is:
[ ] Broken - do not release
[ ] Alpha  - go ahead and release as 8.5.2
[X] Beta   - go ahead and release as 8.5.2
[ ] Stable - go ahead and release as 8.5.2

+1 to release as beta.

Details
=======

- MD5 OK
- signatures OK
- key in KEYS file
- gz and zip for src and bin consistent
- src completely consistent with svn tag
- builds fine
  - warning about unchecked calls or conversions in:
    - org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
    - org/apache/tomcat/jdbc/pool/PoolProperties.java
  Not a regression
- build result looks consistent with binaries
- no checkstyle complaints
- no Javadoc warnings
- Unit tests: No failures
  - Some observations see below
- JMX MBean Comparison with 8.5.0:
  - WebResourceRoot MBean attributes lookupCount, hitCount and size
    increased by 1-2 only for the /examples context directly after
    startup
  - new system property "-Djdk.tls.ephemeralDHKeySize=2048" is set
  - tomcat.util.scan.StandardJarScanFilter.jarsToScan now contains
    an additional "slf4j-taglib*.jar" at the end
- HTTPS thread names seem to have changed
  (additional token "-jsse-" resp. "-openssl-")

Build and tests were done using Java 1.7.0_80. OS was Solaris 10 Sparc, tcnative was 1.2.7 based on APR 1.5.1 and OpenSSL 1.0.2h.

A few things in unit test output that were not present in 8.5.0 output:

- Exception in org.apache.coyote.http2.TestHttp2Section_6_9 tests testWindowSizeTooLargeViaSettings, testZeroWindowUpdateStream and testWindowSizeTooLargeStream for all connectors. There's an NPE during shutdown:

[junit] 15-May-2016 01:10:26.928 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-47648"] [junit] 15-May-2016 01:10:26.930 SEVERE [http-nio-127.0.0.1-auto-5-exec-5] org.apache.catalina.core.StandardHostValve.invoke Exception Processing /simple
    [junit]  java.lang.NullPointerException
[junit] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:208) [junit] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108) [junit] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522) [junit] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [junit] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [junit] at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) [junit] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [junit] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349) [junit] at org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:410) [junit] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [junit] at org.apache.coyote.http2.StreamProcessor.run(StreamProcessor.java:66) [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [junit] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    [junit]     at java.lang.Thread.run(Thread.java:745)
    [junit]
[junit] 15-May-2016 01:10:26.938 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-47648"]


- CancelledKeyException in org.apache.coyote.http2.TestHttp2Section_3_2 test case testConnectionNoPreface for nio:

[junit] 15-May-2016 01:08:35.597 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionNoPreface] [junit] 15-May-2016 01:08:35.606 INFO [Thread-4] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio-127.0.0.1-auto-7"] connector has been configured to support HTTP upgrade to [h2c] [junit] 15-May-2016 01:08:35.607 INFO [Thread-4] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] [junit] 15-May-2016 01:08:35.609 INFO [Thread-4] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat [junit] 15-May-2016 01:08:35.610 INFO [Thread-4] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.2 [junit] 15-May-2016 01:08:35.653 INFO [Thread-4] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-127.0.0.1-auto-7-47443] [junit] 15-May-2016 01:08:35.670 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-47443"] [junit] 15-May-2016 01:08:35.724 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat [junit] 15-May-2016 01:08:35.738 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-47443"] [junit] 15-May-2016 01:08:35.744 SEVERE [http-nio-127.0.0.1-auto-7-exec-1] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored
    [junit]  java.nio.channels.CancelledKeyException
[junit] at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73) [junit] at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:82) [junit] at org.apache.tomcat.util.net.NioSelectorPool.read(NioSelectorPool.java:260) [junit] at org.apache.tomcat.util.net.NioSelectorPool.read(NioSelectorPool.java:216) [junit] at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1257) [junit] at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1211) [junit] at org.apache.coyote.http2.Http2UpgradeHandler.fill(Http2UpgradeHandler.java:1078) [junit] at org.apache.coyote.http2.Http2UpgradeHandler.fill(Http2UpgradeHandler.java:1058) [junit] at org.apache.coyote.http2.Http2Parser.readConnectionPreface(Http2Parser.java:519) [junit] at org.apache.coyote.http2.Http2UpgradeHandler.init(Http2UpgradeHandler.java:225) [junit] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:830) [junit] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1485) [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [junit] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    [junit]     at java.lang.Thread.run(Thread.java:745)
    [junit]
[junit] 15-May-2016 01:08:35.751 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-47443"]


- in TestXxxEndpoint for nio2 test testStartStopBindOnInit:

[junit] 15-May-2016 02:02:18.376 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio2-127.0.0.1-auto-2-51620] [junit] 15-May-2016 02:02:18.395 SEVERE [http-nio2-127.0.0.1-auto-2-Acceptor-0] org.apache.tomcat.util.net.Nio2Endpoint$Acceptor.run Socket accept failed
    [junit]  java.nio.channels.AcceptPendingException
[junit] at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.implAccept(UnixAsynchronousServerSocketChannelImpl.java:271) [junit] at sun.nio.ch.AsynchronousServerSocketChannelImpl.accept(AsynchronousServerSocketChannelImpl.java:124) [junit] at org.apache.tomcat.util.net.Nio2Endpoint$Acceptor.run(Nio2Endpoint.java:499)
    [junit]     at java.lang.Thread.run(Thread.java:745)
    [junit]
[junit] 15-May-2016 02:02:18.397 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-51620"] [junit] 15-May-2016 02:02:18.446 SEVERE [http-nio2-127.0.0.1-auto-2-Acceptor-0] org.apache.tomcat.util.net.Nio2Endpoint$Acceptor.run Socket accept failed
    [junit]  java.nio.channels.AcceptPendingException
[junit] at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.implAccept(UnixAsynchronousServerSocketChannelImpl.java:271) [junit] at sun.nio.ch.AsynchronousServerSocketChannelImpl.accept(AsynchronousServerSocketChannelImpl.java:124) [junit] at org.apache.tomcat.util.net.Nio2Endpoint$Acceptor.run(Nio2Endpoint.java:499)
    [junit]     at java.lang.Thread.run(Thread.java:745)

Directly before there's

[junit] 15-May-2016 02:02:18.369 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio2-127.0.0.1-auto-2-51620] [junit] 15-May-2016 02:02:18.370 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-51620"] [junit] 15-May-2016 02:02:18.372 INFO [main] org.apache.tomcat.util.net.TestXxxEndpoint.testStartStopBindOnInit Exception was
    [junit]  java.net.BindException: Address already in use
    [junit]     at java.net.PlainSocketImpl.socketBind(Native Method)
[junit] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
    [junit]     at java.net.ServerSocket.bind(ServerSocket.java:376)
    [junit]     at java.net.ServerSocket.<init>(ServerSocket.java:237)
[junit] at org.apache.tomcat.util.net.TestXxxEndpoint.testStartStopBindOnInit(TestXxxEndpoint.java:141)

but this "Address already in use" I get always (all version), but the "Socket accept failed" is new.


- Exception in async servlet during TestAsyncContextImpl test cases testBug59219a and testBug59219b for all Connectors (similar to 8.0.35):

[junit] 15-May-2016 00:52:17.808 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug59219a] [junit] 15-May-2016 00:52:17.816 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-30"] [junit] 15-May-2016 00:52:17.818 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat [junit] 15-May-2016 00:52:17.820 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.2 [junit] 15-May-2016 00:52:17.842 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-127.0.0.1-auto-30-45818] [junit] 15-May-2016 00:52:17.854 SEVERE [http-nio-127.0.0.1-auto-30-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [async] in context with path [] threw exception [null] with root cause
    [junit]  javax.servlet.ServletException
[junit] at org.apache.catalina.core.TestAsyncContextImpl$Bug59219Servlet.doGet(TestAsyncContextImpl.java:1892) [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) [junit] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) [junit] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108) [junit] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522) [junit] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [junit] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [junit] at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) [junit] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [junit] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349) [junit] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1102) [junit] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [junit] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:788) [junit] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1485) [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [junit] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    [junit]     at java.lang.Thread.run(Thread.java:745)
    [junit]
[junit] 15-May-2016 00:52:17.862 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-30-45818"] [junit] 15-May-2016 00:52:17.914 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat [junit] 15-May-2016 00:52:17.925 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-30-45818"] [junit] 15-May-2016 00:52:17.927 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-30-45818"] [junit] 15-May-2016 00:52:17.938 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug59219b] [junit] 15-May-2016 00:52:17.943 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-31"] [junit] 15-May-2016 00:52:17.945 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat [junit] 15-May-2016 00:52:17.945 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.2 [junit] 15-May-2016 00:52:17.967 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-127.0.0.1-auto-31-45821] [junit] 15-May-2016 00:52:17.978 SEVERE [http-nio-127.0.0.1-auto-31-exec-1] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet async threw exception
    [junit]  javax.servlet.ServletException
[junit] at org.apache.catalina.core.TestAsyncContextImpl$Bug59219Servlet.doGet(TestAsyncContextImpl.java:1892) [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) [junit] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:726) [junit] at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:647) [junit] at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:613) [junit] at org.apache.catalina.core.AsyncContextImpl$AsyncRunnable.run(AsyncContextImpl.java:593) [junit] at org.apache.catalina.core.AsyncContextImpl.doInternalDispatch(AsyncContextImpl.java:381) [junit] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:196) [junit] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108) [junit] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522) [junit] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [junit] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [junit] at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) [junit] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [junit] at org.apache.catalina.connector.CoyoteAdapter.asyncDispatch(CoyoteAdapter.java:238) [junit] at org.apache.coyote.AbstractProcessor.dispatch(AbstractProcessor.java:203) [junit] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53) [junit] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:788) [junit] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1485) [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [junit] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    [junit]     at java.lang.Thread.run(Thread.java:745)
    [junit]
[junit] 15-May-2016 00:52:17.980 SEVERE [http-nio-127.0.0.1-auto-31-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [async] in context with path [] threw exception [null] with root cause
    [junit]  javax.servlet.ServletException
[junit] at org.apache.catalina.core.TestAsyncContextImpl$Bug59219Servlet.doGet(TestAsyncContextImpl.java:1892) [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) [junit] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:726) [junit] at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:647) [junit] at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:613) [junit] at org.apache.catalina.core.AsyncContextImpl$AsyncRunnable.run(AsyncContextImpl.java:593) [junit] at org.apache.catalina.core.AsyncContextImpl.doInternalDispatch(AsyncContextImpl.java:381) [junit] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:196) [junit] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108) [junit] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522) [junit] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [junit] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [junit] at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) [junit] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [junit] at org.apache.catalina.connector.CoyoteAdapter.asyncDispatch(CoyoteAdapter.java:238) [junit] at org.apache.coyote.AbstractProcessor.dispatch(AbstractProcessor.java:203) [junit] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53) [junit] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:788) [junit] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1485) [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [junit] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    [junit]     at java.lang.Thread.run(Thread.java:745)
    [junit]
[junit] 15-May-2016 00:52:17.985 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-31-45821"] [junit] 15-May-2016 00:52:18.036 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat [junit] 15-May-2016 00:52:18.047 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-31-45821"] [junit] 15-May-2016 00:52:18.049 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-31-45821"]


Thanks for RM and regards,

Rainer

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

Reply via email to