Am 21.01.2016 um 13:38 schrieb Mark Thomas:
The proposed Apache Tomcat 9.0.0.M2 release is now available for voting.
This is the second milestone release for the 9.0.x branch. It should be
noted that, as a milestone release:
- Servlet 4.0 is not finalised
- The EGs have not started work on JSP 2.4, EL 3.1 or WebSocket 1.2/2.0
The major changes compared to the 9.0.0.M1 branch are:
- Ability to use OpenSSL with JSSE configuration
- Update to Tomcat-native 1.2.4 to pick up Windows binaries based on
OpenSSL 1.0.2e
- Allow HTTP redirects to be relative
- Lots of bug fixes
For full details, see the changelog:
http://svn.us.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml
It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.0.M2/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1059/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M2/
The proposed 9.0.0.M2 release is:
[ ] Broken - do not release
[X] Alpha - go ahead and release as 9.0.0.M2
+1 to release as alpha.
APR+SSL seemed not to have worked in the unit tests.
Details
=======
- MD5 OK
- signatures OK
- key in KEYS file
- gz and zip for src and bin consistent
- wrong eol-style for .../dbcp/pool2/BaseObject.java,
already fixed by kkolinko in r1725990
- src completely consistent with svn tag
- builds fine
- some classes of the examples webapp are not binary identical
in the provided build and the one I generate from the sources.
Checking deltas via javap shows only slightly different ordering
for some entries in tables.
- build result looks consistent with binaries
- no checkstyle complaints
- no Javadoc warnings
- Unit tests: Failures in APR SSL tests
- org.apache.tomcat.util.net.TestSsl
- org.apache.tomcat.websocket.TestWebSocketFrameClientSSL
- org.apache.tomcat.websocket.TestWsWebSocketContainer
- Details see below
- JMX MBean Comparison:
- WebModule MBean new attributes:
- mapperDirectoryRedirectEnabled false
- mapperContextRootRedirectEnabled true
- useRelativeRedirects true
- Deployment descriptor of /manager slightly changed,
The block <servlet-name>jsp</servlet-name> was removed
from the <filter-mapping> block for the CSRF filter.
- Manager MBean
- new attribute warnOnSessionAttributeFilterFailure (false)
- removed attributes maxInactiveInterval and distributable
Build and tests were done using Java 1.8.0_51. OS was Solaris 10 Sparc,
tcnative was 1.2.4 based on APR 1.5.1 and OpenSSL 1.0.2e.
unit test observations:
- lots of new messages "ERROR: Incomplete jul log message ... (only
timestamp)". Seem to come from org.apache.coyote.http2.Http2UpgradeHandler.
The APR test failures are:
org.apache.tomcat.util.net.TestSsl
Testcase: testSimpleSsl took 307.033 sec
Caused an ERROR
Read timed out
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at
java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
at
org.apache.catalina.startup.TomcatBaseTest.methodUrl(TomcatBaseTest.java:663)
at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:637)
at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:631)
at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:620)
at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:614)
at
org.apache.tomcat.util.net.TestSsl.testSimpleSsl(TestSsl.java:67)
Testcase: testKeyPass took 300.98 sec
Caused an ERROR
Read timed out
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at
java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
at
org.apache.catalina.startup.TomcatBaseTest.methodUrl(TomcatBaseTest.java:663)
at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:637)
at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:631)
at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:620)
at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:614)
at org.apache.tomcat.util.net.TestSsl.testKeyPass(TestSsl.java:87)
but in fact there's probably another root cause:
22-Jan-2016 03:54:42.179 SEVERE [main]
org.apache.coyote.AbstractProtocol.init Failed to initialize end point
associated with ProtocolHandler ["https-apr-127.0.0.1-auto-2-37067"]
java.lang.NullPointerException
at
org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:366)
at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:790)
at
org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:547)
at
org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:66)
at
org.apache.catalina.connector.Connector.initInternal(Connector.java:1010)
at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:549)
at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:855)
at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:141)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:354)
at
org.apache.catalina.startup.TomcatBaseTest$TomcatWithFastSessionIDs.start(TomcatBaseTest.java:819)
at org.apache.tomcat.util.net.TestSsl.testKeyPass(TestSsl.java:86)
...
22-Jan-2016 03:54:42.193 SEVERE [main]
org.apache.catalina.core.StandardService.initInternal Failed to
initialize connector [Connector[HTTP/1.1-auto-2]]
org.apache.catalina.LifecycleException: Failed to initialize component
[Connector[HTTP/1.1-auto-2]]
at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:549)
at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:855)
at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:141)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:354)
at
org.apache.catalina.startup.TomcatBaseTest$TomcatWithFastSessionIDs.start(TomcatBaseTest.java:819)
at org.apache.tomcat.util.net.TestSsl.testKeyPass(TestSsl.java:86)
...
Caused by: org.apache.catalina.LifecycleException: Protocol handler
initialization failed
at
org.apache.catalina.connector.Connector.initInternal(Connector.java:1014)
at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
... 35 more
Caused by: java.lang.NullPointerException
at
org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:366)
at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:790)
at
org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:547)
at
org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:66)
at
org.apache.catalina.connector.Connector.initInternal(Connector.java:1010)
... 36 more
In the other faile dtest cases, I see the same NPE happening.
Thanks as always and regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org