Apache Tomcat 9.0.0.M26 和 8.5.20 发布

发布于 2017年08月10日
收藏 4

Tomcat 9.0.0.M26 (alpha) 和 8.5.20 已发布。

Tomcat 9.0.0.M26 (alpha)是 9.0.x 分支的一个里程碑版本,并且已经为用户提供了 Apache Tomcat 9.0.x 中新功能的早期访问,以便他们可以提供反馈。与 9.0.0.M22 相比,有以下的显著变化:

  • When generating JSP runtime error messages that quote the relevant JSP source code, switch from using the results of the JSP page parsing process to using the JSR 045 source map data to identify the correct part of the JSP source from the stack trace. This significantly reduces the memory footprint of Jasper in development mode, provides a small performance improvement for error page generation and enables source quotes to continue to be provided after a Tomcat restart.

  • Add LoadBalancerDrainingValve, a Valve designed to reduce the amount of time required for a node to drain its authenticated users

  • Improve the Default Servlet's handling of static files when the file encoding is not compatible with the required response encoding.

  • Add support for a Tomcat specific deployment descriptor, /WEB-INF/tomcat-web.xml. This descriptor has an identical format to /WEB-INF/web.xml. The Tomcat descriptor takes precedence over any settings in conf/web.xml but does not take precedence over any settings in /WEB-INF/web.xml.

  • Add ExtractingRoot, a new WebResourceRoot implementation that extracts JARs to the work directory for improved performance when deploying packed WAR files.

  • Add support to the WebSocket client for following redirects when attempting to establish a WebSocket connection. Patch provided by J Fernandez.

  • Add support for the %X pattern in the AccessLogValve that reports the connection status at the end of the request. Patch provided by Zemian Deng.

完整的更新说明请查看 Tomcat 9 changelog


Apache Tomcat 8.5.20

Apache Tomcat 8.5.x 旨在替代 8.0.x,并包含从 Tomcat 9.0.x 向前推出的新功能。与 8.5.16 相比,有以下显著的变化:

  • 添加从配置文件设置 Windows 安装程序使用的默认值的功能。

  • 在尝试建立 WebSocket 连接时,向 WebSocket 客户端添加重定向的支持。

  • 添加对 AccessLogValve 中报告连接状态在请求结束时的 %X 模式的支持。

完整的更新说明请查看 Tomcat 8.5 changelog


转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:Apache Tomcat 9.0.0.M26 和 8.5.20 发布


9.0版本的第一个特性不错,出现运行时错误时 就更方便识别源代码位置。