Tomcat 9.0.41 Released
The Apache Tomcat Project is proud to announce the release of version 9.0.41 of Apache Tomcat. The notable changes compared to 9.0.40 include:
- Align the behaviour of
ServletContext.getRealPath(String path)
with the recent clarification from the Servlet specification project. If the path parameter does not start with/
then Tomcat processes the call as if/
is appended to the beginning of the provided path. - Fix a potential file descriptor leak when WebSocket connections are attempted and fail. Patch provided by Maurizio Adami.
- Ensure that the LoadBalancerDrainingValve uses the correct setting for the secure attribute for any session cookies it creates. Based on a pull request by Andreas Kurth.
Full details of these changes, and all the other changes, are available in the Tomcat 9 changelog.
2020-12-08 Tomcat 8.5.61 Released
The Apache Tomcat Project is proud to announce the release of version 8.5.61 of Apache Tomcat. Apache Tomcat 8.5.x replaces 8.0.x and includes new features pulled forward from Tomcat 9.0.x. The minimum Java version and implemented specification versions remain unchanged. The notable changes compared to 8.5.60 include:
- Align the behaviour of
ServletContext.getRealPath(String path)
with the recent clarification from the Servlet specification project. If the path parameter does not start with/
then Tomcat processes the call as if/
is appended to the beginning of the provided path. - Fix a potential file descriptor leak when WebSocket connections are attempted and fail. Patch provided by Maurizio Adami.
- Ensure that the LoadBalancerDrainingValve uses the correct setting for the secure attribute for any session cookies it creates. Based on a pull request by Andreas Kurth.
Full details of these changes, and all the other changes, are available in the Tomcat 8.5 changelog.
beta, 2020-12-08 Tomcat 10.0.0 Released
The Apache Tomcat Project is proud to announce the release of version 10.0.0 (beta) of Apache Tomcat. This release is a beta release and is targeted at Jakarta EE 9.
Users of Tomcat 10 onwards should be aware that, as a result of the move from Java EE to Jakarta EE as part of the transfer of Java EE to the Eclipse Foundation, the primary package for all implemented APIs has changed from javax.*
to jakarta.*
. This will almost certainly require code changes to enable applications to migrate from Tomcat 9 and earlier to Tomcat 10 and later. A migration tool is under development to aid this process.
The notable changes in this release are:
- The Jakarta EE specifications are now final. Tomcat passes the TCKs apart from a number of expected failures that don’t impact specification compliance.
- The APR/Native AJP and HTTP connectors have been deprecated. Tomcat Native will continue to be used to support OpenSSL use with NIO and NIO2.
- Align the behaviour of
ServletContext.getRealPath(String path)
with the recent clarification from the Servlet specification project. If the path parameter does not start with/
then Tomcat processes the call as if/
is appended to the beginning of the provided path.
Full details of these changes, and all the other changes, are available in the Tomcat 10 (beta) changelog.
转自 https://tomcat.apache.org/