docker-app/test.dockerapp/tomcat/webapps/docs/changelog.html

8612 lines
482 KiB
HTML

<!DOCTYPE html SYSTEM "about:legacy-compat">
<html lang="en"><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><link href="./images/docs-stylesheet.css" rel="stylesheet" type="text/css"><title>Apache Tomcat 8 (8.0.53) - Changelog</title></head><body><div id="wrapper"><header><div id="header"><div><div><div class="logo noPrint"><a href="https://tomcat.apache.org/"><img alt="Tomcat Home" src="./images/tomcat.png"></a></div><div style="height: 1px;"></div><div class="asfLogo noPrint"><a href="https://www.apache.org/" target="_blank"><img src="./images/asf-logo.svg" alt="The Apache Software Foundation" style="width: 266px; height: 83px;"></a></div><h1>Apache Tomcat 8</h1><div class="versionInfo">
Version 8.0.53,
<time datetime="2018-06-29">Jun 29 2018</time></div><div style="height: 1px;"></div><div style="clear: left;"></div></div></div></div></header><div id="middle"><div><div id="mainLeft" class="noprint"><div><nav><div><h2>Links</h2><ul><li><a href="index.html">Docs Home</a></li><li><a href="https://wiki.apache.org/tomcat/FAQ">FAQ</a></li><li><a href="#comments_section">User Comments</a></li></ul></div><div><h2>User Guide</h2><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="host-manager-howto.html">6) Host Manager</a></li><li><a href="realm-howto.html">7) Realms and AAA</a></li><li><a href="security-manager-howto.html">8) Security Manager</a></li><li><a href="jndi-resources-howto.html">9) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">10) JDBC DataSources</a></li><li><a href="class-loader-howto.html">11) Classloading</a></li><li><a href="jasper-howto.html">12) JSPs</a></li><li><a href="ssl-howto.html">13) SSL/TLS</a></li><li><a href="ssi-howto.html">14) SSI</a></li><li><a href="cgi-howto.html">15) CGI</a></li><li><a href="proxy-howto.html">16) Proxy Support</a></li><li><a href="mbeans-descriptors-howto.html">17) MBeans Descriptors</a></li><li><a href="default-servlet.html">18) Default Servlet</a></li><li><a href="cluster-howto.html">19) Clustering</a></li><li><a href="balancer-howto.html">20) Load Balancer</a></li><li><a href="connectors.html">21) Connectors</a></li><li><a href="monitoring.html">22) Monitoring and Management</a></li><li><a href="logging.html">23) Logging</a></li><li><a href="apr.html">24) APR/Native</a></li><li><a href="virtual-hosting-howto.html">25) Virtual Hosting</a></li><li><a href="aio.html">26) Advanced IO</a></li><li><a href="extras.html">27) Additional Components</a></li><li><a href="maven-jars.html">28) Mavenized</a></li><li><a href="security-howto.html">29) Security Considerations</a></li><li><a href="windows-service-howto.html">30) Windows Service</a></li><li><a href="windows-auth-howto.html">31) Windows Authentication</a></li><li><a href="jdbc-pool.html">32) Tomcat's JDBC Pool</a></li><li><a href="web-socket-howto.html">33) WebSocket</a></li><li><a href="rewrite.html">34) Rewrite</a></li></ul></div><div><h2>Reference</h2><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Tomcat Javadocs</a></li><li><a href="servletapi/index.html">Servlet Javadocs</a></li><li><a href="jspapi/index.html">JSP 2.3 Javadocs</a></li><li><a href="elapi/index.html">EL 3.0 Javadocs</a></li><li><a href="websocketapi/index.html">WebSocket 1.1 Javadocs</a></li><li><a href="https://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul></div><div><h2>Apache Tomcat Development</h2><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="https://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li><li><a href="tribes/introduction.html">Tribes</a></li></ul></div></nav></div></div><div id="mainRight"><div id="content"><h2>Changelog</h2><h3 id="Tomcat_8.0.53_(violetagg)">Tomcat 8.0.53 (violetagg)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.53_(violetagg)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Treat the <code>&lt;mapped-name&gt;</code> element of a
<code>&lt;env-entry&gt;</code> in web.xml in the same way as the
<code>mappedName</code> element of the equivalent <code>@Resource</code>
annotation. Both now attempt to set the <code>mappedName</code> property
of the resource. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the processing of resources with
<code>&lt;injection-target&gt;</code>s defined in web.xml. First look
for a match using JavaBean property names and then, only if a match is
not found, look for a match using fields. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When restoring a saved request with a request body after FORM
authentication, ensure that calls to the <code>HttpServletRequest</code>
methods <code>getRequestURI()</code>, <code>getQueryString()</code> and
<code>getProtocol()</code> are not corrupted by the processing of the
saved request body. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
JNDI resources that are defined with injection targets but no value are
now treated as if the resource is not defined. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that JNDI names used for <code>&lt;lookup-name&gt;</code> entries
in web.xml and for <code>lookup</code> elements of
<code>@Resource</code> annotations specify a name with an explicit
<code>java:</code> namespace. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Refactor the <code>org.apache.naming</code> package to reduce duplicate
code. Duplicate code identified by the Simian tool. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=50019">50019</a>: Add support for <code>&lt;lookup-name&gt;</code>.
Based on a patch by Gurkan Erdogdu. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60490">60490</a>: Various formatting and layout improvements for the
<code>ErrorReportValve</code>. Patch provided by Michael Osipov. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62343">62343</a>: Make CORS filter defaults more secure. This is the fix
for CVE-2018-8014. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that the web application resources implementation does not
incorrectly cache results for resources that are only visible as class
loader resources. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Make all loggers associated with Tomcat provided Filters non-static to
ensure that log messages are not lost when a web application is
reloaded. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the manifest for the annotations-api.jar. The JAR implements the
Common Annotations API 1.2 and the manifest should reflect that. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Switch to non-static loggers where there is a possibility of a logger
becoming associated with a web application class loader causing log
messages to be lost if the web application is stopped. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62389">62389</a>: Add the IPv6 loopback address to the default
<code>internalProxies</code> regular expression. Patch by Craig Andrews.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
In the <code>RemoteIpValve</code> and <code>RemoteIpFilter</code>,
correctly handle the case when the request passes through one or more
<code>trustedProxies</code> but no <code>internalProxies</code>. Based
on a patch by zhanhb. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the logic in <code>MBeanFactory.removeConnector()</code> to
ensure that the correct Connector is removed when there are multiple
Connectors using different addresses but the same port. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Make <code>JAASRealm</code> mis-configuration more obvious by requiring
the authenticated Subject to include at least one Principal of a type
specified by <code>userClassNames</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62476">62476</a>: Use GMT timezone for the value of
<code>Expires</code> header as required by HTTP specification
(RFC 7231, 7234). (kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.53_(violetagg)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Log an error message if the AJP connector detects the the reverse proxy
is sending AJP messages that are too large for the configured
<code>packetSize</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Relax Host validation by removing the requirement that the final
component of a FQDN must be alphabetic. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62371">62371</a>: Improve logging of Host validation failures. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correctly handle a digest authorization header when the user name
contains an escaped character. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correctly handle a digest authorization header when one of the hex
field values ends the header with in an invalid character. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correctly handle an invalid quality value in an
<code>Accept-Language</code> header. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve IPv6 validation by ensuring that IPv4-Mapped IPv6 addresses do
not contain leading zeros in the IPv4 part. Based on a patch by Katya
Stoycheva. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.53_(violetagg)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62080">62080</a>: Ensure that all reads of the current thread's context
class loader made by the UEL API and implementation are performed via a
<code>PrivilegedAction</code> to ensure that a
<code>SecurityException</code> is not triggered when running under a
<code>SecurityManager</code>. (mark)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62350">62350</a>: Refactor
<code>org.apache.jasper.runtime.BodyContentImpl</code> so a
<code>SecurityException</code> is not thrown when running under a
SecurityManger and additional permissions are not required in the
<code>catalina.policy</code> file. This is a follow-up to the fix for
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=43925">43925</a>. (kkolinko/markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.53_(violetagg)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Remove duplicate calls when creating a replicated session to reduce the
time taken to create the session and thereby reduce the chances of a
subsequent session update message being ignored because the session does
not yet exist. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.53_(violetagg)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When decoding of path parameter failed, make sure to throw
<code>DecodeException</code> instead of throwing
<code>ArrayIndexOutOfBoundsException</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Enable host name verification when using TLS with the WebSocket client.
(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.53_(violetagg)/Web_applications">Web applications</h4><div class="text">
<changlog>
<fix>
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62395">62395</a>: Clarify the meaning of the connector attribute
<code>minSpareThreads</code> in the documentation web application.
(markt)
</fix>
</changlog>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.53_(violetagg)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that the correct default value is returned when retrieve unset
properties in <code>McastService</code>. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.53_(violetagg)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When <code>logValidationErrors</code> is set to true, the connection
validation error is logged as <code>SEVERE</code> instead of
<code>WARNING</code>. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.53_(violetagg)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62391">62391</a>: Remove references to <code>javaw.exe</code> as this
file is not required by Tomcat and the references prevent the use of the
Server JRE. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the packaged version of the Tomcat Native Library to 1.2.17 to
pick up the latest Windows binaries built with APR 1.6.3 and OpenSSL
1.0.2o. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62458">62458</a>: Update the internal fork of Commons Pool 2 to dfef97b
(2018-06-18) to pick up some bug fixes and enhancements. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the internal fork of Commons DBCP 2 to 2.4.0. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Support building with Java 9+ while preserving the Java 7 compatibility
at runtime (requires Ant 1.9.8 or later). (ebourg)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Implement checksum checks when downloading dependencies that are used
to build Tomcat. (kkolinko)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.52_(violetagg)"><span style="float: right;">2018-05-08</span> Tomcat 8.0.52 (violetagg)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.52_(violetagg)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a rare edge case that is unlikely to occur in real usage. This edge
case meant that writing long streams of UTF-8 characters to the HTTP
response that consisted almost entirely of surrogate pairs could result
in one surrogate pair being dropped. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Register MBean when DataSource Resource <code>
type="javax.sql.XADataSource"</code>. Patch provided by Masafumi Miura.
(csutherl)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62297">62297</a>: Enable the <code>CrawlerSessionManagerValve</code> to
correctly handle bots that crawl multiple hosts and/or web applications
when the Valve is configured on a Host or an Engine. (fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62329">62329</a>: Correctly list resources in JAR files when directories
do not have dedicated entries. Patch provided by Meelis M&uuml;&uuml;r. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Collapse multiple leading <code>/</code> characters to a single
<code>/</code> in the return value of
<code>HttpServletRequest#getContextPath()</code> to avoid issues if the
value is used with <code>HttpServletResponse#sendRedirect()</code>. This
behaviour is enabled by default and configurable via the new Context
attribute <code>allowMultipleLeadingForwardSlashInPath</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve handing of overflow in the UTF-8 decoder with supplementary
characters. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.52_(violetagg)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Enable strict validation of the provided host name and port for all
connectors. Requests with invalid host names and/or ports will be
rejected with a 400 response. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Implement the requirements of RFC 7230 (and RFC 2616) that HTTP/1.1
requests must include a <code>Host</code> header and any request that
does not must be rejected with a 400 response. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Implement the requirements of RFC 7230 that any HTTP/1.1 request that
specifies a host in the request line, must specify the same host in the
<code>Host</code> header and that any such request that does not, must
be rejected with a 400 response. This check is optional and disabled by
default. It may be enabled with the
<code>allowHostHeaderMismatch</code> attribute of the Connector. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Implement the requirements of RFC 7230 that any HTTP/1.1 request that
contains multiple <code>Host</code> headers is rejected with a 400
response. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62273">62273</a>: Implement configuration options to work-around
specification non-compliant user agents (including all the major
browsers) that do not correctly %nn encode URI paths and query strings
as required by RFC 7230 and RFC 3986. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.52_(violetagg)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Enable ECJ version 4.7 and later to be used as a drop in replacement for
the ECJ version that ships with Apache Tomcat. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Enable Java 10 to be specified as a JSP source and/or target if a newer
ECJ version is used. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62287">62287</a>: Do not rely on hash codes to test instances of
<code>ValueExpressionImpl</code> for equality. Patch provided by Mark
Struberg. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.52_(violetagg)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62301">62301</a>: Correct a regression in the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61491">61491</a>
that didn't correctly handle a final empty message part in all
circumstances when using <code>PerMessageDeflate</code>. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.52_(violetagg)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Avoid warning when running under Cygwin when the
<code>JAVA_ENDORSED_DIRS</code> environment variable is not set. Patch
provided by Zemian Deng. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.51_(violetagg)"><span style="float: right;">2018-04-13</span> Tomcat 8.0.51 (violetagg)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.51_(violetagg)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=51195">51195</a>: Avoid a false positive report of a web application
memory leak by clearing <code>ObjectStreamClass$Caches</code> of classes
loaded by the web application when the web application is stopped.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Prevent Tomcat from applying gzip compression to content that is already
compressed with brotli compression. Based on a patch provided by burka.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62090">62090</a>: Null container names are not allowed. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62104">62104</a>: Fix programmatic login regression as the
NonLoginAuthenticator has to be set for it to work (if no login method
is specified). (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62117">62117</a>: Improve error message in <code>catalina.sh</code> when
calling <code>kill -0 &lt;pid&gt;</code> fails. Based on a suggestion
from Mark Morschhaeuser. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62118">62118</a>: Correctly create a JNDI <code>ServiceRef</code> using
the specified interface rather than the concrete type. Based on a
suggestion by &Aacute;ngel &Aacute;lvarez P&aacute;scua. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix for <code>RequestDumperFilter</code> log attribute. Patch provided
by Kirill Romanov via Github. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62123">62123</a>: Avoid <code>ConcurrentModificationException</code>
when attempting to clean up application triggered RMI memory leaks on
web application stop. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62168">62168</a>: When using the <code>PersistentManager</code> honor a
value of <code>-1</code> for <code>minIdleSwap</code> and do not swap
out sessions to keep the number of active sessions under
<code>maxActive</code>. Patch provided by Holger Sunke. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62172">62172</a>: Improve Javadoc for
<code>org.apache.catalina.startup.Constants</code> and ensure that the
constants are correctly used. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62175">62175</a>: Avoid infinite recursion, when trying to validate
a session while loading it with <code>PersistentManager</code>.
(fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that <code>NamingContextListener</code> instances are only
notified once of property changes on the associated naming resources.
(markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62224">62224</a>: Disable the <code>forkJoinCommonPoolProtection</code>
of the <code>JreMemoryLeakPreventionListener</code> when running on Java
9 and above since the underlying JRE bug has been fixed. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62263">62263</a>: Avoid a <code>NullPointerException</code> when the
<code>RemoteIpValve</code> processes a request for which no Context can
be found. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.51_(violetagg)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct off-by-one error in thread pool that allowed thread pools to
increase in size to one more than the configured limit. Patch provided
by usc. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.51_(violetagg)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Work-around a known, non-specification compliant behaviour in some
versions of IE that can allow XSS when the Manager application generates
a plain text response. Based on a suggestion from Muthukumar Marikani.
(markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add document for <code>FragmentationInterceptor</code>. (kfujino)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Document how the roles for an authenticated user are determined when the
<code>CombinedRealm</code> is used. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.51_(violetagg)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that <code>SQLWarning</code> has been cleared when connection
returns to the pool. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that parameters have been cleared when
<code>PreparedStatement</code> and/or <code>CallableStatement</code> are
cached. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Enable PoolCleaner to be started even if <code>validationQuery</code>
is not set. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.51_(violetagg)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the build script so MD5 hashes are no longer generated for
releases as per the change in the ASF distribution policy. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62164">62164</a>: Switch the build script to use TLS for downloads from
SourceForge and Maven Central to avoid failures due to HTTP to HTTPS
redirects. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.50_(violetagg)"><span style="float: right;">2018-02-13</span> Tomcat 8.0.50 (violetagg)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.50_(violetagg)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Prevent a stack trace being written to standard out when running on Java
10 due to changes in the <code>LogManager</code> implementation. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Avoid duplicate load attempts if one has been made already. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Avoid NPE in ThreadLocalLeakPreventionListener if there is no Engine.
(remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62000">62000</a>: When a JNDI reference cannot be resolved, ensure that
the root cause exception is reported rather than swallowed. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62036">62036</a>: When caching an authenticated user Principal in the
session when the web application is configured with the
<code>NonLoginAuthenticator</code>, cache the internal Principal object
rather than the user facing Principal object as Tomcat requires the
internal object to correctly process later authorization checks. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62067">62067</a>: Correctly apply security constraints mapped to the
context root using a URL pattern of <code>""</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When using Tomcat embedded, only perform Authenticator configuration
once during web application start. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Process all <code>ServletSecurity</code> annotations at web application
start rather than at servlet load time to ensure constraints are applied
consistently. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Minor optimization when calling class transformers. (rjung)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.50_(violetagg)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=48672">48672</a>: Add documentation for the Host Manager web
application. Patch provided by Marek Czernek. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.50_(violetagg)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the NSIS Installer used to build the Windows installer to version
3.03. (kkolinko)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.49_(violetagg)"><span style="float: right;">2018-01-24</span> Tomcat 8.0.49 (violetagg)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.49_(violetagg)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=47214">47214</a>: Use a loop to preload anonymous inner classes
when running under a <code>SecurityManager</code>, to be safe for
future changes in the code or using a different compiler. (kkolinko)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57619">57619</a>: Implement a small optimisation to how JAR URLs are
processed to reduce the storage of duplicate String objects in memory.
Patch provided by Dmitri Blinov. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61916">61916</a>: Extend the <code>AddDefaultCharsetFilter</code> to add
a character set when the content type is set via
<code>setHeader()</code> or <code>addHeader()</code> as well as when it
is set via <code>setContentType()</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61999">61999</a>: maxSavePostSize set to 0 should disable saving POST
data during authentication. (remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.49_(violetagg)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61886">61886</a>: Log errors on non-container threads at
<code>DEBUG</code> rather than <code>INFO</code>. The exception will be
made available to the application via the asynchronous error handling
mechanism. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61932">61932</a>: Allow a call to <code>AsyncContext.dispatch()</code>
to terminate non-blocking I/O. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix NIO2 handshaking with a full input buffer. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61993">61993</a>: Improve handling for <code>ByteChunk</code> and
<code>CharChunk</code> instances that grow close to the maximum size
allowed by the JRE. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.49_(violetagg)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=43925">43925</a>: Add a new system property
(<code>org.apache.jasper.runtime.BodyContentImpl.BUFFER_SIZE</code>) to
control the size of the buffer used by Jasper when buffering tag bodies.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61854">61854</a>: When using sets and/or maps in EL expressions, ensure
that Jasper correctly parses the expression. Patch provided by Ricardo
Martin Camarero. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve the handling of methods with varargs in EL expressions. In
particular, the calling of a varargs method with no parameters now works
correctly. Based on a patch by Nitkalya (Ing) Wiriyanuparb. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.49_(violetagg)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61223">61223</a>: Add the mbeans-descriptors.dtd file to the custom
MBean documentation so users have a reference to use when constructing
mbeans-descriptors.xml files for custom components. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Partial fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61886">61886</a>. Ensure that multiple threads do not
attempt to complete the <code>AsyncContext</code> if an I/O error occurs
in the stock ticker example Servlet. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61886">61886</a>: Prevent <code>ConcurrentModificationException</code>
when running the asynchronous stock ticker in the examples web
application. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61886">61886</a>: Prevent <code>NullPointerException</code> and other
errors if the stock ticker example is running when the examples web
application is stopped. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61910">61910</a>: Clarify the meaning of the <code>allowLinking</code>
option in the documentation web application. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add OCSP configuration information to the SSL How-To. Patch provided by
Marek Czernek. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=62006">62006</a>: Document the new <code>JvmOptions9</code> command line
parameter for <code>tomcat8.exe</code>. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.49_(violetagg)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61312">61312</a>: Prevent <code>NullPointerException</code>n when using
the statement cache of connection that has been closed. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.49_(violetagg)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the internal fork of Commons Pool 2 to 2.4.3. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the internal fork of Commons DBCP 2 to 8a71764 (2017-10-18) to
pick up some bug fixes and enhancements. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the internal fork of Commons FileUpload to 6c00d57 (2017-11-23)
to pick up some code clean-up. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the internal fork of Commons Codec to r1817136 to pick up some
code clean-up. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
The native source bundles (for Commons Daemon and Tomcat Native) are no
longer copied to the bin directory for the deploy target. They are now
only copied to the bin directory for the release target. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.48_(violetagg)"><span style="float: right;">2017-12-12</span> Tomcat 8.0.48 (violetagg)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.48_(violetagg)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
When running under Java 9 or later, and the
<code>urlCacheProtection</code> option of the
<code>JreMemoryLeakPreventionListener</code> is enabled, use the API
added in Java 9 to only disable the caching for JAR URL connections.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61597">61597</a>: Extend the <code>StandardJarScanner</code> to scan
JARs on the module path when running on Java 9 and class path scanning
is enabled. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix the JMX descriptor for <code>Wrapper.findInitParameter()</code>.
(rjung)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61601">61601</a>: Add support for multi-release JARs in JAR scanning and
web application class loading. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Provide the <code>SessionInitializerFilter</code> that can be used to
ensure that an HTTP session exists when initiating a WebSocket
connection. Patch provided by isapir. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Avoid a possible <code>NullPointerException</code> when timing out
<code>AsyncContext</code> instances during shut down. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.48_(violetagg)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61568">61568</a>: Avoid a potential <code>SecurityException</code> when
using the NIO2 connector and a new thread is added to the pool. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61736">61736</a>: Improve performance of NIO connector when clients
leave large time gaps between network packets. Patch provided by Zilong
Song. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61773">61773</a>: Fix a connection counting bug in the NIO2 connector
that meant connections using the non-blocking I/O features of the
Servlet API (which includes the WebSocket implementation on Tomcat
8.0.x) were not removed from the current connection count. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.48_(violetagg)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61816">61816</a>: Invalid expressions in attribute values or template
text should trigger a translation (compile time) error, not a run time
error. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.48_(violetagg)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61604">61604</a>: Add support for authentication in the websocket
client. Patch submitted by J Fernandez. (remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.48_(violetagg)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Enable Javadoc to be built with Java 9. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61603">61603</a>: Add XML filtering for the status servlet output where
needed. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the description of how the CGI servlet maps a request to a
script in the CGI How-To. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.48_(violetagg)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix incorrect behavior that attempts to resend channel messages more
than the actual setting value of <code>maxRetryAttempts</code>.
(kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that the remaining Sender can send channel messages by avoiding
unintended <code>ChannelException</code> caused by comparing the number
of failed members and the number of remaining Senders. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that remaining SelectionKeys that were not handled by throwing a
<code>ChannelException</code> during SelectionKey processing are
handled. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.48_(violetagg)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61439">61439</a> and exclude the JPA, JAX-WS and EJB
annotations completely from the Tomcat distributions. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve handling of endorsed directories. The endorsed directory
mechanism will only be used if the <code>JAVA_ENDORSED_DIRS</code>
system property is explicitly set or if
<code>$CATALINA_HOME/endorsed</code> exists. When running on Java 9, any
such attempted use of the endorsed directory mechanism will trigger an
error and Tomcat will fail to start. (rjung)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Refactoring in preparation for Java 9. Refactor to avoid using some
methods that will be deprecated in Java 9 onwards. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=51496">51496</a>: When using the Windows installer, check if the
requested service name already exists and, if it does, prompt the user
to select an alternative service name. Patch provided by Ralph
Plawetzki. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add necessary Java 9 configuration options to the startup scripts to
prevent warnings being generated on web application stop. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61590">61590</a>: Enable <code>service.bat</code> to recognise when
<code>JAVA_HOME</code> is configured for a Java 9 JDK. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61598">61598</a>: Update the Windows installer to search the new (as of
Java 9) registry locations when looking for a JRE. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add generation of a SHA-512 hash for release artifacts to the build
script. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61658">61658</a>: Update MIME mappings for fonts to use
<code>font/*</code> as per RFC8081. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the packaged version of the Tomcat Native Library to 1.2.16 to
pick up the latest Windows binaries built with APR 1.6.3 and OpenSSL
1.0.2m. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the NSIS Installer used to build the Windows installer to version
3.02.1. (kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the Windows installer to use "The Apache Software Foundation" as
the Publisher when Tomcat is displayed in the list of installed
applications in Microsoft Windows. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61803">61803</a>: Remove outdated SSL information from the Security
documentation. (remm)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.47_(violetagg)"><span style="float: right;">2017-10-03</span> Tomcat 8.0.47 (violetagg)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.47_(violetagg)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60963">60963</a>: Add <code>ExtractingRoot</code>, a new
<code>WebResourceRoot</code> implementation that extracts JARs to the
work directory for improved performance when deploying packed WAR files.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61554">61554</a>: Exclude test files in unusual encodings and markdown
files intended for display in GitHub from RAT analysis. Patch provided
by Chris Thistlethwaite. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61189">61189</a>: Add the ability to set environment variables for
individual CGI scripts. Based on a patch by jm009. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61210">61210</a>: When running under a SecurityManager, do not print a
warning about not being able to read a logging configuration file when
that file does not exist. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61280">61280</a>: Add RFC 7617 support to the
<code>BasicAuthenticator</code>. Note that the default configuration
does not change the existing behaviour. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61424">61424</a>: Avoid a possible <code>StackOverflowError</code> when
running under a <code>SecurityManager</code> and using
<code>Subject.doAs()</code>. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61489">61489</a>: When using the CGI servlet, make the generation of
command line arguments from the query string (as per section 4.4 of RFC
3875) optional. The feature is enabled by default for consistency with
previous releases. Based on a patch by jm009. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61503">61503</a>: This corrects a potential regression in the fix for
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60940">60940</a> with an alternative solution that adds the
<code>JarEntry</code> objects normally skipped by a
<code>JarInputStream</code> only if those entries exist. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61542">61542</a>: Fix CVE-2017-12617 and prevent JSPs from being
uploaded via a specially crafted request when HTTP PUT was enabled.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Use the correct path when loading the JVM <code>logging.properties</code>
file for Java 9. (rjung)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.47_(violetagg)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix possible race condition when setting IO listeners on an upgraded
connection. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=48655">48655</a>: Enable Tomcat to shutdown cleanly when using sendfile,
the APR/native connector and a multi-part download is in progress.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58244">58244</a>: Handle the case when OpenSSL resumes a TLS session
using a ticket and the full client certificate chain is not available.
In this case the client certificate without the chain will be presented
to the application. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix random <code>SocketTimeoutException</code>s when reading the request
<code>InputStream</code>. Based on a patch by Peter Major. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60900">60900</a>: Avoid a <code>NullPointerException</code> in the APR
Poller if a connection is closed at the same time as new data arrives on
that connection. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add an option to reject requests that contain HTTP headers with invalid
(non-token) header names with a 400 response. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.47_(violetagg)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61491">61491</a>: When using the <code>permessage-deflate</code>
extension, correctly handle the sending of empty messages after
non-empty messages to avoid the <code>IllegalArgumentException</code>.
(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.47_(violetagg)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Show connector cipher list in the manager web application in the
correct cipher order. (rjung)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.47_(violetagg)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
To avoid unexpected session timeout notification from backup session,
update the access time when receiving the map member notification
message. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add member info to the log message when the failure detection check
fails in <code>TcpFailureDetector</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Avoid Ping timeout until the added map member by receiving
<code>MSG_START</code> message is completely started. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When sending a channel message, make sure that the Sender has connected.
(kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the backup node selection logic that node 0 is returned twice
consecutively. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix race condition of <code>responseMap</code> in
<code>RpcChannel</code>. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.47_(violetagg)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61391">61391</a>: Ensure that failed queries are logged if the
<code>SlowQueryReport</code> interceptor is configured to do so and the
connection has been abandoned. Patch provided by Craig Webb. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61425">61425</a>: Ensure that transaction of idle connection has
terminated when the <code>testWhileIdle</code> is set to
<code>true</code> and <code>defaultAutoCommit</code> is set to
<code>false</code>. Patch provided by WangZheng. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61545">61545</a>: Correctly handle invocations of methods defined in the
<code>PooledConnection</code> interface when using pooled XA
connections. Patch provided by Nils Winkler. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.47_(violetagg)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61439">61439</a>: Remove the Java Annotation API classes from
tomcat-embed-core.jar and package them in a separate JAR in the
embedded distribution to provide end users with greater flexibility to
handle potential conflicts with the JRE and/or other JARs. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61441">61441</a>: Improve the detection of <code>JAVA_HOME</code> by the
<code>daemon.sh</code> script when running on a platform where Java has
been installed from an RPM. (rjung)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the packaged version of the Tomcat Native Library to 1.2.14 to
pick up the latest Windows binaries built with APR 1.6.2 and OpenSSL
1.0.2l. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Update fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59904">59904</a> so that values less than zero are accepted
instead of throwing a NegativeArraySizeException. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61563">61563</a>: Correct typos in Spanish translation. Patch provided by
Gonzalo V&aacute;squez. (csutherl)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61599">61599</a>: Update to Commons Daemon 1.1.0 for improved Java 9
support. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.46_(violetagg)"><span style="float: right;">2017-08-18</span> Tomcat 8.0.46 (violetagg)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.46_(violetagg)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Additional permission for deleting files is granted to JULI as it is
required by FileHandler when running under a Security Manager. The
thread that cleans the log files is marked as daemon thread.
(violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61229">61229</a>: Correct a regression in 8.0.44 that broke WebDAV
handling for resources with names that included a <code>&amp;</code>
character. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61232">61232</a>: When log rotation is disabled only one separator will
be used when generating the log file name. For example if the prefix is
<code>catalina.</code> and the suffix is <code>.log</code> then the log
file name will be <code>catalina.log</code> instead of
<code>catalina..log</code>. Patch provided by Katya Stoycheva.
(violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Performance improvements for service loader look-ups (and look-ups of
other class loader resources) when the web application is deployed in a
packed WAR file. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61253">61253</a>: Add warn message when Digester.updateAttributes
throws an exception instead of ignoring it. (csutherl)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61313">61313</a>: Make the read timeout configurable in the
<code>JNDIRealm</code> and ensure that a read timeout will result in an
attempt to fail over to the alternateURL. Based on patches by Peter
Maloney and Felix Schumacher. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61366">61366</a>: Add a new attribute, <code>localDataSource</code>, to
the <code>JDBCStore</code> that allows the Store to be configured to use
a DataSource defined by the web application rather than the default of
using a globally defined DataSource. Patch provided by Jonathan
Horowitz. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.46_(violetagg)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61086">61086</a>: Ensure to explicitly signal an empty request body for
HTTP 205 responses. Additional fix to r1795278. Based on a patch
provided by Alexandr Saperov. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61322">61322</a>: Correct two regressions caused by the fix for
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60319">60319</a> when using BIO with an external Executor. Firstly, use
the <code>maxThreads</code> setting from the Executor as the default for
<code>maxConnections</code> if none is specified. Secondly, use
<code>maxThreads</code> from the Executor when calculating the point at
which to disable keep-alive. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Prevent exceptions being thrown during normal shutdown of NIO
connections. This enables TLS connections to close cleanly. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.46_(violetagg)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=53031">53031</a>: Add support for the <code>fork</code> option when
compiling JSPs with the Jasper Ant task and javac. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.46_(violetagg)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57767">57767</a>: Add support to the WebSocket client for following
redirects when attempting to establish a WebSocket connection. Patch
provided by J Fernandez. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.46_(violetagg)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Remove references to the Loader attribute
<code>searchExternalFirst</code> from the documentation since the
attribute is no longer supported. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the documentation for how <code>StandardRoot</code> is
configured. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.46_(violetagg)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=52791">52791</a>: Add the ability to set the defaults used by the
Windows installer from a configuration file. Patch provided by Sandra
Madden. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.45_(violetagg)"><span style="float: right;">2017-07-01</span> Tomcat 8.0.45 (violetagg)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.45_(violetagg)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61101">61101</a>: CORS filter should set Vary header in response.
Submitted by Rick Riemer. (remm)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61105">61105</a>: Add a new JULI FileHandler configuration for
specifying the maximum number of days to keep the log files.
(violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61125">61125</a>: Ensure that <code>WarURLConnection</code> returns the
correct value for calls to <code>getLastModified()</code> as this is
required for the correct detection of JSP modifications when the JSP is
packaged in a WAR file. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve the <code>SSLValve</code> so it is able to handle client
certificate headers from Nginx. Based on a patch by Lucas Ventura Carro.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61154">61154</a>: Allow the Manager and Host Manager web applications to
start by default when running under a security manager. This was
accomplished by adding a custom permission,
<code>org.apache.catalina.security.DeployXmlPermission</code>, that
permits an application to use a <code>META-INF/context.xml</code> file
and then granting that permission to the Manager and Host Manager.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61173">61173</a>: Polish the javadoc for
<code>o.a.catalina.startup.Tomcat</code>. Patch provided by
peterhansson_se. (violetagg)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
A new configuration property <code>crawlerIps</code> is added to the
<code>o.a.catalina.valves.CrawlerSessionManagerValve</code>. Using this
property one can specify a regular expression that will be used to
identify crawlers based on their IP address. Based on a patch provided
by Tetradeus. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61180">61180</a>: Log a warning message rather than an information
message if it takes more than 100ms to initialised a
<code>SecureRandom</code> instance for a web application to use to
generate session identifiers. Patch provided by Piotr Chlebda. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61185">61185</a>: When an asynchronous request is dispatched via
<code>AsyncContext.dispatch()</code> ensure that
<code>getRequestURI()</code> for the dispatched request matches that of
the original request. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61201">61201</a>: Ensure that the <code>SCRIPT_NAME</code> environment
variable for CGI executables is populated in a consistent way regardless
of how the CGI servlet is mapped to a request. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61215">61215</a>: Correctly define <code>addConnectorPort</code> and
<code>invalidAuthenticationWhenDeny</code> in the
<code>mbean-descriptors.xml</code> file for the
<code>org.apache.catalina.valves</code> package so that the attributes
are accessible via JMX. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.45_(violetagg)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61086">61086</a>: Explicitly signal an empty request body for HTTP 205
responses. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Revert a change introduced in the fix for bug <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60718">60718</a> that
changed the status code recorded in the access log when the client
dropped the connection from 200 to 500. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Make asynchronous error handling more robust. In particular ensure that
<code>onError()</code> is called for any registered
<code>AsyncListener</code>s after an I/O error on a non-container
thread. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.45_(violetagg)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=44787">44787</a>: Improve error message when JSP compiler configuration
options are not valid. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61137">61137</a>: <code>j.s.jsp.tagext.TagLibraryInfo#uri</code> and
<code>j.s.jsp.tagext.TagLibraryInfo#prefix</code> fields should not be
final. Patch provided by Katya Todorova. (violetagg)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.45_(violetagg)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the log message when a <code>MessageHandler</code> for
<code>PongMessage</code> does not implement
<code>MessageHandler.Whole</code>. (rjung)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve thread-safety of <code>Future</code>s used to report the result
of sending WebSocket messages. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61183">61183</a>: Correct a regression in the previous fix for
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58624">58624</a> that could trigger a deadlock depending on the locking
strategy employed by the client code. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.45_(violetagg)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Better document the meaning of the trimSpaces option for Jasper. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61150">61150</a>: Configure the Manager and Host-Manager web
applications to permit serialization and deserialization of
CRSFPreventionFilter related session objects to avoid warning messages
and/or stack traces on web application stop and/or start when running
under a security manager. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.45_(violetagg)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=45832">45832</a>: Add HTTP DIGEST authentication support to the Catalina
Ant tasks used to communicate with the Manager application. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=45879">45879</a>: Add the <code>RELEASE-NOTES</code> file to the root of
the installation created by the Tomcat installer for Windows to make it
easier for users to identify the installed Tomcat version. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61055">61055</a>: Clarify the code comments in the rewrite valve to make
clear that there are no plans to provide proxy support for this valve
since Tomcat does not have proxy capbilities. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61076">61076</a>: Document the <code>altDDName</code> attribute for the
<code>Context</code> element. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct typo in Jar Scan Filter Configuration Reference.
Issue reported via comments.apache.org. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61145">61145</a>: Add missing <code>@Documented</code> annotation to
annotations in the annotations API. Patch provided by Katya Todorova.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61146">61146</a>: Add missing <code>lookup()</code> method to
<code>@EJB</code> annotation in the annotations API. Patch provided by
Katya Todorova. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct typo in Context Container Configuration Reference.
Patch provided by Katya Todorova. (violetagg)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.44_(violetagg)"><span style="float: right;">2017-05-16</span> Tomcat 8.0.44 (violetagg)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.44_(violetagg)/General">General</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Allow to exclude JUnit test classes using the build property
<code>test.exclude</code> and document the property in
BUILDING.txt. (rjung)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.44_(violetagg)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60940">60940</a>: Improve the handling of the <code>META-INF/</code> and
<code>META-INF/MANIFEST.MF</code> entries for Jar files located in
<code>/WEB-INF/lib</code> when running a web application from a packed
WAR file. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Pre-load the <code>ExceptionUtils</code> class. Since the class is used
extensively in error handling, it is prudent to pre-load it to avoid any
failure to load this class masking the true problem during error
handling. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Review those places where Tomcat re-encodes a URI or URI component and
ensure that that correct encoding (path differs from query string) is
applied and that the encoding is applied consistently. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Use a more reliable mechanism for the <code>DefaultServlet</code> when
determining if the current request is for custom error page or not.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that when the Default or WebDAV servlets process an error
dispatch that the error resource is processed via the
<code>doGet()</code> method irrespective of the method used for the
original request that triggered the error. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
If a static custom error page is specified that does not exist or cannot
be read, ensure that the intended error status is returned rather than a
404 or 403. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When the WebDAV servlet is configured and an error dispatch is made to a
custom error page located below <code>WEB-INF</code>, ensure that the
target error page is displayed rather than a 404 response. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61047">61047</a>: Add MIME mapping for woff2 fonts in the default
web.xml. Patch provided by Justin Williamson. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the logic that selects the encoding to use to decode the query
string in the <code>SSIServletExternalResolver</code> so that the
<code>useBodyEncodingForURI</code> attribute of the
<code>Connector</code> is correctly taken into account. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61072">61072</a>: Respect the documentation statements that allow
using the platform default secure random for session id generation.
(remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the javadoc for
<code>o.a.c.connector.CoyoteAdapter#parseSessionCookiesId</code>.
Patch provided by John Andrew (XUZHOUWANG) via Github. (violetagg)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.44_(violetagg)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60925">60925</a>: Improve the handling of access to properties defined
by interfaces when a <code>BeanELResolver</code> is used under a
<code>SecurityManager</code>. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61057">61057</a>: Update to Eclipse JDT Compiler 4.6.3. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61065">61065</a>: Ensure that once the class is resolved by
<code>javax.el.ImportHandler#resolveClass</code> it will be cached with
the proper name. (violetagg)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.44_(violetagg)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61003">61003</a>: Ensure the flags for reading/writing in
<code>o.a.t.websocket.AsyncChannelWrapperSecure</code> are correctly
reset even if some exceptions occurred during processing. (markt/violetagg)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.44_(violetagg)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Document <code>test.threads</code> option in BUILDING.txt.
(kkolinko, rjung)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add documents for <code>maxIdleTime</code> attribute to Channel Receiver
docs. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.44_(violetagg)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Code: " class="icon" src="./images/code.gif">
Refactor the creating a constructor for a proxy class to reduce
duplicate code. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
In <code>StatementFacade</code>, the method call on the statements that
have been closed throw <code>SQLException</code> rather than
<code>NullPointerException</code>. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.44_(violetagg)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct comments about Java 8 in <code>Jre8Compat</code>.
Patch provided by fibbers via Github. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60932">60932</a>: Correctly escape single quotes when used in i18n
messages. Based on a patch by Michael Osipov. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Update the custom Ant task that integrates with the Symantec code
signing service to use the now mandatory 2-factor authentication.
(markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.43_(violetagg)"><span style="float: right;">2017-04-02</span> Tomcat 8.0.43 (violetagg)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.43_(violetagg)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=54618">54618</a>: Add support to the
<code>HttpHeaderSecurityFilter</code> for the HSTS preload parameter.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60876">60876</a>: Ensure that <code>Set-Cookie</code> headers generated
by the <code>Rfc6265CookieProcessor</code> are aligned with the
specification. Patch provided by Jim Griswold. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60911">60911</a>: Ensure NPE will not be thrown when looking for SSL
session ID. Based on a patch by Didier Gutacker. (violetagg)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.43_(violetagg)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When using the NIO2 connector, ensure a WebSocket close frame is
processed before the end of stream is processed to ensure that the end
of stream is processed correctly. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60852">60852</a>: Correctly spell compressible when used in
configuration attributes and internal code. Based on a patch by Michael
Osipov. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve sendfile handling when requests are pipelined. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.43_(violetagg)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve the error handling for simple tags to ensure that the tag is
released and destroyed once used. (remm, violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60844">60844</a>: Correctly handle the error when fewer parameter values
than required by the method are used to invoke an EL method expression.
Patch provided by Daniel Gray. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.43_(violetagg)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60764">60764</a>: Implement <code>equals()</code> and
<code>hashCode()</code> in the <code>StatementFacade</code> in order to
enable these methods to be called on the closed statements if any
statement proxy is set. This behavior can be changed with
<code>useStatementFacade</code> attribute. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.43_(violetagg)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Refactor the build script and the NSIS installer script so that either
NSIS 2.x or NSIS 3.x can be used to build the installer. This is
primarily to re-enable building the installer on the Linux based CI
system where the combination of NSIS 3.x and wine leads to failed
installer builds. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.42_(markt)"><span style="float: right;">2017-03-14</span> Tomcat 8.0.42 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.42_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60596">60596</a>: Improve performance of DefaultServlet when sendfile
feature is disabled on connector. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Reduce the contention in the default <code>InstanceManager</code>
implementation when multiple threads are managing objects and need to
reference the annotation cache. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Extend the <code>JreMemoryLeakPreventionListener</code> to provide
protection against <code>ForkJoinPool.commonPool()</code> related memory
leaks. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60674">60674</a>: Remove <code>final</code> marker from
<code>CorsFilter</code> to enable sub-classing. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60683">60683</a>: Security manager failure causing NPEs when doing IO
on some JVMs. (csutherl)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60688">60688</a>: Update the internal fork of Apache Commons BCEL to
r1782855 to add early access Java 9 support to the annotation scanning
code. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When HTTP TRACE requests are disabled on the Connector, ensure that the
HTTP OPTIONS response from the WebDAV servlet does not include
TRACE in the returned Allow header. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60718">60718</a>: Improve error handling for asynchronous processing and
correct a number of cases where the <code>requestDestroyed()</code>
event was not being fired and an entry wasn't being made in the access
logs. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60722">60722</a>: Take account of the
<strong>dispatchersUseEncodedPaths</strong> setting on the current
<strong>Context</strong> when generating paths for dispatches triggered
by <code>AsyncContext.dispatch()</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60728">60728</a>: Make the separator Tomcat uses in the Tomcat specific
<code>war:file:...</code> URL protocol customizable via a system
property. The separator is equivalent to the use of the <code>!</code>
character in <code>jar:file:...</code> URLs. The default separator of
<code>*</code> remains unchanged. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60798">60798</a>: Correct a bug in the handling of JARs in unpacked WARs
that meant multiple attempts to read the same entry from a JAR in
succession would fail for the second and subsequent attempts. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60808">60808</a>: Ensure that the <code>Map</code> returned by
<code>ServletRequest.getParameterMap()</code> is fully immutable. Based
on a patch provided by woosan. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60824">60824</a>: Correctly cache the <code>Subject</code> in the
session - if there is a session - when running under a
<code>SecurityManager</code>. Patch provided by Jan Engehausen. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure request and response facades are used when firing application
listeners. (markt/remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.42_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that executor thread pools used with connectors pre-start the
configured minimum number of idle threads. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60594">60594</a>: Allow some invalid characters that were recently
restricted to be processed in requests by using the system property
<code>tomcat.util.http.parser.HttpParser.requestTargetAllow</code>.
(csutherl)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Modify the cookie header generated by the
<code>Rfc6265CookieProcessor</code> so it always sends an
<code>Expires</code> attribute as well as a <code>Max-Age</code>
attribute to avoid problems with Microsoft browsers that do not support
the <code>Max-Age</code> attribute. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.42_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Follow up to the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58178">58178</a>. When creating the
<code>ELContext</code> for a tag file, ensure that any registered
<code>ELContextListener</code>s are fired. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Refactor code generated for JSPs to reduce the size of the code required
for tags. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update to the Eclipse JDT Compiler 4.6.1. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.42_(markt)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Make the <code>accessTimeout</code> configurable in
<code>ClusterSingleSignOn</code>. The <code>accessTimeout</code> is used
as a timeout period for PING in replication map. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60806">60806</a>: To avoid <code>ClassNotFoundException</code>, make
sure that the web application class loader is passed to
<code>ReplicatedContext</code>. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.42_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60617">60617</a>: Correctly create a <code>CONNECT</code> request when
establishing a WebSocket connection via a proxy. Patch provided by
Svetlin Zarev. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.42_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that <code>NoRpcChannelReply</code> messages are not received on
<code>RpcCallback</code>. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.42_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the packaged version of the Tomcat Native Library to 1.2.12 to
pick up the latest Windows binaries built with OpenSSL 1.0.2k. (violetagg)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60784">60784</a>: Update all unit tests that test the HTTP status line
to check for the required space after the status code. Patch provided by
Michael Osipov. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the NSIS Installer used to build the Windows installer to version
3.01. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.41_(violetagg)"><span style="float: right;">2017-01-24</span> Tomcat 8.0.41 (violetagg)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.41_(violetagg)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Make the <code>accessTimeout</code> configurable in
<code>BackupManager</code>. The <code>accessTimeout</code> is used as a
timeout period for PING in replication map. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.41_(violetagg)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure the ASF logo image is displayed in host-manager. (violetagg)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.40_(violetagg)"><span style="float: right;">not released</span> Tomcat 8.0.40 (violetagg)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.40_(violetagg)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=53602">53602</a>: Add HTTP status code 451 (RFC 7725) to the list of
HTTP status codes recognised by Tomcat. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60446">60446</a>: Handle the case where the stored user credential uses
a different key length than the length currently configured for the
<code>CredentialHandler</code>. Based on a patch by Niklas Holm. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60351">60351</a>: Delay creating <code>META-INF/war-tracker</code> file
until after the WAR has been expanded to address the case where the
Tomcat process terminates during the expansion. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correctly handle the <code>configClass</code> attribute of a Host when
embedding Tomcat. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60379">60379</a>: Dispose of the GSS credential once it is no longer
required. Patch provided by Michael Osipov. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60380">60380</a>: Ensure that a call to
<code>HttpServletRequest#logout()</code> triggers a call to
<code>TomcatPrincipal#logout()</code>. Based on a patch by Michael
Osipov. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60387">60387</a>: Correct the javadoc for
<code>o.a.catalina.AccessLog.setRequestAttributesEnabled</code>.
The default value is different for the different implementations.
(violetagg)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60393">60393</a>: Use consistent parameter naming in implementations of
<code>Realm#authenticate(GSSContext, boolean)</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60395">60395</a>: Log when an <code>Authenticator</code> passes an
incomplete <code>GSSContext</code> to a Realm since it indicates a bug
in the <code>Authenticator</code>. Patch provided by Michael Osipov.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correctly generate URLs for resources located inside JARs that are
themselves located inside a packed WAR file. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60410">60410</a>: Ensure that multiple calls to
<code>JarInputStreamWrapper#close()</code> do not incorrectly trigger
the closure of the underlying JAR or WAR file. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60411">60411</a>: Implement support in the <code>RewriteValve</code> for
symbolic names to specify the redirect code to use when returning a
redirect response to the user agent. Patch provided by Michael Osipov.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60413">60413</a>: In the <code>RewriteValve</code> write empty capture
groups as the empty string rather than as <code>"null"</code>
when generating the re-written URL. Based on a patch by Michael Osipov.
(markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the warnings that reference required options for running on Java
9 to use the latest syntax for those options. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60513">60513</a>: Fix thread safety issue with RMI cleanup code. (remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.40_(violetagg)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that the endpoint is able to unlock the acceptor thread during
shutdown if the endpoint is configured to listen to any local address
of a specific type such as <code>0.0.0.0</code> or <code>::</code>.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Prevent read time out when the file is deleted while serving the
response. The issue was observed only with APR Connector and
sendfile enabled. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve the logic that selects an address to use to unlock the Acceptor
to take account of platforms what do not listen on all local addresses
when configured with an address of <code>0.0.0.0</code> or
<code>::</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60409">60409</a>: When unable to complete sendfile request, ensure the
Processor will be added to the cache only once. (markt/violetagg)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.40_(violetagg)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60431">60431</a>: Improve handling of varargs in UEL expressions. Based
on a patch by Ben Wolfe. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60497">60497</a>: Restore previous tag reuse behavior following the use
of try/finally. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve the error handling for simple tags to ensure that the tag is
released and destroyed once used. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60497">60497</a>: Follow up fix using a better variable name for the
tag reuse flag. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Revert use of try/finally for simple tags. (remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.40_(violetagg)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct a typo in Host Configuration Reference.
Issue reported via comments.apache.org. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60344">60344</a>: Add a note to BUILDING.txt regarding using the source
bundle with the correct line endings. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60412">60412</a>: Add information on the comment syntax for the
<code>RewriteValve</code> configuration. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60467">60467</a>: remove problematic characters from XML documentation.
Based upon a patch by Michael Osipov. (schultz)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
In the documentation web application, be explicit that clustering
requires a secure network for all of the cluster network traffic.
(markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the ASF logos to the new versions.
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60468">60468</a>: Correct the format of the sample ISO-8601 date used
to report the build date for the documentation. Patch provided by
Michael Osipov. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.40_(violetagg)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Reduce the warning logs for a message received from a different domain
in order to avoid excessive log outputs. (kfujino)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add log message that PING message has received beyond the timeout
period. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When a PING message that beyond the time-out period has been received,
make sure that valid member is added to the map membership. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.40_(violetagg)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60437">60437</a>: Avoid possible handshake overflows in the websocket
client. (remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.40_(violetagg)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58816">58816</a>: Implement the statistics of jdbc-pool. The stats infos
are <code>borrowedCount</code>, <code>returnedCount</code>,
<code>createdCount</code>, <code>releasedCount</code>,
<code>reconnectedCount</code>, <code>releasedIdleCount</code> and
<code>removeAbandonedCount</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60194">60194</a>: If <code>validationQuery</code> is not specified,
connection validation is done by calling the <code>isValid()</code>
method. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60398">60398</a>: Fix testcase of <code>TestSlowQueryReport</code>.
(kfujino)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Enable reset the statistics without restarting the pool. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.40_(violetagg)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60366">60366</a>: Change <code>catalina.bat</code> to use directly
<code>LOGGING_MANAGER</code> and <code>LOGGING_CONFIG</code> variables
in order to configure logging, instead of modifying
<code>JAVA_OPTS</code>. Patch provided by Petter Isberg. (violetagg)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
New property is added <code>test.verbose</code> in order to control
whether the output of the tests is displayed on the console or not.
Patch provided by Emmanuel Bourg. (violetagg)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the ASF logos used in the Apache Tomcat installer for Windows to
use the new versions.
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Spelling corrections provided by Josh Soref. (violetagg)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.39_(violetagg)"><span style="float: right;">2016-11-14</span> Tomcat 8.0.39 (violetagg)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.39_(violetagg)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When creating a new Connector via JMX, ensure that both HTTP/1.1 and
AJP/1.3 connectors can be created. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Include the Context name in the log message when an item cannot be
added to the cache. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Exclude JAR files in <code>/WEB-INF/lib</code> from the static resource
cache. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When calling <code>getResourceAsStream()</code> on a directory, ensure
that <code>null</code> is returned. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60161">60161</a>: Allow creating subcategories of the container logger,
and use it for the rewrite valve. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correctly test for control characters when reading the provided shutdown
password. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When configuring the JMX remote listener, specify the allowed types for
the credentials. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.39_(violetagg)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the HTTP header parser so that DEL is not treated as a valid
token character. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60319">60319</a>: When using an Executor, disconnect it from the
Connector attributes <code>maxThreads</code>,
<code>minSpareThreads</code> and <code>threadPriority</code> to enable
the configuration settings to be consistently reported. These Connector
attributes will be reported as <code>-1</code> when an Executor is in
use. The values used by the executor may be set and obtained via the
Executor. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
If an I/O error occurs during async processing on a non-container
thread, ensure that the <code>onError()</code> event is triggered.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve detection of I/O errors during async processing on non-container
threads and trigger async error handling when they are detected. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add additional checks for valid characters to the HTTP request line
parsing so invalid request lines are rejected sooner. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.39_(violetagg)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct a typo in HTTP Connector How-To.
Issue reported via comments.apache.org. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix default value of <code>validationInterval</code> attribute in
jdbc-pool. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct a typo in CGI How-To.
Issue reported via comments.apache.org. (violetagg)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.39_(violetagg)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When the proxy node sends a backup retrieve message, ensure that using
the <code>channelSendOptions</code> that has been set rather than the
default <code>channelSendOptions</code>. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.39_(violetagg)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the ECJ compiler to version 4.5.1. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Remove classes from tomcat-util-scan.jar that are duplicates of those in
tomcat-util.jar. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Update the NSIS Installer used to build the Windows installer to version
3.0. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.38_(markt)"><span style="float: right;">2016-10-10</span> Tomcat 8.0.38 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.38_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59961">59961</a>: Add an option to the <code>StandardJarScanner</code>
to control whether or not JAR Manifests are scanned for additional
class path entries. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60013">60013</a>: Refactor the previous fix to align the behaviour of
the Rewrite Valve with mod_rewrite. As part of this, provide an
implementation for the <code>B</code> and <code>NE</code> flags and
improve the handling for the <code>QSA</code> flag. Includes multiple
test cases by Santhana Preethiand a patch by Tiago Oliveira. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60087">60087</a>: Refactor the web resources handling to use the Tomcat
specific <code>war:file:...</code> URL protocol to refer to WAR files
and their contents rather than the standard <code>jar:file:...</code>
form since some components of the JRE, such as JAR verification, give
unexpected results when the standard form is used. A side-effect of the
refactoring is that when using packed WARs, it is now possible to
reference a WAR and/or specific JARs within a WAR in the security policy
file used when running under a <code>SecurityManager</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60116">60116</a>: Fix a problem with the rewrite valve that caused back
references evaluated in conditions to be forced to lower case when using
the <code>NC</code> flag. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure <code>Digester.useContextClassLoader</code> is considered in
case the class loader is used. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60117">60117</a>: Ensure that the name of <code>LogLevel</code> is
localized when using <code>OneLineFormatter</code>. Patch provided by
Tatsuya Bessho. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60146">60146</a>: Improve performance for resource retrieval by making
calls to WebResource.getInputStream() trigger caching if the resource is
small enough. Patch provided by mohitchugh. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60151">60151</a>: Improve the exception error messages when a
<code>ResourceLink</code> fails to specify the type, specifies an
unknown type or specifies the wrong type. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60167">60167</a>: Ignore empty lines in <code>/etc/passwd</code> files
when using the <code>PasswdUserDatabase</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60170">60170</a>: Exclude the compressed test file
<code>index.html.br</code> from RAT analysis. Patch provided by Gavin
McDonald. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When starting web resources, ensure that class resources are only
started once. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve the access checks for linked global resources to handle the case
where the current class loader is a child of the web application class
loader. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60199">60199</a>: Log a warning if deserialization issues prevent a
session attribute from being loaded. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.38_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correctly handle a call to <code>AsyncContext.complete()</code> from a
non-container thread when non-blocking I/O is being used. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Refactor the code that implements the requirement that a call to
<code>complete()</code> or <code>dispatch()</code> made from a
non-container thread before the container initiated thread that called
<code>startAsync()</code> completes must be delayed until the container
initiated thread has completed. Rather than implementing this by
blocking the non-container thread, extend the internal state machine to
track this. This removes the possibility that blocking the non-container
thread could trigger a deadlock. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60123">60123</a>: Avoid potential threading issues that could cause
excessively large vales to be returned for the processing time of
a current request. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60174">60174</a>: Log instances of <code>HeadersTooLargeException</code>
during request processing. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.38_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60101">60101</a>: Remove preloading of the class that was deleted.
(violetagg)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.38_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Expand the documentation for the nested elements within a
<code>Resources</code> element to clarify the behaviour of different
configuration options with respect to the order in which resources are
searched. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add an example of using the <code>classesToInitialize</code> attribute
of the <code>JreMemoryLeakPreventionListener</code> to the documentation
web application. Based on a patch by Cris Berneburg. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60192">60192</a>: Correct a typo in the status output of the Manager
application. Patch provided by Radhakrishna Pemmasani. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.38_(markt)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Notify jmx when returning the connection that has been marked suspect.
(kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that the <code>POOL_EMPTY</code> notification has been added to
the jmx notification types. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60099">60099</a>: Ensure that use all method arguments as a cache key
when using <code>StatementCache</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60139">60139</a>: Correct Javadocs for
<code>PoolConfiguration.getValidationInterval</code> and
<code>setValidationInterval</code>. Reported by Phillip Webb. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.38_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Update the download location for Objenesis. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60164">60164</a>: Replace <code>log4j-core*.jar</code> with
<code>log4j-web*.jar</code> since it is <code>log4j-web*.jar</code> that
contains the <code>ServletContainerInitializer</code>. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add documentation to the bin/catalina.bat script to remind users that
environment variables don't affect the configuration of Tomcat when
run as a Windows Service. Based upon a documentation patch by
James H.H. Lampert. (schultz)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the packaged version of the Tomcat Native Library to 1.2.10 to
pick up the latest Windows binaries built with OpenSSL 1.0.2j. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.37_(markt)"><span style="float: right;">2016-09-05</span> Tomcat 8.0.37 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.37_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57705">57705</a>: Add debug logging for requests denied by the remote
host and remote address valves and filters. Based on a patch by Graham
Leggett. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59399">59399</a>: Add a new option to the Realm implementations that
ship with Tomcat that allows the HTTP status code used for HTTP -&gt; HTTPS
redirects to be controlled per Realm. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Change the default of the
<code>sessionCookiePathUsesTrailingSlash</code> attribute of the
<code>Context</code> element to <code>false</code> since the problems
caused when a Servlet is mapped to <code>/*</code> are more significant
than the security risk of not enabling this option by default. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Do not attempt to start web resources during a web application's
initialisation phase since the web application is not fully configured
at that point and the web resources may not be correctly configured.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59708">59708</a>: Modify the LockOutRealm logic. Valid authentication
attempts during the lock out period will no longer reset the lock out
timer to zero. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve error handling around user code prior to calling
<code>InstanceManager.destroy()</code> to ensure that the method is
executed. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59813">59813</a>: Ensure that circular relations of the Class-Path
attribute from JAR manifests will be processed correctly. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that reading the <code>singleThreadModel</code> attribute of a
<code>StandardWrapper</code> via JMX does not trigger initialisation of
the associated servlet. With some frameworks this can trigger an
unexpected initialisation thread and if initialisation is not thread-safe
the initialisation can then fail. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Compatibility with rewrite from httpd for non existing headers.
(jfclere)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
By default, treat paths used to obtain a request dispatcher as encoded.
This behaviour can be changed per web application via the
<code>dispatchersUseEncodedPaths</code> attribute of the Context.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59839">59839</a>: Apply <code>roleSearchAsUser</code> to all nested searches
in JNDIRealm. (fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59859">59859</a>: Fix resource leak in WebDAV servlet. Based on patch by
Coty Sutherland. (fschumacher)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Provide a mechanism that enables the container to check if a component
(typically a web application) has been granted a given permission when
running under a SecurityManager without the current execution stack
having to have passed through the component. Use this new mechanism to
extend SecurityManager protection to the system property replacement
feature of the digester. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
When retrieving an object via a <code>ResourceLink</code>, ensure that
the object obtained is of the expected type. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59824">59824</a>: Mark the <code>RewriteValve</code> as supporting async
processing by default. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59862">59862</a>: Allow nested jar files scanning to be filtered with
the system property
<code>tomcat.util.scan.StandardJarScanFilter.jarsToSkip</code>. Patch
is provided by Terence Bandoian. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59866">59866</a>: When scanning <code>WEB-INF/classes</code> for
annotations, don't scan the contents of
<code>WEB-INF/classes/META-INF</code> (if present) since classes will
never be loaded from that location. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59888">59888</a>: Correctly handle tabs and spaces in quoted version one
cookies when using the <code>Rfc6265CookieProcessor</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59912">59912</a>: Fix an edge case in input stream handling where an
<code>IOException</code> could be thrown when reading a POST body.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59960">59960</a>: Fix Javadoc so it builds with Java 8. Patch by Coty
Sutherland. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59966">59966</a>: Do not start the web application if the error page
configuration in web.xml is invalid. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Switch the CGI servlet to the standard logging mechanism and remove
support for the debug attribute. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Changes to the <code>allowLinking</code> attribute of a
<code>StandardRoot</code> instance now invalidate the cache if caching
is enabled. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add a new initialisation parameter, <code>envHttpHeaders</code>, to
the CGI Servlet to mitigate <a href="https://httpoxy.org">httpoxy</a>
(<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5388">CVE-2016-5388</a>) by default and to provide a mechanism that can be
used to mitigate any future, similar issues. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
When adding and removing <code>ResourceLink</code>s dynamically, ensure
that the global resource is only visible via the
<code>ResourceLinkFactory</code> when it is meant to be. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60008">60008</a>: When processing CORs requests, treat any origin with a
URI scheme of <code>file</code> as a valid origin. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve handling of exceptions during a Lifecycle events triggered by a
state transition. The exception is now caught and the component is now
placed into the <code>FAILED</code> state. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60013">60013</a>: Fix encoding issues when using the RewriteValve with
UTF-8 query strings or UTF-8 redirect URLs. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60022">60022</a>: Improve handling when a WAR file and/or the associated
exploded directory are symlinked into the <code>appBase</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a file descriptor leak when reading the global web.xml. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Consistently decode URL patterns provided via web.xml using the encoding
of the web.xml file where specified or UTF-8 where no explicit encoding
is specified. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Make timing attacks against the Realm implementations harder. (schultz)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.37_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve error handling around user code prior to calling
<code>InstanceManager.destroy()</code> to ensure that the method is
executed. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Extend synchronization for NIO2 writes to avoid
<code>ConcurrentModificationException</code> observed during testing.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59904">59904</a>: Add a limit (default 200) for the number of cookies
allowed per request. Based on a patch by gehui. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59925">59925</a>: Correct regression in r1628368 and ensure that HTTP
separators are handled as configured in the
<code>LegacyCookieProcessor</code>. Patch provided by Kyohei Nakamura.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
OpenSSL now disables 3DES by default so reflect this when using OpenSSL
syntax to select ciphers. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.37_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve error handling around user code prior to calling
<code>InstanceManager.destroy()</code> to ensure that the method is
executed. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve the error handling for custom tags to ensure that the tag is
returned to the pool or released and destroyed once used. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60032">60032</a>: Fix handling of method calls that use varargs within
EL value expressions. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ignore <code>engineOptionsClass</code> and <code>scratchdir</code> when
running under a security manager. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fixed StringIndexOutOfBoundsException. Based on a patch provided by
wuwen via Github. (violetagg)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.37_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve error handling around user code prior to calling
<code>InstanceManager.destroy()</code> to ensure that the method is
executed. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59908">59908</a>: Ensure that a reason phrase is included in the close
message if a session is closed due to a timeout. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.37_(markt)/Web_Applications">Web Applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Do not log an additional case of <code>IOException</code>s in the
error handler for the Drawboard WebSocket example when the root cause is
the client disconnecting since the logs add no value. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59642">59642</a>: Mention the <code>localDataSource</code> in the
<code>DataSourceRealm</code> section of the Realm How-To. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Follow-up to the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59399">59399</a>. Ensure that the new attribute
<code>transportGuaranteeRedirectStatus</code> is documented for all
<strong>Realm</strong>s. Also document the <code>NullRealm</code> and
when it is automatically created for an <strong>Engine</strong>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix the description of <code>maxAge</code> attribute in jdbc-pool doc.
This attribute works both when a connection is returned and when a
connection is borrowed. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59774">59774</a>: Correct the <code>prefix</code> values in the
documented examples for configuring the <code>AccessLogValve</code>.
Patch provided by Mike Noordermeer. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59868">59868</a>: Clarify the documentation for the Manager web
application to make clearer that the host name and IP address in the
server section are the primary host name and IP address. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
MBeans Descriptors How-To is moved to
<code>mbeans-descriptors-howto.html</code>. Patch provided by Radoslav
Husar. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Update NIO Connector configuration documentation with an information
about <code>socket.directSslBuffer</code>. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60034">60034</a>: Correct a typo in the Manager How-To page of the
documentation web application. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.37_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add log message when the ping has timed-out. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
If the ping message has been received at the
<code>AbstractReplicatedMap#leftOver</code> method, ensure that notify
the member is alive than ignore it. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.37_(markt)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix the duplicated connection release when connection verification
failed. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that do not remove the abandoned connection that has been already
released. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
In order to avoid the unintended skip of <code>PoolCleaner</code>,
remove the check code of the execution interval in the task that has
been scheduled. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59850">59850</a>: Ensure that the <code>ResultSet</code> is closed when
enabling the <code>StatementCache</code> interceptor. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59923">59923</a>: Reduce the default value of
<code>validationInterval</code> in order to avoid the potential issue
that continues to return an invalid connection after database restart.
(kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that the <code>ResultSet</code> is returned as Proxy object when
enabling the <code>StatementDecoratorInterceptor</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=60043">60043</a>: Ensure that the <code>suspectTimeout</code> works
without removing connection when the <code>removeAbandoned</code> is
disabled. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add log message of when returning the connection that has been marked
suspect. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct Javadoc for <code>ConnectionPool.suspect()</code>. Based on a
patch by Yahya Cahyadi. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.37_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59276">59276</a>: Update optional Checkstyle library to 6.17. (kkolinko)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Use the mirror network rather than the ASF master site to download the
current ASF dependencies. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the packaged version of the Tomcat Native Library to 1.2.8 to
pick up the latest fixes and make 1.2.8 the minimum recommended version.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59899">59899</a>: Update Tomcat's copy of the Java Persistence
annotations to include the changes made in 2.1 / JavaEE 7. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fixed typos in mbeans-descriptors.xml files. (violetagg)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the internal fork of Commons BCEL to r1757132 to align with the
BCEL 6 release. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the internal fork of Commons DBCP2 to r1757164 to pick up a
couple of bug fixes. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the internal fork of Commons Codec to r1757174. Code formatting
changes only. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the internal fork of Commons FileUpload to afdedc9. This pulls in
a fix to improve the performance with large multipart boundaries.
(markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.36_(markt)"><span style="float: right;">2016-06-13</span> Tomcat 8.0.36 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.36_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
RMI Target related memory leaks are avoidable which makes them an
application bug that needs to be fixed rather than a JRE bug to work
around. Therefore, start logging RMI Target related memory leaks on web
application stop. Add an option that controls if the check for these
leaks is made. Log a warning if running on Java 9 with this check
enabled but without the command line option it requires. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure NPE will not be thrown during deployment when scanning jar files
without MANIFEST.MF file. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59604">59604</a>: Correct the assumption made in the URL decoding that
the default platform encoding is always compatible with ISO-8859-1. This
assumption is not always valid, e.g. on z/OS. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59608">59608</a>: Skip over any invalid <code>Class-Path</code> attribute
from JAR manifests. Log errors at debug level due to many bad libraries.
(remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix error message when failed to register MBean. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.36_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that requests with HTTP method names that are not tokens (as
required by RFC 7231) are rejected with a 400 response. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When an asynchronous request is processed by the AJP connector, ensure
that request processing has fully completed before starting the next
request. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
If an async dispatch results in the completion of request processing,
ensure that any remaining request body is swallowed before starting the
processing of the next request else the remaining body may be read as the
start of the next request leading to a 400 response. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.36_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59567">59567</a>: Fix NPE scanning webapps for TLDs when an exploded
JAR has an empty WEB-INF/classes/META-INF folder. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a memory leak in the expression language implementation that caused
the class loader of the first web application to use expressions to be
pinned in memory. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59640">59640</a>: NPEs with not found TLDs. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59654">59654</a>: Improve error message when attempting to use a TLD
file from an invalid location. Patch provided by Huxing Zhang. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.36_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58891">58891</a>: Update the SSL how-to. Based on a suggestion by
Alexander Kj&auml;ll. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.36_(markt)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a memory leak with the pool cleaner thread that retained a reference
to the web application class loader for the first web application to use
a connection pool. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.36_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the internal fork of Commons DBCP 2 to r1743696 (2.1.1 plus
additional fixes). (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the internal fork of Commons Pool 2 to r1743697 (2.4.2 plus
additional fixes). (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the internal fork of Commons File Upload to r1743698 (1.3.1 plus
additional fixes). (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the option code coverage tool Cobertura to 2.1.1 so it is easier
to compare the change in lines of code between 8.0.x and 9.0.x. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58626">58626</a>: Add support for a new environment variable
(<code>USE_NOHUP</code>) that causes <code>nohup</code> to be used when
starting Tomcat. It is disabled by default except on HP-UX where it is
enabled by default since it is required when starting Tomcat at boot on
HP-UX. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.35_(markt)"><span style="float: right;">2016-05-16</span> Tomcat 8.0.35 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.35_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that annotated web components packed in web fragments will be
processed when <code>unpackWARs</code> is enabled. (violetagg)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.34_(markt)"><span style="float: right;">not released</span> Tomcat 8.0.34 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.34_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59206">59206</a>: Ensure NPE will not be thrown by
<code>o.a.tomcat.util.file.ConfigFileLoader</code> when
<code>catalina.base</code> is not specified. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59217">59217</a>: Remove duplication in the recycling of the path in
<code>o.a.tomcat.util.http.ServerCookie</code>. Patch is provided by
Kyohei Nakamura. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59213">59213</a>: Async dispatches should be based off a wrapped
request. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that <code>javax.servlet.ServletRequest</code> and
<code>javax.servlet.ServletResponse</code> provided during
<code>javax.servlet.AsyncListener</code> registration are made
available via <code>javax.servlet.AsyncEvent.getSuppliedRequest</code>
and <code>javax.servlet.AsyncEvent.getSuppliedResponse</code>
(violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59219">59219</a>: Ensure <code>AsyncListener.onError()</code> is called
if an <code>Exception</code> is thrown during async processing. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59220">59220</a>: Ensure that <code>AsyncListener.onComplete()</code> is
called if the async request times out and the response is already
committed. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59226">59226</a>: Process the <code>Class-Path</code> attribute from
JAR manifests for JARs on the class path excluding JARs packaged in
<code>WEB-INF/lib</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59255">59255</a>: Fix possible NPE in mapper. (kkolinko/remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59256">59256</a>: <code>slf4j-taglib*.jar</code> should not be excluded
from the standard JAR scanning by default. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Clarify in the log message that specifying both urlPatterns and value
attributes in WebServlet and WebFilter annotations is not allowed.
(violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure the exceptions caused by Valves will be available in the log
files so that they can be evaluated when
<code>o.a.catalina.valves.ErrorReportValve.showReport</code> is
disabled. Patch is provided by Svetlin Zarev. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix handling of Cluster Receiver in StoreConfig. The <code>bind</code>
and <code>host</code> attributes define as
<code>TransientAttribute</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59261">59261</a>: <code>ServletRequest.getAsyncContext()</code> now
throws an <code>IllegalStateException</code> as required by the Servlet
specification if the request is not in asynchronous mode when called.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59269">59269</a>: Correct the implementation of
<code>PersistentManagerBase</code> so that <code>minIdleSwap</code>
functions as designed and sessions are swapped out to keep the active
session count below <code>maxActiveSessions</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59247">59247</a>: Preload ResourceEntry as a workaround for security
manager issues on some JVMs. (kkolinko/remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correctly configure the base path for a resources directory provided by
an expanded JAR file. Patch provided by hengyunabc. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that <code>/WEB-INF/classes</code> is never processed as a web
fragment. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59310">59310</a>: Do not add a <code>Content-Length: 0</code> header for
custom responses to <code>HEAD</code> requests that do not set a
<code>Content-Length</code> value. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Make a web application's CredentialHandler available through a context
attribute. This allows a web application to use the same algorithm
for validating or generating new stored credentials from cleartext
ones. (schultz)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When normalizing paths, improve the handling when paths end with
<code>/.</code> or <code>/..</code> and ensure that input and output are
consistent with respect to whether or not they end with <code>/</code>.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59317">59317</a>: Ensure that
<code>HttpServletRequest.getRequestURI()</code> returns an encoded URI
rather than a decoded URI after a dispatch. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Use the correct URL for the fragment when reporting errors processing
a <code>web-fragment.xml</code> file from a JAR located in an unpacked
WAR. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that <code>JarScanner</code> only uses the explicit call-back to
process <code>WEB-INF/classes</code> and only when configured to treat
the contents of <code>WEB-INF/classes</code> as a possible exploded JAR.
(markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Remove the <code>java2DDisposerProtection</code> option from the
<code>JreMemoryLeakPreventionListener</code>. The leak is fixed in Java
7 onwards and Tomcat 8 requires Java 7 so the option is unnecessary.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that the value for the header <code>X-Frame-Options</code> is
constructed correctly according to the specification when
<code>ALLOW-FROM</code> option is used. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59449">59449</a>: In <code>ContainerBase</code>, ensure that the process
to remove a child container is the reverse of the process to add one.
Patch provided by Huxing Zhang. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.34_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When running on Java 7, exclude DHE ciphers from the default cipher list
for JSSE connectors since they use weak 768 bit DH keys and cannot be
configured to use more secure keys. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add a new environment variable <code>JSSE_OPTS</code> that is intended
to be used to pass JVM wide configuration to the JSSE implementation.
The default value is <code>-Djdk.tls.ephemeralDHKeySize=2048</code>
which protects against weak Diffie-Hellman keys with Java 8. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Exclude ciphers that use RSA keys from the default cipher list since
they do not support forward secrecy. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58970">58970</a>: Fix a connection counting bug in the NIO connector
that meant some dropped connections were not removed from the current
connection count. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59289">59289</a>: Do not recycle upgrade processors in unexpected close
situations. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59295">59295</a>: Use <code>Locale.toLanguageTag()</code> to construct
the <code>Content-Language</code> HTTP header to ensure the locale is
correctly represented. Patch provided by zikfat. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59451">59451</a>: Correct Javadoc for <code>MessageBytes</code>. Patch
provided by Kyohei Nakamura. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59450">59450</a>: Correctly handle the case where the
<code>LegacyCookieProcessor</code> is configured with
<code>allowHttpSepsInV0</code> set to <code>false</code> and
<code>forwardSlashIsSeparator</code> set to <code>true</code>. Patch
provided by Kyohei Nakamura. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.34_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When scanning JARs for TLDs, correctly handle the (rare) case where a
JAR has been exploded into <code>WEB-INF/classes</code> and the web
application is deployed as a packed WAR. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.34_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that a client disconnection triggers the error handling for the
associated WebSocket end point. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Make WebSocket client more robust when handling errors during the close
of a WebSocket session. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.34_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Update in the documentation the link to the maven repository where
Tomcat snapshot artifacts are deployed. (markt/violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Clarify in the documentation that calls to
<code>ServletContext.log(String, Throwable)</code> or
<code>GenericServlet.log(String, Throwable)</code> are logged at the
SEVERE level. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct a typo in SSL/TLS Configuration How-To.
Issue reported via comments.apache.org. (violetagg)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.34_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Avoid NPE when a proxy node failed to retrieve a backup entry. (kfujino)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add log of when received an unexpected messages. (kfujino)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add the flag indicating that member is a localMember. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix potential NPE that depends on the setting order of attributes of
static member when using the static cluster. (kfujino)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add get/set method for the channel that is related to
<code>ChannelInterceptorBase</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
As with the multicast cluster environment, in the static cluster
environment, the local member inherits properties from the cluster
receiver. (kfujino)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add get/set method for the channel that is related to each Channel
services. (kfujino)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add name to channel in order to identify channels. In tomcat cluster
environment, it is set the cluster name + "-Channel" as default value.
(kfujino)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add the channel name to the thread which is invoked by channel services
in order to identify the associated channel. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that clear the channel instance from channel services when
stopping channel. (kfujino)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Implement map state in the replication map. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that the ping is not executed during the start/stop of the
replication map. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
In ping processing in the replication map, send not the
<code>INIT</code> message but the newly introduced <code>PING</code>
message. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.34_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59211">59211</a>: Add hamcrest to Eclipse classpath. Patch is provided
by Huxing Zhang. (violetagg)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59280">59280</a>: Update the NSIS Installer used to build the
Windows Installers to version 2.51. (kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
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. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.33_(markt)"><span style="float: right;">2016-03-24</span> Tomcat 8.0.33 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.33_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct a regression in the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58867">58867</a>. When configuring a
Context to use an external directory for the <code>docBase</code>, and
that directory happens to be located along side the original WAR, use
the directory as the <code>docBase</code> rather than expanding the
WAR into the <code>appBase</code> and using the newly created expanded
directory as the <code>docBase</code>. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58351">58351</a>: Make the server build date and server version number
accessible via JMX. Patch provided by Huxing Zhang. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58988">58988</a>: Special characters in the substitutions for the RewriteValve
can now be quoted with a backslash. (fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58999">58999</a>: Fix class and resource name filtering in WebappClassLoader.
It throws a StringIndexOutOfBoundsException if the name is exactly
"org" or "javax". (rjung)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Remove unnecessary code. There is no support for context level cluster.
(kfujino)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Make checking for var and map replacement in RewriteValve a bit stricter and
correct detection of colon in var replacement. (fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix the type of <code>InstanceManager</code> attribute of mbean
definition of <code>StandardContext</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Refactor the web application class loader to reduce the impact of JAR
scanning on the memory footprint of the web application. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix some resource leaks in the error handling for accessing files from
JARs and WARs. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Refactor the JAR and JAR-in-WAR resource handling to reduce the memory
footprint of the web application. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57809">57809</a>: Deprecate the custom context attribute
<code>org.apache.tomcat.util.scan.MergedWebXml</code> which will be
removed in Tomcat 9. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59001">59001</a>: Correctly handle the case when Tomcat is installed on
a path where one of the segments ends in an exclamation mark. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Expand the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59001">59001</a> to cover the special sequences used
in Tomcat's custom jar:war: URLs. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59043">59043</a>: Avoid warning while expiring sessions associated with
a single sign on if <code>HttpServletRequest.logout()</code> is used.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59054">59054</a>: Ensure that using the
<code>CrawlerSessionManagerValve</code> in a distributed environment
does not trigger an error when the Valve registers itself in the
session. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Storeconfig handling of alternate cookie processors. (markt/remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Storeconfig handling for socket properties. (remm)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Log a warning message if a user tries to configure the default session
timeout via the deprecated (and ignored)
<code>Manager.setMaxInactiveInterval()</code> method. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix incorrect parsing of the NE and NC flags in rewrite rules. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59065">59065</a>: Correct the timing of the check for colons in paths
on non-Windows systems implemented in <code>catalina.sh</code> so it
works correctly with Cygwin. Patch provided by Ed Randall. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When a Host is configured with an appBase that does not exist, create
the appBase before trying to expand an external WAR file into it.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59115">59115</a>: When using the Servlet 3.0 file upload, the submitted
file name may be provided as a token or a quoted-string. If a
quoted-string, unquote the string before returning it to the user.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59123">59123</a>: Close <code>NamingEnumeration</code> objects used by
the <code>JNDIRealm</code> once they are no longer required.
(fschumacher/markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59138">59138</a>: Correct a false positive warning for ThreadLocal
related memory leaks when the key class but not the value class has been
loaded by the web application class loader. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59145">59145</a>: Don't log an invalid warning when a user logs out of
a session associated with SSO. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59151">59151</a>: Fix a regression in the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56917">56917</a> that
added additional (and arguably unnecessary) validation to the provided
redirect location. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59154">59154</a>: Fix a <code>NullPointerException</code> in the
<code>JASSMemoryLoginModue</code> resulting from the introduction of the
<code>CredentialHandler</code> to <code>Realm</code>s. (schultz/markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.33_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58646">58646</a>: Correct a problem with sendfile that resulted in a
Processor being added to the cache twice leading to broken responses.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59015">59015</a>: Fix potential cause of endless APR Poller loop during
shutdown if the Poller experiences an error during the shutdown process.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Align cipher aliases for <code>kECDHE</code> and <code>ECDHE</code> with
the current OpenSSL implementation. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59081">59081</a>: Retain the user defined cipher order when defining
ciphers using the OpenSSL format. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59089">59089</a>: Correctly ignore HTTP headers that include non-token
characters in the header name. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add support for additional OpenSSL cipher aliases from OpenSSL master
when specifying ciphers using the OpenSSL syntax. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.33_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57583">57583</a>: Improve the performance of
<code>javax.servlet.jsp.el.ScopedAttributeELResolver</code> when
resolving attributes that do not exist. This improvement only works when
Jasper is used with with Tomcat's EL implementation. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58111">58111</a>: Update to the Eclipse JDT Compiler 4.5. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add Java 9 support for JSPs. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.33_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59014">59014</a>: Ensure that a WebSocket close message can be sent
after a close message has been received. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correctly handle compression of partial messages when the final message
fragment has a zero length payload. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59119">59119</a>: Correct read logic for WebSocket client when using
secure connections. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59134">59134</a>: Correct client connect logic for secure connections
made through a proxy. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59189">59189</a>: Explicitly release the native memory held by the
<code>Inflater</code> and <code>Deflater</code> when using
PerMessageDeflate and the WebSocket session ends. Based on a patch by
Henrik Olsson. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.33_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct an error in the documentation of the expected behaviour for
automatic deployment. If a WAR is updated and an expanded directory is
present, the directory will always be deleted and recreated by expanding
the WAR if <code>unpackWARs</code> is <code>true</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58935">58935</a>: Remove incorrect references in the documentation to
using <code>jar:file:</code> URLs with the Manager application. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the description of the
<code>ServletRequest.getServerPort()</code> in Proxy How-To.
Issue reported via comments.apache.org. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a potential indefinite wait in the Comet Chat servlet in the
examples web application. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.33_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
If promoting a proxy node to a primary node when getting a session,
notify the change of the new primary node to the original backup node.
(kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.33_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58283">58283</a>: Change the default download location for libraries
during the build process from <code>/usr/share/java</code> to
<code>${user.home}/temp</code>. Patch provided by Ahmed Hosni. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=59031">59031</a>: When using the Windows uninstaller, do not remove the
contents of any directories that have been symlinked into the Tomcat
directory structure. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the packaged version of the Tomcat Native Library to 1.2.5 to
pick up the Windows binaries that are based on OpenSSL 1.0.2g and APR
1.5.1. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Modify the default <code>tomcat-users.xml</code> file to make it harder
for users to configure the entries intended for use with the examples
web application for the Manager application. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.32_(markt)"><span style="float: right;">2016-02-08</span> Tomcat 8.0.32 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.32_(markt)/General">General</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Allow to configure multiple JUnit test class patterns with the build
property <code>test.name</code> and document the property in
BUILDING.txt. (rjung)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58768">58768</a>: Log a warning if a redirect fails because of an
invalid location. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.32_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix class loader decision on the delegation for class loading and
resource lookup and make it faster too. (rjung)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58946">58946</a>: Ensure that the request parameter map remains
immutable when processing via a RequestDispatcher. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58827">58827</a>: Deprecate what is left of the JSR 77 implementation.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58905">58905</a>: Ensure that <code>Tomcat.silence()</code> silences the
correct logger and respects the current setting. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.32_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
New configuration option <code>ajpFlush</code> for the AJP connectors
to disable the sending of AJP flush packets. (rjung)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.32_(markt)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct a regression in the session attribute filtering that prevented
clustering from starting in the default configuration. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.32_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a timing issue on session close that could result in an exception
being thrown for an incomplete message even through the message was
completed. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.31_(markt)"><span style="float: right;">not released</span> Tomcat 8.0.31 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.31_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct implementation of
<code>validateClientProvidedNewSessionId</code> so client provided
session IDs may be rejected if validation is enabled. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add path parameter handling to
<code>HttpServletRequest.getContextPath()</code>. This is a follow-up to
the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57215">57215</a>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58692">58692</a>: Make <code>StandardJarScanner</code> more robust. Log
a warning if a class path entry cannot be scanned rather than triggering
the failure of the web application. Includes a test case written by
Derek Abdine. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58701">58701</a>: Reset the <code>instanceInitialized</code> field in
<code>StandardWrapper</code> when unloading a Servlet so that a new
instance may be correctly initialized. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58702">58702</a>: Ensure an access log entry is generated if the client
aborts the connection. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fixed various issues reported by Findbugs. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58735">58735</a>: Add support for the <code>X-XSS-Protection</code>
header to the <code>HttpHeaderSecurityFilter</code>. Patch provided by
Jacopo Cappellato. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58751">58751</a>: Correctly handle the case where an
<code>AsyncListener</code> dispatches to a Servlet on an asynchronous
timeout and the Servlet uses <code>sendError()</code> to trigger an
error page. Includes a test case based on code provided by Andy
Wilkinson.(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58765">58765</a>: Change default for
<code>mapperContextRootRedirectEnabled</code> to <code>true</code> since
this is required for correct session management because of the default
for <code>sessionCookiePathUsesTrailingSlash</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add the <code>StatusManagerServlet</code> to the list of Servlets that
can only be loaded by privileged applications. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Simplify code and fix messages in
<code>org.apache.catalina.core.DefaultInstanceManager</code> class.
(kkolinko)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Deprecate InstanceListener, InstanceEvent and InstanceSupport prior to
removal in 9.0.x. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that the proper file encoding if specified will be used when
a readme file is served by DefaultServlet. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix declaration of <code>localPort</code> attribute of Connector MBean:
it is read-only. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58766">58766</a>: Make skipping non-class files during annotation
scanning faster by checking the file name first. Improve debug logging.
(kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58809">58809</a>: Correctly recycle cookies when mapping requests for
parallel deployment. As a side-effect of this fix, the system property
<code>org.apache.tomcat.util.http.ServerCookie.PRESERVE_COOKIE_HEADER</code>
is no longer used. From this release, Tomcat will always preserve the
cookie header. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58836">58836</a>: Correctly merge query string parameters when
processing a forwarded request where the target includes a query string
that contains a parameter with no value. (markt/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Make sure that shared Digester is reset in an unlikely error case
in <code>HostConfig.deployWAR()</code>. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58867">58867</a>: Improve checking on Host start for WAR files that have
been modified while Tomcat has stopped and re-expand them if
<code>unpackWARs</code> is <code>true</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a potential JDBC resource leak in DataSourceRealm. (schultz)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58900">58900</a>: Correctly undeploy symlinked resources and prevent an
infinite cycle of deploy / undeploy. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Protect initialization of <code>ResourceLinkFactory</code> when
running with a SecurityManager. (kkolinko)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Extend the feature available in the cluster session manager
implementations that enables session attribute replication to be
filtered based on attribute name to all session manager implementations.
Note that configuration attribute name has changed from
<code>sessionAttributeFilter</code> to
<code>sessionAttributeNameFilter</code>. Apply the filter on load as
well as unload to ensure that configuration changes made while the web
application is stopped are applied to any persisted data. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Extend the session attribute filtering options to include filtering
based on the implementation class of the value and optional
<code>WARN</code> level logging if an attribute is filtered. These
options are available for all of the Manager implementations that ship
with Tomcat. When a <code>SecurityManager</code> is used filtering will
be enabled by default. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.31_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix handling of missing messages in
<code>org.apache.el.util.MessageFactory</code>. (violetagg)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.31_(markt)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
In order to avoid that the heartbeat thread and the background thread to
run <code>Channel.heartbeat</code> simultaneously, if
<code>heartbeatBackgroundEnabled</code> of <code>SimpleTcpCluster</code>
set to <code>true</code>, ensure that the heartbeat thread does not
start. (kfujino)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Simplify the code of <code>JvmRouteBinderValve.startInternal()</code>.
Avoid potential NPE when <code>JvmRouteBinderValve</code> is configured
directly at <code>Engine</code> element. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.31_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57489">57489</a>: Ensure <code>onClose()</code> is called when a
WebSocket connection is closed even if the sending of the close message
fails. Includes test cases by Barry Coughlan. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.31_(markt)/Web_Applications">Web Applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add a description of the default value of
<code>heartbeatSleeptime</code> attribute and <code>optionCheck</code>
attribute in the cluster channel docs. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct some typos in the JNDI resources How-To. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Don't create sessions unnecessarily in the Manager application. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Don't create sessions unnecessarily in the Host Manager application.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58723">58723</a>: Clarify documentation and error messages for the text
interface of the manager to make clear that version must be used with
path when referencing contexts deployed using parallel deployment.
(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.31_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix potential NPE in <code>AbstractReplicatedMap.breakdown()</code>.
(kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add support for the startup notification of local members in the static
cluster. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ignore the unnecessary member remove operation from different domain.
(kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add support for the shutdown notification of local members in the static
cluster. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that asynchronous session replication thread is a daemon thread.
(kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.31_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Remove native code (Windows Service Wrapper, APR/native connector)
support for Windows Itanium. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the packaged version of the Tomcat Native Library to 1.2.4 to
pick up the Windows binaries that are based on OpenSSL 1.0.2e and APR
1.5.1. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the NSIS Installer used to build the Windows Installers to
version 2.50. (markt/kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update optional Checkstyle library to 6.14.1. (kkolinko)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.30_(markt)"><span style="float: right;">2015-12-06</span> Tomcat 8.0.30 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.30_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=34319">34319</a>: Only load those keys in
<code>StoreBase.processExpire</code> from JDBCStore, that are old
enough, to be expired. Based on a patch by Tom Anderson. (fschumacher)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56917">56917</a>: As per RFC7231 (HTTP/1.1), allow HTTP/1.1 and later
redirects to use relative URIs. This is controlled by a new attribute
<code>useRelativeRedirects</code> on the <strong>Context</strong> and
defaults to <code>true</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58629">58629</a>: Allow an embedded Tomcat instance to start when the
<code>Service</code> has no <code>Engine</code> configured. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58635">58635</a>: Enable break points to be set within agent code when
running Tomcat with a Java agent. Based on a patch by Huxing Zhang.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58660">58660</a>: Correct a regression in 8.0.29 caused by the change
that moved the redirection for context roots from the Mapper to the
Default Servlet. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fixed potential NPE in <code>HostConfig</code> while deploying an
application. Issue reported by coverity scan. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58655">58655</a>: Fix an <code> IllegalStateException</code> when
calling <code>HttpServletResponse.sendRedirect()</code> with the
<code>RemoteIpFilter</code>. This was caused by trying to correctly
generate the absolute URI for the redirect. With the fix for
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56917">56917</a>, redirects may now be relative making the
<code>sendRedirect()</code> implementation for the
<code>RemoteIpFilter</code> much simpler. This also addresses issues
where the redirect may not have behaved as expected when redirecting
from http to https to from https to http. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58657">58657</a>: Exceptions in a Servlet 3.1 <code>ReadListener</code>
or <code>WriteListener</code> do not need to be immediately fatal to the
connection. Allow an error response to be written. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.30_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve upgrade context classloader handling by using Context.bind and
unbind. (remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.30_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57136#c25">57136#c25</a>: Change default value of
<code>quoteAttributeEL</code> setting in Jasper to be <code>true</code>
for better compatibility with other implementations and older versions
of Tomcat (8.0.26/7.0.64 and earlier). Add command line option
<code>-no-quoteAttributeEL</code> in JspC. (kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.30_(markt)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix potential integer overflow in <code>DeltaSession</code>.
Reported by coverity scan. (fschumacher)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.30_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55006">55006</a>: The WebSocket client now honors the
<code>java.net.java.net.ProxySelector</code> configuration (using the
HTTP type) when establishing WebSocket connections to servers. Based on
a patch by Niki Dokovski. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58624">58624</a>: Correct a thread safety issue that meant that blocking
message writes could block indefinitely if the WebSocket connection was
closed while a message write was in progress. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.30_(markt)/Web_Applications">Web Applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58631">58631</a>: Correct the continuation character use in the Windows
Service How-To page of the documentation web application. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.30_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that the static member is registered to the add suspect list even
if the static member that is registered to the remove suspect list has
disappeared. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the warning log of when the member that is not registered in the
membership is detected. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When using a static cluster, add the members that have been cached in
the membership service to the map members list in order to ensure that
the map member is a static member. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.30_(markt)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct evaluation of system property
<code>org.apache.tomcat.jdbc.pool.onlyAttemptCurrentClassLoader</code>.
It was basically ignored before. Reported by coverity scan.
(fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix potential integer overflow in <code>ConnectionPool</code> and
<code>PooledConnection</code>. Reported by coverity scan. (fschumacher)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.30_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update optional Checkstyle library to 6.13. (kkolinko)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.29_(markt)"><span style="float: right;">2015-11-24</span> Tomcat 8.0.29 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.29_(markt)/General">General</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58596">58596</a>: Clarify the description in RUNNING.txt of how
environment variables are used. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.29_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Extend the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57136">57136</a> to provide a JSP Servlet
initialisation parameter per web application that controls whether or
not EL in JSP attributes is processed as if it uses JSP attribute
quoting. By default, EL does not use JSP attribute quoting. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57799">57799</a>: InputStream.available() was causing an IO operation
to occur even in blocking mode, which caused problems with NIO2.
(remm)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Extend the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58228">58228</a> to include
<code>ServletContext.getRealPath()</code>. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58486">58486</a>: Protect against two further possible memory leaks
associated with XML parsing. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58490">58490</a>: Fixed NPE thrown when scanning for
<code>javax.servlet.ServletContainerInitializer</code> in case the web
application is not extracted. (violetagg)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58497">58497</a>: Make <code>AbstractHttp11Processor</code> easy to
extend. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58508">58508</a>: Escape role names when generating associated MBeans in
case the role name contains characters not permitted in an MBean name.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58518">58518</a>: Correct a regression in the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56777">56777</a>
that added support for URIs in config file locations. File paths on
Windows could previously be specified with <code>\</code> or
<code>/</code> as the separator. <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56777">56777</a> broke that. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58519">58519</a>: Fix ISE thrown by web application classloader in some
error conditions due to trying to call <code>initCause()</code> on a
<code>ClassNotFoundException</code> which is not permitted. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58534">58534</a>: Removed repeated conditional tests in
<code>o.a.tomcat.websocket.pojo.PojoMethodMapping</code> and
<code>o.a.tomcat.util.net.AprEndpoint</code>
Patch provided by Anthony Whitford. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58535">58535</a>: Use <code>Collections.reverseOrder</code>
when a reverse ordering is needed. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58537">58537</a>, <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58546">58546</a>: Some of the inner classes in
<code>o.a.catalina.valves.ExtendedAccessLogValve</code>
and <code>o.a.tomcat.util.net.SecureNio2Channel</code>
are made static.
Patch provided by Anthony Whitford. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58540">58540</a>: Removed unused code from
<code>o.a.catalina.connector.Request</code>.
Patch provided by Anthony Whitford. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58541">58541</a>, <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58544">58544</a>: It is more efficient to call
<code>Integer.toString(int)</code> instead of
<code>Integer.valueOf(int).toString()</code> when only a string
representation of a primitive is needed. Based on a patch provided by
Anthony Whitford. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58541">58541</a>, <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58547">58547</a>: It is more efficient to call
<code>valueOf(...)</code> instead of Number constructor. Based on a
patch provided by Anthony Whitford. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58545">58545</a>: In some use cases it is more efficient to use
<code>Map.entrySet()</code> instead of <code>Map.keySet()</code>
Based on a patch provided by Anthony Whitford. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that <code>ServletRequest.getContentLengthLong</code> is used
instead of <code>ServletRequest.getContentLength</code> for servlets and
valves provided by Tomcat. The API is available since Servlet
specification 3.1. (violetagg)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add a new RestCsrfPreventionFilter that provides basic CSRF protection
for REST APIs. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58578">58578</a>: Avoid NPE accessing cookies during access logging
for request that had no context mapping. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Avoid UnsupportedOperationException when releasing an user-provided
URLStreamHandlerFactory. Patch provided by Cristian Talau. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58581">58581</a>: If a custom error page fails, fall back to the
standard error page rather than throwing an NPE. Based on a patch by
Huxing Zhang. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58582">58582</a>: Combined realm should perform background processing
on its sub-realms. Based upon a patch provided by Aidan. (schultz)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Handle the unlikely case where different versions of a web application
are deployed with different session settings. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add a new Context option, enabled by default, that enables an additional
check that a client provided session ID is in use in at least one other
web application before allowing it to be used as the ID for a new
session in the current web application. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add support for DIGEST authentication to the JNDIRealm. Based on a patch
by Alexis Hassler. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58603">58603</a>: Ensure that
<code>HttpServletRequest.getRequestURL()</code> returns the correct
value when using the <code>RemoteIpFilter</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that in an embedded Tomcat the logging configuration is
not lost during garbage collection. (violetagg)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Move the functionality that provides redirects for context roots and
directories where a trailing <code>/</code> is added from the Mapper to
the <code>DefaultServlet</code>. This enables such requests to be
processed by any configured Valves and Filters before the redirect is
made. This behaviour is configurable via the
<code>mapperContextRootRedirectEnabled</code> and
<code>mapperDirectoryRedirectEnabled</code> attributes of the Context
which may be used to restore the previous behaviour. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.29_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Cancel pending blocking IO operation following a timeout in the NIO2
connector. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add instance manager support for upgrade handlers, and set context
class loader. (remm)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Synchronize OpenSSL to JSSE cipher mapping to recent OpenSSL changes. In
particular, <code>TLSv1.0</code> is now an alias for those ciphers that
require TLSv1 and will not work with SSLv3. <code>TLSv1</code> remains
an alias for <code>SSLv3</code>. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.29_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Deprecate the <code>STRICT_QUOTE_ESCAPING</code> system property and
replace it with an initialisation parameter for the JSP Servlet. This
enables per web application control of this configuration setting.
(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.29_(markt)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Optimize the session lock range in DeltaManager.requestCompleted.
(kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Enable an explicit configuration of local member in the static cluster
membership. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.29_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Code: " class="icon" src="./images/code.gif">
Distinguish the handling of the shutdown payload and member verification
clearly. When handling shutdown payload, verification completion message
is not required. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When starting the <code>StaticMembershipInterceptor</code>,
<code>StaticMembershipInterceptor</code> checks the required
Interceptors. If the required Interceptor does not exist, it issues
warning logs. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.29_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Use instance manager for server endpoint instances. (remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.29_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Make it clear in the documentation for the CGI servlet that the debug
page is not considered secure and should not be used in production.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
The <code>domain</code> attribute of <code>StaticMember</code> is not
required but optional. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.29_(markt)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58489">58489</a>: Correct QueryStatsComparator to hold up the
general contract for Comparator. (fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When creating a <code>QueryStats</code> object, ensure that
<code>maxQueries</code> is checked. If <code>maxQueries</code> is a
value less than or equal to 0, <code>QueryStats</code> are never
created. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.29_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update optional Checkstyle library to 6.12.1. (kkolinko)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add support for creating a FindBugs report when building Tomcat. It
is disabled by default. (violetagg)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.28_(markt)"><span style="float: right;">2015-10-12</span> Tomcat 8.0.28 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.28_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add support for the custom <code>classpath</code> protocol in URLs. It
an be used anywhere Tomcat accepts a URL for a configuration parameter.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56777">56777</a>: Allow file based configuration resources (user
database, certificate revocation lists, keystores and trust stores) to
be configured using URLs as well as files. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Perform null-checking on input and stored credentials in all Realms
before passing credentials off to CredentialHandlers for matching.
(schultz)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.28_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Add the new ciphers from RFC6655 and RFC7251 to the OpenSSL to JSSE
cipher mapping. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Remove DES, RC2 and RC4 from DEFAULT for the OpenSSL to JSSE cipher
mapping to align with the OpenSSL development branch. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.28_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve the error message when JSP parser encounters an error parsing an
attribute value. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.28_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58474">58474</a>: Provide a reference to the differences between
<code>CATALINA_HOME</code> and <code>CATALINA_BASE</code> in the sample
application that is part of the documentation web application. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.28_(markt)/Extras">Extras</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure JULI adapters does not include the LogFactoryImpl class. Patch
provided by Benjamin Gandon. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.27_(markt)"><span style="float: right;">2015-10-01</span> Tomcat 8.0.27 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.27_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58187">58187</a>: Correct a regression in the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57765">57765</a>
that meant that deployment of web applications deployed via the Manager
application was delayed until the next execution of the automatic
deployment background process. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58284">58284</a>: Correctly implement session serialization so
non-serializable attributes are skipped with a warning. Patch provided
by Andrew Shore. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58313">58313</a>: Fix concurrent access of encoders map when clearing
encoders prior to switch to async. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58320">58320</a>: Fix concurrent access of request attributes which is
possible during asynchronous processing. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58352">58352</a>: Always trigger a thread dump if Tomcat fails to stop
gracefully from <code>catalina.sh</code> even if using
<code>-force</code>. Patch provided by Alexandre Garnier. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58368">58368</a>: Fix a rare data race in the code that obtains the
<code>ApplicationFilterFactory</code> instance. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58369">58369</a>: Fix a rare data race in the code that obtains the
CookieProcessor for a StandardContext instance. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure the JAASRealm uses the configured CredentialHandler. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58372">58372</a>: Fix rare data races closed and suspended flags that
could be triggered by async and/or comet processing. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58373">58373</a>: Fix rare data race with the application event
listeners for StandardContext. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58374">58374</a>: Fix a rare data race in the AsyncContext
implementation for access to the internal Tomcat request object to which
it holds a reference. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58380">58380</a>: Fix two rare data races in the standard session
implementation on the flag that tracks if the session is new and on the
field that tracks the maximum inactive period. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58385">58385</a>: Fix a rare data race in the internal flag Tomcat uses
to keep track of whether or not a request is being used for Comet
processing. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58394">58394</a>: Fix a rare data race in Mapper when adding or removing
a host. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58398">58398</a>: Fix a rare data race in <code>LifecycleSupport</code>.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58412">58412</a>: Ensure that the <code>AsyncFileHandler</code> has the
source class and method name available for logging. (fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58416">58416</a>: Correctly detect when a forced stop fails to stop
Tomcat because the Tomcat process is waiting on some system call or is
uninterruptible. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58436">58436</a>: Fix some rare data races in JULI's
<code>ClassLoaderLogManager</code> during shutdown. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58845">58845</a>: Fix off-by one error in calculation of valid
characters in a cookie domain. Patch provided by Thorsten Ehlers.
(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.27_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct some edge cases in <code>RequestUtil.normalize()</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58275">58275</a>: The IBM JREs accept cipher suite names starting with
<code>TLS_</code> or <code>SSL_</code> but when listing the supported
cipher suites only the <code>SSL_</code> version is reported. This can
break Tomcat's check that at least one requested cipher suite is
supported. Tomcat now includes a work-around so either form of the
cipher suite name can be used when running on an IBM JRE. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58357">58357</a>: For reasons not currently understood when the
APR/native connector is used with OpenSSL reads can return an error code
when there is no apparent error. This was work-around for HTTP upgrade
connections by treating this as <code>EAGAIN</code>. The same fix has
now been applied to the standard HTTP connector. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Minor clean-up in NIO2 SSL handshake code to address some theoretical
concurrency issues. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58367">58367</a>: Fix a rare data race in the code that obtains the
reason phrase for a given HTTP response code. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58370">58370</a>: Fix a rare data race in the connector shutdown code.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58371">58371</a>: Fix a rare data race when accessing request URI in
String form when switching from non-async to async due to early
triggering of the gathering of request statistics. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58375">58375</a>: Fix a rare data race on the internal flag Tomcat uses
to mark a response as committed. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58377">58377</a>: Fix a rare data race on the internal flag Tomcat uses
to mark a request as using HTTP keep-alive when switching to
asynchronous processing. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58379">58379</a>: Fix a rare data race on the internal reference Tomcat
retains to the socket when switching to asynchronous processing. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58387">58387</a>: Fix a rare data race when closing Comet connections.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58388">58388</a>: Fix a data race when determining if Comet processing
is occurring on a container or non-container thread. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58389">58389</a>: Fix a rare data race while shutting down the thread
pools on Connector stop. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Clean up use of error flag on socket wrapper prompted by
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58390">58390</a>. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Remove some unnecessary code from the NIO Poller and fix
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58396">58396</a> as a side-effect. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57799">57799</a>: Remove useless sendfile check for NIO SSL. (remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.27_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57136">57136</a>: Correct a regression in the previous fix for this
issue. <code>\${</code> should only be an escape for <code>${</code>
within an EL expression. Within a JSP page <code>\$</code> should be an
escape for <code>$</code>. The EL specification applies when parsing the
expression delimited by <code>${</code> and <code>}</code>. Parsing of
the delimiting <code>${</code> and <code>}</code> is the responsibility
of the JSP specification. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58296">58296</a>: Fix a memory leak in the JSP unloading feature that
meant that using a value other than <code>-1</code> for
<code>maxLoadedJsps</code> triggered a memory leak once the limit was
reached. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58327">58327</a>: Cache the expression string for value expression
literals since it is frequently used and may be expensive to evaluate.
Patch provided by Andreas Kohn. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58340">58340</a>: Improve error reporting for tag files packaged in
JARs. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58424">58424</a>: When parsing TLD files, allow whitespace around
boolean configuration values. (schultz)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a possible resource leak reported by coverity scan. (fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58427">58427</a>: Enforce the JSP specification defined limitations of
which elements are allowed in an implicit.tld file. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58444">58444</a>: Ensure that JSPs work with any custom base class that
meets the requirements defined in the JSP specification without
requiring that base class to implement Tomcat specific code. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.27_(markt)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a default clusterListeners in <code>SimpleTcpCluster</code>. The
optimal default value is different for each session manager.
<code>ClusterSessionListener</code> is never used in
<code>BackupManager</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct log messages in case of using <code>BackupManager</code>.
(kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.27_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58342">58342</a>: Fix a copy and paste error that meant MessageHandler
removal could fail for binary and pong MessageHandlers. Patch provided
by DJ. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Data races detected by RV-Predict, mostly caused by completion handlers
running in separate threads. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58414">58414</a>: Correctly handle sending zero length messages when
using per message deflate. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.27_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct documentation for cluster-howto. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add missing documentation for property <code>alwaysAddExpires</code> for
the <code>LegacyCookieProcessor</code>. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.27_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add support for configurations of <code>ChannelListener</code> and
<code>MembershipListener</code> in server.xml. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct log messages in case of using <code>ReplicatedMap</code>.
(kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58381">58381</a>: Fix a rare data race in the <code>NioReceiver</code>.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58382">58382</a>: Fix multiple rare data races in the default membership
implementation. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58383">58383</a>: Fix a data race in <code>SenderState</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58386">58386</a>: Fix a data race in <code>ObjectReader</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58391">58391</a>: Fix multiple data races in
<code>NonBlockingCoordinator</code>, most of which were associated with
ensuring that log messages contained the correct information. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58392">58392</a>: Fix a data race in
<code>DomainFilterInterceptor</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58393">58393</a>: Fix a data race on the listener in
<code>McastService</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58395">58395</a>: Fix multiple data races in <code>MemberImpl</code>
that were likely to cause issues if certain properties were updated
concurrently (such updates are unlikely in normal usage). (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Remove some unnecessary code from <code>PooledParallelSender</code> and
fix <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58397">58397</a>. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.27_(markt)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Make sure the pool has been properly configured when attributes that
related to the pool size are changed via JMX. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.27_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure logging works for all tests in a class rather than just the first
one executed. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58344">58344</a>: Add build properties to enable tests to be executed
against alternative binaries. Based on a patch by Petr Sumbera. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.26_(markt)"><span style="float: right;">2015-08-21</span> Tomcat 8.0.26 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.26_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58255">58255</a>: Document the Semaphore valve. Patch provided by
Kyohei Nakamura. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.25_(markt)"><span style="float: right;">not released</span> Tomcat 8.0.25 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.25_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Make the WAR manifest file available for WebResource instances from an
unpacked WAR in the same way the manifest is available if the WAR is not
unpacked. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that only <code>/WEB-INF/classes/</code> and
<code>/WEB-INF/lib/</code> are excluded from the web resource caching.
(Resources loaded from these locations are cached by the web application
class loader.) (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57741">57741</a>: Enable the CGI servlet to use the standard error page
mechanism. Note that if the CGI servlet's debug init parameter is
set to 10 or higher then the standard error page mechanism will be
bypassed and a debug response generated by the CGI servlet will be
returned instead. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58031">58031</a>: Make the (first) reason parameter parsing failed
available as a request attribute and then use it to provide a better
status code via the FailedRequstFilter (if configured). (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58086">58086</a>: Correct a regression in the fix for 58086 that
incorrectly handled WAR URLs. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58096">58096</a>: Classes loaded from <code>/WEB-INF/classes/</code>
should use that directory as their code base. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix possible resource leaks by closing streams properly.
Issues reported by Coverity Scan. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58116">58116</a>: Fix regression in the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57281">57281</a> that
broke Comet support when running under a security manager. Based on a
patch provided by Johno Crawford. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58125">58125</a>: Avoid a possible <code>ClassCircularityError</code>
when running under a security manager. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58179">58179</a>: Fix a thread safety issues that could mean concurrent
threads setting the same attribute on a <code>ServletContext</code>
could both see <code>null</code> as the old value. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Allow web archives bigger than 2G to be deployed using ANT tasks.
(violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58192">58192</a>: Correct a regression in the previous fix for
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58023">58023</a>. Ensure that classes are associated with their manifest
even if the class file is first read (and cached) without the manifest.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix thread safety issue in the <code>AsyncContext</code> implementation
that meant a sequence of <code>start();dispatch();</code> calls using
non-container threads could result in a previous dispatch interfering
with a subsequent start. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58228">58228</a>: Make behaviour of
<code>ServletContext.getResource()</code> and
<code>ServletContext.getResourceAsStream()</code> consistent with each
other and the expected behaviour of the GET_RESOURCE_REQUIRE_SLASH
system property. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58230">58230</a>: Fix input stream corruption if non-blocking I/O is
used and the first read is made immediately after the switch to async
mode rather than in response to <code>onDataAvaiable()</code> and that
read does not read all the available data. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that <code>log4javascript*.jar</code> was not excluded from the
standard JAR scanning by default. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.25_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57943">57943</a>: Prevent the same socket being added to the cache
twice. Patch based on analysis by Ian Luo / Sun Qi. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add <code>text/javascript,application/javascript</code> to the default
list of compressable MIME types. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58103">58103</a>: When pipelining requests, and the previous request was
an async request, ensure that the socket is removed from the waiting
requests so that the async timeout thread doesn't process it during the
next request. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58151">58151</a>: Correctly handle EOF in the AJP APR/native connector
to prevent the connector entering a loop and generate excessive CPU
load. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
In the AJP and HTTP NIO connectors, ensure that the socket timeout is
correctly set before adding the socket back to the poller for read.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58157">58157</a>: Ensure that the handling of async timeouts does not
result in an unnecessary dispatch to a container thread that could
result in the current socket being added to the Poller multiple times
with multiple attempts to process the same event for the same socket.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct a couple of edge cases in <code>RequestUtil.normalize()</code>.
(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.25_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58110">58110</a>: Like scriptlet sections, declaration sections of JSP
pages have a one-to-one mapping of lines to the generated .java file.
Use this information to provide more accurate error messages if a
compilation error occurs in a declaration section. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58119">58119</a>: When tags are compiled they must be placed in the
org/apache/jsp/tag/web directory. Correct a regression in the fix for
52725. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a resource leak in JspC identified by Eclipse. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58178">58178</a>: Expressions in a tag file should use the tag
file's <code>PageContext</code> rather than that of the containing
page. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Following on from the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58178">58178</a>, expressions in a tag
file should use the tag file's imports rather than those of the
containing page. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.25_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58166">58166</a>: Allow applications to send close codes in the range
3000-4999 inclusive. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58232">58232</a>: Avoid possible NPE when adding endpoints
programmatically to the
<code>javax.websocket.server.ServerContainer</code>.
Based on a patch provided by bastian.(violetagg)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.25_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the incorrect document of <code>QueryTimeoutInterceptor</code>.
The setting value is not in milliseconds but in seconds. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58112">58112</a>: Update the documentation for using the Catalina tasks
in an Apache Ant build file. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve the Javadoc for some of the APR socket read functions that have
inconsistent behaviour for return values. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.25_(markt)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58042">58042</a>: The default value of <code>logFailed</code> attribute
of <code>SlowQueryReport</code> is changed to <code>false</code> so that
the failed queries are not logged by default. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix potential NPE in <code>QueryTimeoutInterceptor</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add support for stopping the pool cleaner via JMX. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
The <code>fairness</code> attribute and
<code>ignoreExceptionOnPreLoad</code> attribute do not allow a change
via JMX. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
If the <code>timeBetweenEvictionRunsMillis</code> attribute is changed
via jmx, it should restart the pool cleaner because this attribute
affects the execution interval of the pool cleaner. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Eliminate the dependence on <code>maxActive</code> of busy queues and
idle queue in order to enable the expansion of the pool size via JMX.
(kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.25_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update optional Checkstyle library to 6.8.1. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Update sample Eclipse IDE configuration to exclude test/webapp* and
similar paths from compiler sourcepath. (kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update package renamed Apache Commons Pool to Commons Pool 2.4.2.
(markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update package renamed Apache Commons DBCP to Commons DBCP 2.1.1.
(markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Support the use of the <code>threads</code> attribute on Ant's
junit task. Note that using this with a value of greater than one will
disable Cobertura code coverage. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.24_(markt)"><span style="float: right;">2015-07-06</span> Tomcat 8.0.24 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.24_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57938">57938</a>: Correctly handle empty form fields when a form is
submitted as <code>multipart/form-data</code>, the
<code>maxPostSize</code> attribute of the Connector has been set to a
negative value and the Context has been configured with a value of
<code>true</code> for <code>allowCasualMultipartParsing</code>. The
meaning of the value zero for the <code>maxPostSize</code> has also been
changed to mean a limit of zero rather than no limit to align it with
<code>maxSavePostSize</code> and to be more intuitive. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57977">57977</a>: Correctly bind and unbind the web application class
loader during execution of the PersistentValve. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Remove some unnecessary code from the web application class loader and
deprecate the now unused <code>validate()</code> method since the
requirements of SRV.10.7.2 are met using cleaner code in
<code>loadClass(String, boolean)</code> and <code>filter()</code>.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct a bug that prevented the web application class loader's
<code>filter()</code> from working correctly. It only returned
<code>true</code> for classes in sub-packages of the listed packages,
but not classes located in the packages themselves. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add the WebSocket API classes to the list of classes that the web
application class loader will always delegate to its parent for loading
first. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58015">58015</a>: Ensure that whenever the web application class loader
checks to see if it should delegate first, it also checks the result
of the <code>filter()</code> method which may indicate that it should
always delegate first for the current class/resource regardless of the
value of the delegate configuration option. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58023">58023</a>: Fix potentially excessive memory usage due to
unnecessary caching of JAR manifests in the web application class
loader. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57700">57700</a>: Ensure that Container event
<code>ADD_CHILD_EVENT</code> will be sent in all cases. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58086">58086</a>: Ensure that WAR URLs are handled properly when using
ANT for web application deployment. Based on a patch provided by Lukasz
Jader. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix CredentialHandler element handling in storeconfig. (remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.24_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57265">57265</a>: Further fix to address a potential threading issue
when sendfile is used in conjunction with TLS. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57936">57936</a>: Improve robustness of the acceptor thread count
parameter for NIO2, since it must be set to 1. Submitted by
Oliver Kant. (remm)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57943">57943</a>: Added a work-around to catch
<code>ConcurrentModificationException</code>s during Poller timeout
processing that were causing the Poller thread to stop. The root cause
of these exceptions is currently unknown. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57944">57944</a>: Ensure that if non-blocking I/O listeners are set on
a non-container thread that the expected listener events are still
triggered. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix possible very long (1000 seconds) timeout with APR/native connector.
(markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Support "-" separator in the SSLProtocol configuration of the
APR/native connector for protocol exclusion. (rjung)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58004">58004</a>: Fix AJP buffering output data even in blocking mode.
(remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.24_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57969">57969</a>: Provide path parameters to POJO via per session
<code>javax.websocket.server.ServerEndpointConfig</code> as they vary
between different requests. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57974">57974</a>: Session.getOpenSessions should return all sessions
associated with a given endpoint instance, rather than all sessions
from the endpoint class. (remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.24_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57282">57282</a>: Update request processing sequence diagrams. Updated
diagrams provided by Stephen Chen. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57971">57971</a>: Correct the documentation for the cluster
configuration setting <code>recoverySleepTime</code>. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57758">57758</a>: Add document of <code>testOnConnect</code> attribute
in jdbc-pool doc. (kfujino)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add description of <code>validatorClassName</code> attribute to testXXXX
attributes in jdbc-pool docs. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.24_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Code: " class="icon" src="./images/code.gif">
Use <code>StringManager</code> to provide i18n support in the
<code>org.apache.catalina.tribes</code> packages. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Do not set the nodes that failed to replication to the backup nodes.
Ensure that the nodes that the data has been successfully replicated are
set to the backup node. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When failed to replication, rather than all member is handled as a
failed member, exclude the failure members from backup members.
(kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.24_(markt)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Refactoring of the <code>removeOldest</code> method in
<code>SlowQueryReport</code> to behave as expected. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57783">57783</a>: Fix <code>NullPointerException</code> in
<code>SlowQueryReport</code>. To avoid this NPE, Refactor
<code>SlowQueryReport#removeOldest</code> and handle the abandoned
connection properly. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=58042">58042</a>: In <code>SlowQueryReportJmx</code>, the
<code>LogSlow</code> and <code>logFailed</code> attributes that
inherited from <code>SlowQueryReport</code> are used as a condition of
whether JMX notifications are sent. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that specified <code>Boolean</code> attribute values of
<code>SlowQueryReport</code> reflect correctly. The <code>LogSlow</code>
and the <code>logFailed</code> are not system property, these are
attributes of <code>SlowQueryReport</code>. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.24_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update package renamed Apache Commons BCEL to r1682271 to pick up some
some code clean up. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update package renamed Apache Commons DBCP to r1682314 to pick up the
DBCP 2.1 release and additional fixes since then. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update package renamed Apache Commons Pool to the 2.4 release. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update package renamed Apache Commons File upload to r1682322 to pick up
the post 1.3.1 fixes. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update package renamed Apache Commons Codec to r1682326. No functional
changes. Javadoc only. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update optional Checkstyle library to 6.7. (kkolinko)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.23_(markt)"><span style="float: right;">2015-05-22</span> Tomcat 8.0.23 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.23_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=54618">54618</a>: Add a new <code>HttpHeaderSecurityFilter</code> that
adds the <code>Strict-Transport-Security</code>,
<code>X-Frame-Options</code> and <code>X-Content-Type-Options</code>
HTTP headers to the response. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57875">57875</a>: Add <code>javax.websocket.*</code> to the classes for
which the web application class loader always delegates first. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57871">57871</a>: Ensure that setting the
<code>allowHttpSepsInV0</code> property of a
<code>LegacyCookieProcessor</code> to false only prevents HTTP
separators from being used without quotes. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add a workaround for issues with SPNEGO authentication when running on
Java 8 update 40 and later. The workaround should be safe for earlier
Java versions but it can be disabled with the
<code>applyJava8u40Fix</code> attribute of the SPNEGO authenticator if
necessary. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57926">57926</a>: Restore the original <code>X-Forwarded-By</code> and
<code>X-Forwarded-For</code> headers after processing by the
<code>RemoteIPValve </code>. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.23_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Follow up to previous fix that removed the behavior difference between
NIO and NIO2 for SSL, which caused corruption with NIO2.
(remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57931">57931</a>: Ensure that TLS connections with the NIO or NIO2 HTTP
connectors that experience issues during the handshake (e.g. missing or
invalid client certificate) are closed cleanly and that the client
receives the correct error code rather than simply closing the
connection. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.23_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56438">56438</a>: Add debug logging to TLD discovery that logs positive
and negative results for JARs, resource paths and directories. Patch
provided by VIN. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57802">57802</a>: Correct the default implementation of
<code>convertToType()</code> provided by
<code>javax.el.ELResolver</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57887">57887</a>: Fix compilation of recursive tag files packaged in a
JAR. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.23_(markt)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Make sure that stream is closed after using it in
<code>DeltaSession.applyDiff()</code>. (kfujino)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Use <code>StringManager</code> to provide i18n support in the
<code>org.apache.catalina.ha packages</code>. (kfujino)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Add the context name to log messages when replication context failed to
start. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.23_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57875">57875</a>: Update the web application class loader documentation
to reflect the more relaxed approach to SRV.10.7.2 in Tomcat 8 onwards.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57896">57896</a>: Document system property
<code>org.apache.tomcat.util.http.ServerCookie.PRESERVE_COOKIE_HEADER</code>
that was introduced in Tomcat 8.0.0. (kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.23_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that the state transfer flag is updated to true only when the map
states have been transferred correctly from existing map members.
(kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.23_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update optional Checkstyle library to 6.6. (kkolinko)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.22_(markt)"><span style="float: right;">2015-05-05</span> Tomcat 8.0.22 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.22_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57736">57736</a>: Change the format of the Tomcat specific URLs for
resources inside JARs that are in turn packed in a WAR. The
<code>^/</code> sequence has been replaced by <code>*/</code> so that
the resulting URLs are compliant with RFC 2396 and do not trigger
exceptions when converted to URIs. The old format will continue to be
accepted. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57752">57752</a>: Exclude non-cached resources from the Cache statistics
for resource lookups. Patch provided by Adam Mlodzinski. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Allow logging of the remote port in the access log using the format
pattern <code>%{remote}p</code>. (rjung)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57556">57556</a>: Refine the previous fix for this issue so that the
real path returned only has a trailing separator if the requested path
ended with <code>/</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57765">57765</a>: When checking last modified times as part of the
automatic deployment process, account for the fact that
<code>File.lastModified()</code> has a resolution of one second to
ensure that if a file has been modified within the last second, the
latest version of the file is always used. Note that a side-effect of
this change is that files with modification times in the future are
treated as if they are unmodified. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Align redeploy resource modification checking with reload modification
checking so that now, in both cases, a change in modification time
rather than an increase in modification time is used to determine if the
resource has changed. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Cleanup <code>o.a.tomcat.util.digester.Digester</code> from debug
messages that do not give any valuable information. Patch provided
by Polina Genova. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57772">57772</a>: When reloading a web application and a directory
representing an expanded WAR needs to be deleted, delete the directory
after the web application has been stopped rather than before to avoid
potential ClassNotFoundExceptions. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix wrong logger name of
<code>org.apache.catalina.webresources.StandardRoot</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57801">57801</a>: Improve the error message in the start script in case
the PID read from the PID file is already owned by a process. (rjung)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57841">57841</a>: Improve error logging during web application start.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57856">57856</a>: Ensure that any scheme/port changes implemented by the
<code>RemoteIpFilter</code> also affect
<code>HttpServletResponse.sendRedirect()</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57863">57863</a>: Fix the RewriteMap support in RewriteValve that did
not use the correct key value to look up entries. Based on a patch
provided by Tatsuya Bessho. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.22_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57779">57779</a>: When an I/O error occurs on a non-container thread
only dispatch to a container thread to handle the error if using Servlet
3+ asynchronous processing. This avoids potential deadlocks if an
application is performing I/O on a non-container thread without using
the Servlet 3+ asynchronous API. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Remove the experimental support for SPDY. No current user agent supports
the version of SPDY that the experiment targeted. Note: HTTP/2 support
is under development for Tomcat 9 and may be back-ported to Tomcat 8
once complete. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Possible incomplete writes with SSL NIO2. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Incorrect reads with SSL NIO2 caused by a bad strategy for handling IO
differences between NIO and NIO2 that don't seem to be justified.
(remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
After some errors, the pending flags could remain set when using SSL
NIO2. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57833">57833</a>: When using JKS based keystores for NIO or NIO2, ensure
that the key alias is always converted to lower case since that is what
JKS key stores expect. Based on a patch by Santosh Giri Govind M.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57837">57837</a>: Add <code>text/css</code> to the default list of
compressable MIME types. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.22_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57845">57845</a>: Ensure that, if the same JSP is accessed directly and
via a <code>&lt;jsp-file&gt;</code> declaration in web.xml, updates to
the JSP are visible (subject to the normal rules on re-compilation)
regardless of how the JSP is accessed. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57855">57855</a>: Explicitly handle the case where a
<code>MethodExpression</code> is invoked with null or the wrong number
of parameters. Rather than failing with an
<code>ArrayIndexOutOfBoundsException</code> or a
<code>NullPointerException</code> throw an
<code>IllegalArgumentException</code> with a useful error message.
(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.22_(markt)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Avoid unnecessary call of <code>DeltaRequest.addSessionListener()</code>
in non-primary nodes. (kfujino)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add new attribute that send all actions for session across Tomcat
cluster nodes. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Remove unused <code>pathname</code> attribute in mbean definition of
<code>BackupManager</code>. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.22_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57761">57761</a>: Ensure that the opening HTTP request is correctly
formatted when the WebSocket client connects to a server root. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57762">57762</a>: Ensure that the WebSocket client correctly detects
when the connection to the server is dropped. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57776">57776</a>: Revert the 8.0.21 fix for the
<code>permessage-deflate</code> implementation and incorrect op-codes
since the fix was unnecessary (the bug only affected trunk) and the fix
broke rather than fixed <code>permessage-deflate</code> if an
uncompressed message was converted into more than one compressed
message. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix log name typo in <code>WsRemoteEndpointImplServer</code> class,
caused by a copy-paste. (markt/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57788">57788</a>: Avoid NPE when looking up a class hierarchy without
finding anything. (remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.22_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57759">57759</a>: Add information to the keyAlias documentation to make
it clear that the order keys are read from the keystore is
implementation dependent. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57864">57864</a>: Update the documentation web application to make it
clearer that hex values are not valid for cluster send options. Based on
a patch by Kyohei Nakamura. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.22_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a concurrency issue when a backup message that has all session data
and a backup message that has diff data are processing at the same time.
This fix ensures that <code>MapOwner</code> is set to
<code>ReplicatedMapEntry</code>. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.22_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add missing pom for tomcat-storeconfig. (remm)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update optional Checkstyle library to 6.5. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57707">57707</a>: Improve error message when trying to run a release
build on a non-Windows platform and Wine is not available. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.21_(markt)"><span style="float: right;">2015-03-26</span> Tomcat 8.0.21 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.21_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=49785">49785</a>: Enable StartTLS connections for JNDIRealm.
(fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When docBase refers internal war and unpackWARs is set to false, avoid
registration of the invalid redeploy resource that has been added ".war"
extension in duplicate. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
If WAR exists, it is not necessary to trigger a reload when adding a
Directory. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55988">55988</a>: Add support for Java 8 JSSE server-preferred TLS
cipher suite ordering. This feature requires Java 8
and is controlled by <code>useServerCipherSuitesOrder</code>
attribute on an HTTP connector.
Based upon a patch provided by Ognjen Blagojevic. (schultz)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56608">56608</a>: When deploying an external WAR, add watched resources
in the expanded directory based on whether the expanded directory is
expected to exist rather than if it does exist. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When triggering a reload due to a modified watched resource, ensure
that multiple changed watched resources only trigger one reload rather
than a series of reloads. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57601">57601</a>: Ensure that HEAD requests return the correct content
length (i.e. the same as for a GET) when the requested resource includes
a resource served by the Default servlet. (jboynes/markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57602">57602</a>: Ensure that HEAD requests return the correct content
length (i.e. the same as for a GET) when the requested resource includes
a resource served by a servlet that extends <code>HttpServlet</code>.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57621">57621</a>: When an async request completes, ensure that any
remaining request body data is swallowed. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57637">57637</a>: Do not create unnecessary sessions when using
PersistentValve. (jboynes/fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57645">57645</a>: Correct a regression in the fix for
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57190">57190</a> that incorrectly required the path passed to
<code>ServletContext.getContext(String)</code> to be an exact match to a
path to an existing context. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Make sure that <code>unpackWAR</code> attribute of <code>Context</code>
is handled correctly in <code>HostConfig</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When deploying a WAR file that contains a context.xml file and
<code>unpackWARs</code> is <code>false</code> ignore any context.xml
file that may exist in an expanded directory associated with the WAR.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57675">57675</a>: Correctly quote strings when using the extended
access log. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Enable Tomcat to detect when a WAR file has been changed while Tomcat is
not running. Tomcat does this by adding a META-INF/war-tracking file to
the expanded directory and setting the last modified time of this file
to the last modified time of the WAR. If Tomcat detects a modified WAR
via this mechanism the web application will be redeployed (i.e. the
expanded directory will be removed and the modified WAR expanded in its
place). (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57704">57704</a>: Fix potential NPEs during web application start/stop
when <code>org.apache.tomcat.InstanceManager</code> is not initialized.
(violetagg)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Use the simplified digest output for digest.bat|sh when generating
digests with no salt and a single iteration to make it easier to use
with DIGEST authentication. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add support for <code>LAST_ACCESS_AT_START</code> system property to
<code>SingleSignOn</code>. (kfujino)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Refactor Authenticator implementations to reduce code duplication.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57724">57724</a>: Handle the case in the CORS filter where a user agent
includes an origin header for a non-CORS request. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When searching for SCIs
<code>o.a.catalina.Context.getParentClassLoader</code> will be used
instead of <code>java.lang.ClassLoader.getParent</code>. Thus one can
provide the correct parent class loader when running embedded Tomcat in
other environments such as OSGi. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57743">57743</a>: Fix a locked file / resource leak issue when a JAR is
accessed just before or during web application undeploy. Patch provided
by Pavel Avgustinov. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.21_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57540">57540</a>: Make TLS/SSL protocol available in a new request
attribute
(<code>org.apache.tomcat.util.net.secure_protocol_version</code>).
(Note that AJP connectors will require <tt>mod_jk</tt> 1.2.41 or later,
or an as-yet-unknown version of mod_proxy_ajp, or configure the proxy
to send the AJP_SSL_PROTOCOL request attribute to Tomcat. Please see
the bug comments for details.)
Based upon a patch provided by Ralf Hauser. (schultz)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a cipher ordering issue when using the OpenSSL syntax for JSSE
cipher configuration to ensure that ephemeral ECDH with AES is preferred
to ephemeral ECDH with anything else. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57570">57570</a>: Make the processing of trailer headers with chunked
input optional and disabled by default. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57592">57592</a>: Correctly handle the case where an
<code>AsyncContext</code> is used for non-blocking I/O and is completed
during a write operation. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57638">57638</a>: Avoid an IllegalArgumentException when an AJP request
body chunk larger than the socket read buffer is being read. This
typically requires a larger than default AJP packetSize. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57674">57674</a>: Avoid a BufferOverflowException when an AJP response
body chunk larger than the socket write buffer is being written. This
typically requires a larger than default AJP packetSize. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Align the OpenSSL syntax cipher configuration with the OpenSSL 1.0.2
branch. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Numerous fixes to the APR/native connector to improve robustness.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Stop caching and re-using SocketWrapper instances. With the introduction
of upgrade and non-blocking I/O, I/O can occur on non-container threads.
This makes it nearly impossible to track whether a SocketWrapper is
still being referenced or not, making re-use a risky proposition.
(markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Refactor Connector authentication (only used by AJP) into a separate
method. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57708">57708</a>: Implement a new feature for AJP connectors - Tomcat
Authorization. If the new tomcatAuthorization attribute is set to
<code>true</code> (it is disabled by default) Tomcat will take an
authenticated user name from the AJP protocol and use the appropriate
Realm for the request to authorize (i.e. add roles) to that user.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix an issue that meant that any pipe-lined data read by Tomcat before
an asynchronous request completed was lost during the completion of the
asynchronous request. This mean that the pipe-lined request(s) would be
lost and/or corrupted. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the minimum recommended version of the Tomcat Native library (if
used) to 1.1.33. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.21_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57135">57135</a>: Package imports via
<code>javax.el.ImportHandler</code> should only import public, concrete
classes. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57583">57583</a>: Cache 'Not Found' results in
<code>javax.el.ImportHandler.resolveClass()</code> to save repeated
attempts to load classes that are known not to exist to improve
performance. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57626">57626</a>: Correct a regression introduced in the 8.0.16 fix for
ensuring Jars were closed after use, that broke recompilation of
modified JSPs that depended on a tag file packaged in a Jar. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57627">57627</a>: Correctly determine last modified times for
dependencies when a tag file packaged in a JAR depends on a tag file
packaged in a second JAR. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57647">57647</a>: Ensure INFO message is logged when scanning jars for
TLDs if the scan does not find a TLD in any jar. Previously a message
would only be logged if a TLD was not found in all scanned jars. (jboynes)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57662">57662</a>: Update all references to the ECJ compiler to version
4.4.2. (violetagg)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.21_(markt)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Remove unnecessary method that always returns true. The domain filtering
works on <code>DomainFilterInterceptor</code>. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.21_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct a bug in the <code>permessage-deflate</code> implementation that
meant that the incorrect op-codes were used if an uncompressed message
was converted into more than one compressed message. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57676">57676</a>: List conflicting WebSocket endpoint classes when
there is a path conflict. Based upon a patch proposed by yangkun.
(schultz)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.21_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56058">56058</a>: Add links to the AccessLogValve documentation for
configuring reverse proxies and/or Tomcat to ensure that the desired
information is used entered in the access log when Tomcat is running
behind a reverse proxy. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57587">57587</a>: Update the JNDI Datasource HOWTO for DBCP2. Patch
provided by Phil Steitz. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Remove incorrect note from context configuration page in the
documentation web application that stated WAR files located outside the
appBase were never unpacked. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57644">57644</a>: Update examples to use Apache Standard Taglib 1.2.5.
(jboynes)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57683">57683</a>: Ensure that if a client aborts their connection to the
stock ticker example (the only way a client can disconnect), the example
continues to work for existing and new clients. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Make it clear that when using digested passwords with DIGEST
authentication that no salt and only a single iteration must be used
when generating the digest. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.21_(markt)/Extras">Extras</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57377">57377</a>: Remove the restriction that prevented the use of SSL
when specifying a bind address with the JMXRemoteLifecycleListener. Also
enable SSL to be configured for the registry as well as the server.
(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.21_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When a map member has been added to <code>ReplicatedMap</code>, make
sure to add it to backup nodes list of all other members. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Make sure that refuse the messages from a different domain in
<code>DomainFilterInterceptor</code>. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.21_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update optional Checkstyle library to 6.4.1. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57703">57703</a>: Update the <code>http-method</code> definition for
web applications using a Servlet 2.5 descriptor as per Servlet 2.5 MR 6.
(markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update to Tomcat Native Library version 1.1.33 to pick up the Windows
binaries that are based on OpenSSL 1.0.1m and APR 1.5.1. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.20_(markt)"><span style="float: right;">2015-02-20</span> Tomcat 8.0.20 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.20_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a concurrency issue that meant that a change in socket timeout (e.g.
when switching to asynchronous I/O) did not always take effect
immediately. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.19_(markt)"><span style="float: right;">not released</span> Tomcat 8.0.19 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.19_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Clarify threaded usage of variables by removing volatile marker
in NonceInfo. Issue reported by Coverity Scan. (fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57180">57180</a>: Further fixes to support the use of arbitrary HTTP
methods with the CORS filter. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57472">57472</a>: Fix performance regression in resources implementation
when signed JARs are used in a web application. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Warn about problematic setting of appBase. (fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix exception while authentication in JDBCRealm. (fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57534">57534</a>: CORS Filter should only look at media type component of
Content-Type request header. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57556">57556</a>: Align <code>getRealPath()</code> behaviour with that
of earlier versions and include a trailing separator if the real path
refers to a directory. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that Servlet 3.0 async requests where <code>startAsync()</code>
is called in one container thread and <code>dispatch()</code> is called
in a different container thread complete correctly. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that user name checking in the optional SecurityListener is
case-insensitive (as documented) and than the case-insensitive
comparison is performed using the system default Locale. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57021">57021</a>: Improve logging in AprLifecycleListener and
jni.Library when Tomcat-Native DLL fails to load. Based on a patch by
Pravallika Peddi. (markt/kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.19_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix several bugs that could cause multiple registrations for write
events for a single socket when using Servlet 3.0 async. Typically, the
side effects of these multiple registrations would be exceptions
appearing in the logs. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57432">57432</a>: Align <code>SSL_OP_NO_TLSv1_1</code> and
<code>SSL_OP_NO_TLSv1_2</code> constant values with OpenSSL (they had
been swapped). (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57509">57509</a>: Improve length check when writing HTTP/1.1
response headers: reserve space for 4 extra bytes. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57544">57544</a>: Fix potential infinite loop when preparing a kept
alive HTTP connection for the next request. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57546">57546</a>: Ensure that a dropped network connection does not
leave references to the UpgradeProcessor associated with the connection
in memory. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When applying the <code>maxSwallowSize</code> limit to a connection read
that many bytes first before closing the connection to give the client a
chance to read the response. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Prevent an async timeout being processed multiple times for the same
socket when running on slow and/or heavily loaded systems. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57581">57581</a>: Change statistics byte counter in coyote Request
object to be long to allow values above 2Gb. (kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Use the data that supports cipher definition using OpenSSL syntax to
improve the quality of values provided for the
<code>javax.servlet.request.key_size</code> request attribute. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a concurrency issue in the APR Poller that meant it was possible
under low load for a socket queued to be added to the Poller not to be
added for 10 seconds. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.19_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57123">57123</a>: Update all references to the ECJ compiler to version
4.4.1. With thanks to Ralph Schaer for uploading the 4.4.1 JAR to Maven
Central. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57564">57564</a>: Make JspC amenable to subclassing. Patch provided by
Jan Bartel. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Simplify code in <code>ProtectedFunctionMapper</code> class of
Jasper runtime. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57574">57574</a>: Do not check existence of a Java package in
<code>javax.el.ImportHandler.importPackage()</code>. (kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.19_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57490">57490</a>: Make it possible to use Tomcat's WebSocket client
within a web application when running under a SecurityManager. Based on
a patch by Mikael Sterner. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add some debug logging to the WebSocket session to track session
creation and session closure. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.19_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Clarify documentation for <code>useBodyEncodingForURI</code>
attribute of a connector. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix possible resource leaks by closing streams properly. Issues
reported by Coverity Scan. (fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57503">57503</a>: Make clear that the JULI integration for log4j only
works with log4j 1.2.x. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57496">57496</a>: Remove hard-coded URL in JSP SVG example. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.19_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a possible deadlock when receiver thread invokes
<code>mapMemberAdded()</code> while ping thread invokes
<code>memberAlive()</code>. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.19_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Enhance bean factory used for JNDI resources. New attribute
<code>forceString</code> allows to support non-standard
string argument property setters. (rjung)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Assign newly created stream to field instead of leaking it uselessly.
Issue reported by Coverity Scan. (fschumacher)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update optional Checkstyle library to 6.3. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Guard the digester from MbeansDescriptorsDigesterSource with its own
lock object. (fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Refactor the unit tests and add some new test properties to make it
easier to exclude performance tests and relax timing tests. This is
primarily for the ASF CI system where these tests frequently fail.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57558">57558</a>: Add missing JAR in Ant task definition required by
the validate task. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
List names of Testsuites that have failed or skipped tests when
running the tests with Ant. (kkolinko)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.18_(markt)"><span style="float: right;">2015-01-26</span> Tomcat 8.0.18 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.18_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57178">57178</a>: The CORS filter now treats <code>null</code> as a
valid origin that matches <code>*</code>. Patch provided by Gregor
Zurowski. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57425">57425</a>: Don't add attributes with null value or name to the
replicated context. (fschumacher)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57431">57431</a>: Enable usage of custom class for context creation when
using embedded tomcat. (fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57446">57446</a>: Ensure that <code>ServletContextListener</code>s that
have limited access to <code>ServletContext</code> methods are called
with the same <code>ServletContext</code> instance for both
<code>contextInitialized()</code> and <code>contextDestroyed()</code>.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57455">57455</a>: Explicitly block the use of the double-quote character
when configuring the common, server and shared class loaders since
double-quote is used to quote values that contain commas. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57461">57461</a>: When an instance of
<code>org.apache.catalina.startup.VersionLoggerListener</code> logs the
result of <code>System.getProperty("java.home")</code> don't report it
in a manner that makes it look like the <code>JAVA_HOME</code>
environment variable. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57476">57476</a>: Ensure the responses written as part of a forward are
fully written. This fixes a regression in 8.0.15 caused by the fix for
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57252">57252</a>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
While closing streams for given resources ensure that if an exception
happens it will be handled properly. Issue is reported by Coverity Scan.
(violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57481">57481</a>: Fix <code>IllegalStateException</code> at the end of
the request when using non-blocking reads with the HTTP BIO connector.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Change Response to use UEncoder instances with shared safeChars.
(fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that when static resources are served from JARs, only static
resources are served. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Allow <code>VersionLoggerListener</code> to log all system properties.
This feature is off by default. (kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.18_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that classes imported via the page directive are made available
to the EL environment via the ImportHandler. Issue is reported by
Coverity Scan. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57441">57441</a>: Do not trigger an error when using functions defined
by lambdas or imported via an ImportHandler in an EL expression in a
JSP. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.18_(markt)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix mbean descriptor of <code>ClusterSingleSignOn</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57473">57473</a>: Add sanity check to FarmWebDeployer's WarWatcher to
detect suspected incorrect permissions on the watch directory. (schultz)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.18_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Clarify the handling of Copy message and Copy nodes. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Copy node does not need to send the entry data. It is enough to send
only the node information of the entry. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
ReplicatedMap should send the Copy message when replicating. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix behavior of ReplicatedMap when member has disappeared. If map entry
is primary, rebuild the backup members. If primary node of map entry has
disappeared, backup node is promoted to primary. (kfujino)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.17_(markt)"><span style="float: right;">2015-01-16</span> Tomcat 8.0.17 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.17_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct a regression in the previous fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57252">57252</a> that broke
request listeners for non-async requests that triggered an error that
was handled by the ErrorReportingValve. (markt/violetagg)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.17_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add flushing to send ack in the NIO2 connector. (remm)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.16_(markt)"><span style="float: right;">not released</span> Tomcat 8.0.16 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.16_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57172">57172</a>: Provide a better error message if something attempts to
access a resource through a web application class loader that has been
stopped. (markt/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57173">57173</a>: Revert the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56953">56953</a> that broke
annotation scanning in some cases. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57180">57180</a>: Do not limit the CORS filter to only accepting
requests that use an HTTP method defined in RFC 7231. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57190">57190</a>: Fix <code>ServletContext.getContext(String)</code>
when parallel deployment is used so that the correct ServletContext is
returned. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57208">57208</a>: Prevent NPE in JNDI Realm when no results are found
in a directory context for a user with specified user name. Based on
a patch provided by Jason McIntosh. (violetagg)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57209">57209</a>: Add a new attribute, userSearchAsUser to the JNDI
Realm. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57215">57215</a>: Ensure that the result of calling
<code>HttpServletRequest.getContextPath()</code> is neither decoded nor
normalized as required by the Servlet specification. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57216">57216</a>: Improve handling of invalid context paths. A context
path should either be an empty string or start with a
<code>'/'</code> and do not end with a
<code>'/'</code>. Invalid context path are automatically
corrected and a warning is logged. The <code>null</code> and
<code>"/"</code> values are now correctly changed to
<code>""</code>. (markt/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Update storeconfig with the CredentialHandler element. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct message that is logged when load-on-startup servlet fails
to load. It was logging a wrong name. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57239">57239</a>: Correct several message typos. Includes patch by
vladk. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix closing of Jars during annotation scanning. (schultz/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a concurrency issue in async processing. Ensure that a non-container
thread can not change the async state until the container thread has
completed. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57252">57252</a>: Provide application configured error pages with a
chance to handle an async error before the built-in error reporting.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57281">57281</a>: Enable non-public Filter and Servlet classes to be
configured programmatically via the Servlet 3.0 API and then used
without error when running under a SecurityManager. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57308">57308</a>: Remove unnecessary calls to
<code>System.getProperty()</code> where more suitable API calls are
available. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add unit tests for RemoteAddrValve and RemoteHostValve. (rjung)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Allow to configure RemoteAddrValve and RemoteHostValve to
adopt behavior depending on the connector port. Implemented
by optionally adding the connector port to the string compared
with the patterns <code>allow</code> and <code>deny</code>. Configured
using <code>addConnectorPort</code> attribute on valve. (rjung)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Optionally trigger authentication instead of denial in
RemoteAddrValve and RemoteHostValve. This only works in
combination with <code>preemptiveAuthentication</code>
on the application context. Configured using
<code>invalidAuthenticationWhenDeny</code> attribute on valve. (rjung)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Remove the obsolete <code>jndi</code> protocol usage from the scanning
process performed by StandardJarScanner. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Prevent file descriptors leak and ensure that files are closed after
retrieving the last modification time. (violetagg)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Make <code>o.a.catalina.webresources.StandardRoot</code> easier for
extending. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57326">57326</a>: Enable <code>AsyncListener</code> implementations to
re-register themselves during <code>AsyncListener.onStartAsync</code>.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57331">57331</a>: Allow ExpiresFilter to use "year" as synonym for
"years" in its configuration. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that if the RewriteValve rewrites a request that subsequent calls
to <code>HttpServletRequest.getRequestURI()</code> return the undecoded
URI. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that if the RewriteValve rewrites a request to a non-normalized
URI that the URI is normalized before the URI is mapped to ensure that
the correct mapping is applied. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Prevent NPEs being logged during post-processing for requests that have
been re-written by the RewriteValve. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Various StoreConfig improvements including removing a dependency on the
<code>StandardServer</code> implementation, improve consistency of
behaviour when MBean is not registered and improve error messages when
accessed via the Manager application. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Improve SnoopServlet in unit tests. (rjung)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add RequestDescriptor class to unit tests.
Adjust TestRewriteValve to use RequestDescriptor. (rjung)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Add more AJP unit tests. (rjung)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57363">57363</a>: Log to stderr if LogManager is unable to read
configuration files rather than swallowing the exception silently.
(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.16_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Allow HTTP upgrade process to complete without data corruption when
additional content is sent along with the upgrade header. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57187">57187</a>: Regression handling the special * URL. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57234">57234</a>: Make SSL protocol filtering to remove insecure
protocols case insensitive. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57265">57265</a>: Fix some potential concurrency issues with sendFile
and the NIO connector. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57324">57324</a>: If the client uses <code>Expect: 100-continue</code>
and Tomcat responds with a non-2xx response code, Tomcat also closes the
connection. If Tomcat knows the connection is going to be closed when
committing the response, Tomcat will now also send the
<code>Connection: close</code> response header. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57340">57340</a>: When using Comet, ensure that Socket and SocketWrapper
are only returned to their respective caches once on socket close (it is
possible for multiple threads to call close concurrently). (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57347">57347</a>: AJP response contains wrong status reason phrase
(rjung)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57391">57391</a>: Allow TLS Session Tickets to be disabled when using
the APR/native HTTP connector. Patch provided by Josiah Purtlebaugh.
(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.16_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57142">57142</a>: As per the clarification from the JSP specification
maintenance lead, classes and packages imported via the page directive
must be made available to the EL environment via the ImportHandler.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57247">57247</a>: Correct the default Java source and target versions in
the JspC usage message to <code>1.7</code> for Java 7. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57309">57309</a>: Ensure that the current EL Resolver is given an
opportunity to perform type coercion before applying the default EL
coercion rules. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve the calculation of the resource's last-modified, performed by
JspCompilationContext, in a way to support URLs with protocol different
than <code>jar:file</code>. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
CVE-2014-7810:
Do not use a privileged code block when evaluating EL expressions
when running under a security manager, which allowed to bypass code
restrictions. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix an issue with BeanELResolver when running under a security
manager. Some classes may not be accessible but may have accessible
interfaces. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.16_(markt)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
In order to enable define in <code>Cluster</code> element,
<code>ClusterSingleSignOn</code> implements <code>ClusterValve</code>.
(kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57338">57338</a>: Improve the ability of the
<code>ClusterSingleSignOn</code> valve to handle nodes being added and
removed from the Cluster at run time. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.16_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct multiple issues with the flushing of batched messages that could
lead to duplicate and/or corrupt messages. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correctly implement headers case insensitivity. (markt/remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Allow optional use of user extensions. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Allow using partial binary message handlers. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Limit ping/pong message size. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Allow configuration of the time interval for the periodic event. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
More accurate annotations processing. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Allow optional default for origin header in the client. (remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.16_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Update documentation for CGI servlet. Recommend to copy the servlet
declaration into web application instead of enabling it globally.
Correct documentation for cgiPathPrefix. (kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Improve HTML version of build instructions and align with
BUILDING.txt. (kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Improve Tomcat Manager documentation. Rearrange, add section on
HTML GUI, document /expire command and Server Status page. (kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57238">57238</a>: Update information on SSL/TLS on Security and SSL
documentation pages. Patch by Glen Peterson. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57245">57245</a>: Correct the reference to <code>allowLinking</code> in
the security configuration guide since that attribute has moved from the
Context element to the nested Resources element. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix ambiguity of section links on Valves configuration reference page.
(kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57261">57261</a>: Fix vminfo and threaddump Manager commands to start
their output with an "OK" line. Document them. Based on a patch by
Oleg Trokhov. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57267">57267</a>: Document the <code>StoreConfigLifecycleListener</code>
and the <code>/save</code> command for the Manager application. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57323">57323</a>: Correct display of outdated sessions in sessions
count listing in Manager application. (kkolinko)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add document of <code>ClusterSingleSignOn</code>. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.16_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
When downloading required libraries at build time, use random name
for temporary file and automatically create destination directory
(<code>base.path</code>). (kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update optional Checkstyle library to 6.2. (kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Simplify <code>setproxy</code> task in <code>build.xml</code>.
Taskdef there is not needed since Ant 1.8.2. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Update "ide-eclipse" target in <code>build.xml</code> to create Eclipse
project that uses Java 7 compliance settings instead of workspace-wide
defaults. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Update the package renamed copy of Apache Commons Pool 2 to the 2.3
release to pick up various fixes since the 2.2 release including one for
a possible infinite loop. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57285">57285</a>: Restore the manifest entry that marks the Windows
uninstaller application as requiring elevated privileges. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57344">57344</a>: Provide sha1 checksum files for Tomcat downloads.
Correct filename patterns for apache-tomcat-*-embed.tar.gz archive
to exclude an *.asc file. (kkolinko)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.15_(markt)"><span style="float: right;">2014-11-07</span> Tomcat 8.0.15 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.15_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=43548">43548</a>: Add an XML schema for the tomcat-users.xml file.
(markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=43682">43682</a>: Add support for referring to the current context, host
and service name in per Context logging.properties files by using the
properties <code>${classloader.webappName}</code>,
<code>${classloader.hostName}</code> and
<code>${classloader.serviceName}</code>. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=47919">47919</a>: Extend the information logged when Tomcat starts to
optionally log the values of command line arguments (enabled by
default) and environment variables (disabled by default). Note that
the values added to CATALINA_OPTS and JAVA_OPTS environment variables
will be logged, as they are used to build up the command line. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=49939">49939</a>: Expose the method that clears the static resource
cache for a web application via JMX. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55951">55951</a>: Allow cookies to use UTF-8 encoded values in HTTP
headers. This requires the use of the RFC6265
<strong>CookieProcessor</strong>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55984">55984</a>: Using the allow separators in version 0 cookies option
with the legacy cookie processor should only apply to version 0 cookies.
Version 1 cookies with values that contain separators should not be
affected and should continue to be quoted. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56393">56393</a>: Add support for RFC6265 cookie parsing and generation.
This is currently disabled by default and may be enabled via the
<strong>CookieProcessor</strong> element of a <strong>Context</strong>.
(markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56394">56394</a>: Introduce new configuration element CookieProcessor in
Context to allow context-specific configuration of cookie processing
options. Attributes of Context element that were added in Tomcat 8.0.13
to allow configuration of a new experimental RFC6265 based cookie parser
(<code>useRfc6265</code> and <code>cookieEncoding</code>) are
replaced by this new configuration element. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve the previous fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56401">56401</a>. Avoid logging version
information in the constructor since it then gets logged at undesirable
times such as when using <code>StoreConfig</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56403">56403</a>: Add pluggable password derivation support to the
Realms via the new <code>CredentialHandler</code> interface.
(markt/schultz)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57016">57016</a>: When using the <code>PersistentValve</code> do not
remove sessions from the store when persisting them. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Deprecate the use of system properties to control cookie parsing and
replace them with attributes on the new <code>CookieProcessor</code>
that may be configured on a per context basis. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct an edge case and allow a cookie if the value starts with an
equals character and the <code>CookieProcessor</code> is not configured
to allow equals characters in cookie values but is configured to allow
name only cookies. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57022">57022</a>: Ensure SPNEGO authentication continues to work with
the JNDI Realm using delegated credentials with recent Oracle JREs.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57027">57027</a>: Add additional validation for stored credentials used
by Realms when the credential is stored using hex encoding. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57038">57038</a>: Add a <code>WebResource.getCodeBase()</code> method,
implement for all <code>WebResource</code> implementations and then use
it in the web application class loader to set the correct code base for
resources loaded from JARs and WARs. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct a couple of NPEs in the JNDI Realm that could be triggered with
when not specifying a roleBase and enabling roleSearchAsUser. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correctly handle relative values for the docBase attribute of a Context.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that log messages generated by the web application class loader
correctly identify the associated Context when multiple versions of a
Context with the same path are present. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Remove the unnecessary registration of context.xml as a redeploy
resource. The context.xml having an external docBase has already been
registered as a redeploy resource at first. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57089">57089</a>: Ensure that configuration of a session ID generator is
not lost when a web application is reloaded. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57105">57105</a>: When parsing web.xml do not limit the buffer element
of the jsp-property-group element to integer values as the allowed
values are <code>&lt;number&gt;kb</code> or <code>none</code>. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the minimum required version of the Tomcat Native library (if
used) to 1.1.32. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Update storeconfig with newly introduced elements: SessionIdGenerator,
CookieProcessor, JarScanner and JarScanFilter. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Throw a <code>NullPointerException</code> if a null string is passed to
the <code>write(String,int,int)</code> method of the
<code>PrintWriter</code> obtained from the <code>ServletResponse</code>.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Cookie rewrite flag abbreviation should be CO rather than C. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57153">57153</a>: When the StandardJarScanner is configured to scan the
full class path, ensure that class path entries added directly to the
web application class loader are scanned. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
AsyncContext should remain usable until fireOnComplete is called. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
AsyncContext createListener should wrap any instantiation exception
using a ServletException. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57155">57155</a>: Allow a web application to be configured that does not
have a docBase on the file system. This is primarily intended for use
when embedding. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Propagate header ordering from fileupload to the part implementation.
(remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.15_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=53952">53952</a>: Add support for TLSv1.1 and TLSv1.2 for APR connector.
Based upon a patch by Marcel Šebek. This feature requires
Tomcat Native library 1.1.32 or later. (schultz/jfclere)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Cache the <code>Encoder</code> instances used to convert Strings to byte
arrays in the Connectors (e.g. when writing HTTP headers) to improve
throughput. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Disable SSLv3 by default for JSSE based HTTPS connectors (BIO, NIO and
NIO2). The change also ensures that SSLv2 is disabled for these
connectors although SSLv2 should already be disabled by default by the
JRE. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Disable SSLv3 by default for the APR/native HTTPS connector. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Do not increase remaining counter at end of stream in
IdentityInputFilter. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Trigger an error if an invalid attempt is made to use non-blocking IO.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57157">57157</a>: Allow calls to
<code>AsyncContext.start(Runnable)</code> during non-blocking IO reads
and writes. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Async state MUST_COMPLETE should still be started. (remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.15_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57099">57099</a>: Ensure that semi-colons are not permitted in JSP
import page directives. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57113">57113</a>: Fix broken package imports in Expression Language when
more than one package was imported and the desired class was not in the
last package imported. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57132">57132</a>: Fix import conflicts reporting in Expression Language.
(kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When coercing an object to a given type, only attempt coercion to an
array if both the object type and the target type are an array type.
(violetagg/markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve handling of invalid input to
<code>javax.el.ImportHandler.resolveClass()</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Allow the same class to be added to an instance of
<code>javax.el.ImportHandler</code> more than once without triggering
an error. The second and subsequent calls for the same class will be
ignored. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57136">57136</a>: Ensure only <code>\${</code> and <code>\#{</code> are
treated as escapes for <code>${</code> and <code>#{</code> rather than
<code>\$</code> and <code>\#</code> being treated as escapes for
<code>$</code> and <code>#</code> when processing literal expressions in
expression language. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When coercing an object to an array type in Expression Language, handle
the case where the source object is an array of primitives.
(markt/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Do not throw an exception on missing JSP file servlet initialization.
(remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57148">57148</a>: When coercing an object to a given type and a
<code>PropertyEditor</code> has been registered for the type correctly
coerce the empty string to <code>null</code> if the
<code>PropertyEditor</code> throws an exception. (kkolinko/markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57153">57153</a>: Correctly scan for TLDs located in directories that
represent expanded JARs files that have been added to the web application
class loader's class path. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57141">57141</a>: Enable EL in JSPs to refer to static fields of
imported classes including the standard <code>java.lang.*</code>
imports. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.15_(markt)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add support for the <code>SessionIdGenerator</code> to cluster manager
template. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Avoid possible integer overflows reported by Coverity Scan. (fschumacher)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.15_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57054">57054</a>: Correctly handle the case in the WebSocket client
when the HTTP response to the upgrade request can not be read in a
single pass; either because the buffer is too small or the server sent
the response in multiple packets. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Extend support for the <code>permessage-deflate</code> extension to the
client implementation. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix client subprotocol handling. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add null checks for arguments in remote endpoint. (remm/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57091">57091</a>: Work around the behaviour of the Oracle JRE when
creating new threads in an applet environment that breaks the WebSocket
client implementation. Patch provided by Niklas Hallqvist. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57118">57118</a>: Ensure that that an <code>EncodeException</code> is
thrown by <code>RemoteEndpoint.Basic.sendObject(Object)</code> rather
than an <code>IOException</code> when no suitable <code>Encoder</code>
is configured for the given Object. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.15_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct a couple of broken links in the Javadoc. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct documentation for <code>ServerCookie.ALLOW_NAME_ONLY</code>
system property. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57049">57049</a>: Clarified that <code>jvmRoute</code> can be set in
<code>&lt;Engine&gt;</code>'s <code>jvmRoute</code> or in a system
property. (schultz)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct version of Java WebSocket mentioned in documentation
(s/1.0/1.1/). (markt/kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Suppress timestamp comments in Javadoc. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57147">57147</a>: Various corrections to the JDBC Store section of the
session manager configuration page of the documentation web application.
(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.15_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=45282">45282</a>: Improve shutdown of NIO receiver so that sockets are
closed cleanly. (fhanik/markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.15_(markt)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57005">57005</a>: Fix javadoc errors when building with Java 8. Patch
provided by Pierre Viret. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57079">57079</a>: Use Tomcat version number for jdbc-pool module when
building and shipping the module as part of Tomcat. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix broken overview page in javadoc generated via "javadoc" task in
jdbc-pool build.xml file. (kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.15_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56079">56079</a>: The uninstaller packaged with the Apache Tomcat
Windows installer is now digitally signed. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix timestamps in Tomcat build and jdbc-pool to use 24-hour format
instead of 12-hour one and use UTC timezone. (markt/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Update the package renamed copy of Apache Commons DBCP 2 to revision
1631450 to pick up additional fixes since the 2.0.1 release including
Javadoc corrections to fix errors when compiling with Java 8. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56596">56596</a>: Update to Tomcat Native Library version 1.1.32 to
pick up the Windows binaries that are based on OpenSSL 1.0.1j and APR
1.5.1. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
In Tomcat tests: log name of the current test method at start time.
(kkolinko)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.14_(markt)"><span style="float: right;">2014-09-29</span> Tomcat 8.0.14 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.14_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56079">56079</a>: The Apache Tomcat Windows installer, the Apache Tomcat
Windows service and the Apache Tomcat Windows service monitor
application are now digitally signed. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.13_(markt)"><span style="float: right;">not released</span> Tomcat 8.0.13 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.13_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55917">55917</a>: Allow bytes in the range 0x80 to 0xFF to appear in
cookie values if the cookie is a V1 (RFC2109) cookie and the value is
correctly quoted. The new RFC6265 based cookie parser must be enabled to
correctly handle these cookies. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55918">55918</a>: Do not permit control characters to appear in quoted
V1 (RFC2109) cookie values. The new RFC6265 based cookie parser must be
enabled to correctly handle these cookies. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55921">55921</a>: Correctly handle (ignore the cookie) unescaped JSON in
a cookie value. The new RFC6265 based cookie parser must be enabled to
correctly handle these cookies. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56401">56401</a>: Log version information when Tomcat starts.
(markt/kkolinko)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56530">56530</a>: Add a web application class loader implementation that
supports the parallel loading of web application classes. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56900">56900</a>: Fix some potential resource leaks when reading
property files reported by Coverity Scan. Based on patches provided by
Felix Schumacher. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56902">56902</a>: Fix a potential resource leak in the Default Servlet
reported by Coverity Scan. Based on a patch provided by Felix
Schumacher. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56903">56903</a>: Correct the return value for
<code>StandardContext.getResourceOnlyServlets()</code> so that multiple
names are separated by commas. Identified by Coverity Scan and fixed
based on a patch by Felix Schumacher. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add an additional implementation of a RFC6265 based cookie parser along
with new Context options to select and configure it. This parser is
currently considered experimental and is not used by default. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fixed the multipart elements merge operation performed during web
application deployment. Identified by Coverity Scan. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the information written by
<code>ExtendedAccessLogValve</code> when a format token x-O(XXX) is
used so that multiple values for a header XXX are separated by commas.
Identified by Coverity Scan. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a potential resource leak when reading MANIFEST.MF file for
extension dependencies reported by Coverity Scan. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix some potential resource leaks when reading properties, files and
other resources. Reported by Coverity Scan. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the previous fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56825">56825</a> that enabled pre-emptive
authentication to work with the SSL authenticator. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Refactor to reduce code duplication identified by Simian. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When using parallel deployment and <code>undeployOldVersions</code>
feature is enabled on a Host, correctly undeploy context of old
version. Make sure that Tomcat does not undeploy older Context if
current context is not running. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a rare threading issue when locking resources via WebDAV.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a rare threading issue when using HTTP digest authentication.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When deploying war, add XML file in the config base to the redeploy
resources if war does not have META-INF/context.xml or
<code>deployXML</code> is false. If XML file is created in the config
base, redeploy will occur. (kfujino)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Various changes to reduce unnecessary code in Tomcat's copy of
Apache Commons BCEL to reduce the time taken for annotation scanning
when web applications start. Includes contributions from kkolinko and
hzhang9. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56938">56938</a>: Ensure web applications that have mixed case context
paths and are deployed as directories are correctly removed on undeploy
when running on a case sensitive file system. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57004">57004</a>: Add <code>stuckThreadCount</code> property to
<code>StuckThreadDetectionValve</code>'s JMX bean. Patch provided by
Jiř&iacute; Pejchal. (schultz)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57011">57011</a>: Ensure that the request and response are correctly
recycled when processing errors during async processing. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.13_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56910">56910</a>: Prevent the invalid value of <code>-1</code> being
used for <code>maxConnections</code> with APR connectors. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that AJP connectors enable the <code>KeepAliveTimeout</code>.
(kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Reduce duplicated code. All AJP connectors use common method to
configuration of processor. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.13_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=43001">43001</a>: Enable the JspC Ant task to set the JspC option
<code>mappedFile</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that the implementation of
<code>javax.servlet.jsp.PageContext.include(String)</code>
and
<code>javax.servlet.jsp.PageContext.include(String, boolean)</code>
will throw <code>IOException</code> when an I/O error occur during
the operation. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56908">56908</a>: Fix some potential resource leaks when reading
jar files. Reported by Coverity Scan. Patch provided by Felix
Schumacher. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix a potential resource leak in JDTCompiler when checking whether
a resource is a package. Reported by Coverity Scan. (fschumacher)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56991">56991</a>: Deprecate the use of a request attribute to pass a
&lt;jsp-file&gt; declaration to Jasper and prevent an infinite loop
if this technique is used in conjunction with an include. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.13_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56905">56905</a>: Make destruction on web application stop of thread
group used for WebSocket connections more robust. (kkolinko/markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56907">56907</a>: Ensure that client IO threads are stopped if a secure
WebSocket client connection fails. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56982">56982</a>: Return the actual negotiated extensions rather than an
empty list for <code>Session.getNegotiatedExtensions()</code>. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the WebSocket implementation to support the Java WebSocket
specification version 1.1. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.13_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add <code>JarScanner</code> to the nested components listed for a
Context. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the Windows authentication documentation after some additional
testing to answer the remaining questions. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.13_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56895">56895</a>: Correctly compose <code>JAVA_OPTS</code> in
<code>catalina.bat</code> so that escape sequences are preserved. Patch
by Lucas Theisen. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56988">56988</a>: Allow to use relative path in <code>base.path</code>
setting when building Tomcat. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56990">56990</a>: Ensure that the <code>ide-eclipse</code> build target
downloads all the libraries required by the default Eclipse
configuration files. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Update the package renamed copy of Apache Commons DBCP 2 to revision
1626988 to pick up the fixes since the 2.0.1 release including support
for custom eviction policies. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Update the package renamed copy of Apache Commons Pool 2 to revision
1627271 to pick up the fixes since the 2.2 release including some memory
leak fixes and support for application provided eviction policies.
(markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.12_(markt)"><span style="float: right;">2014-09-03</span> Tomcat 8.0.12 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.12_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Make the session id generator extensible by adding a
<code>SessionIdGenerator</code> interface, an abstract
base class and a standard implementation. (rjung)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56882">56882</a>: Fix regression in processing of includes and forwards
when Context have been reloaded. Tomcat was responding with HTTP Status
503 (Servlet xxx is currently unavailable). (kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.12_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When building a list of JSSE ciphers from an OpenSSL cipher definition,
ignore unknown criteria rather than throwing a
<code>NullPointerException</code>. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add support for the EECDH alias when using the OpenSSL cipher syntax to
define JSSE ciphers. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.12_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct a logic error in the <code>JasperElResolver</code>. There was no
functional impact but the code was less efficient as a result of the
error. Based on a patch by martinschaef. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56568">56568</a>: Enable any HTTP method to be used to request a JSP
page that has the <code>isErrorPage</code> page directive set to
<code>true</code>. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.12_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Extend support for the <code>permessage-deflate</code> extension to
compression of outgoing messages on the server side. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.12_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56323">56323</a>: Include the <code>*.bat</code> files when installing
Tomcat via the Windows installer. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.11_(markt)"><span style="float: right;">2014-08-22</span> Tomcat 8.0.11 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.11_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56658">56658</a>: Fix regression that a context was inaccessible after
reload. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56710">56710</a>: Do not map requests to servlets when context is
being reloaded. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56712">56712</a>: Fix session idle time calculations in
<code>PersistenceManager</code>. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56717">56717</a>: Fix duplicate registration of
<code>MapperListener</code> during repeated starts of embedded Tomcat.
(kkolinko)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56724">56724</a>: Write an error message to Tomcat logs if container
background thread is aborted unexpectedly. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When scanning class files (e.g. for annotations) and reading the number
of parameters in a <code>MethodParameters</code> structure only read a
single byte (rather than two bytes) as per the JVM specification. Patch
provided by Francesco Komauli. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Allow the JNDI Realm to start even if the directory is not available.
The directory not being available is not fatal once the Realm is started
and it need not be fatal when the Realm starts. Based on a patch by
C&eacute;dric Couralet. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56736">56736</a>: Avoid an incorrect <code>IllegalStateException</code>
if the async timeout fires after a non-container thread has called
<code>AsyncContext.dispatch()</code> but before a container thread
starts processing the dispatch. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56739">56739</a>: If an application handles an error on an application
thread during asynchronous processing by calling
<code>HttpServletResponse.sendError()</code>, then ensure that the
application is given an opportunity to report that error via an
appropriate application defined error page if one is configured. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56784">56784</a>: Fix a couple of rare but theoretically possible
atomicity bugs. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56785">56785</a>: Avoid <code>NullPointerException</code> if directory
exists on the class path that is not readable by the Tomcat user.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56796">56796</a>: Remove unnecessary sleep when stopping a web
application. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56801">56801</a>: Improve performance of
<code>org.apache.tomcat.util.file.Matcher</code> which is to filter JARs
for scanning during web application start. Based on a patch by Sheldon
Shao. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56815">56815</a>: When the <code>gzip</code> option is enabled for the
<code>DefaultServlet</code> ensure that a suitable <code>Vary</code>
header is returned for resources that might be returned directly in
compressed form. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Do not mark threads from the container thread pool as container threads
when being used to process <code>AsyncContext.start(Runnable)</code> so
processing is correctly transferred back to a genuine container thread
when necessary. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add simple caching for calls to <code>StandardRoot.getResources()</code>
in the new (for 8.0.x) resources implementation. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56825">56825</a>: Enable pre-emptive authentication to work with the
SSL authenticator. Based on a patch by jlmonteiro. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56840">56840</a>: Avoid NPE when the rewrite valve is mapped to
a context. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correctly handle multiple <code>accept-language</code> headers rather
than just using the first header to determine the user's preferred
Locale. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56848">56848</a>: Improve handling of <code>accept-language</code>
headers. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56857">56857</a>: Fix thread safety issue when calling ServletContext
methods while running under a security manager. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.11_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix NIO2 sendfile state tracking and error handling to fix
various corruption issues. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Missing timeout for NIO2 sendfile writes. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Allow inline processing for NIO2 sendfile and optimize keepalive
behavior. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix excessive NIO2 sendfile direct memory use in some cases, sendfile
will now instead use the regular socket write buffer as configured.
(remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56661">56661</a>: Fix <code>getLocalAddr()</code> for AJP connectors.
The complete fix is only available with a recent AJP forwarder like
the forthcoming mod_jk 1.2.41. (rjung)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Use default ciphers defined as
<code>HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5</code> so
that no weak ciphers are enabled by default. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56780">56780</a>: Enable Tomcat to start when using SSL with an IBM JRE
in strict SP800-131a mode. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56810">56810</a>: Remove use of Java 8 specific API calls in unit tests
for OpenSSL to JSSE cipher conversion. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.11_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56709">56709</a>: Fix system property name in a log message. Submitted
by Robert Kish. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56797">56797</a>: When matching a method in an EL expression, do not
treat bridge methods as duplicates of the method they bridge to. In this
case always call the target of the bridge method. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.11_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56746">56746</a>: Allow secure WebSocket client threads to use the
current context class loader rather than explicitly setting it to the
class loader that loaded the WebSocket implementation. This allows
WebSocket client connections from within web applications to access,
amongst other things, the JNDI resources associated with the web
application. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.11_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the label in the list of sessions by idle time for the bin that
represents the idle time immediately below the maximum permitted idle
time when using the expire command of the Manager application. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.11_(markt)/jdbc-pool">jdbc-pool</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=53088">53088</a>: More identifiable thread name. (fhanik)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=53200">53200</a>: Selective logging for slow versus failed queries.
(fhanik)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=53853">53853</a>: More flexible classloading. (fhanik)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=54225">54225</a>: Disallow empty init SQL. (fhanik)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=54227">54227</a>: Evaluate max age upon borrow. (fhanik)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=54235">54235</a>: Disallow nested pools exploitating using data source.
(fhanik)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=54395">54395</a>: Fix JDBC interceptor parsing bug. (fhanik)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=54537">54537</a>: Performance improvement in
<code>StatementFinalizer</code>. (fhanik)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=54978">54978</a>: Make sure proper connection validation always happens,
regardless of config. (fhanik)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56318">56318</a>: Ability to trace statement creation in
<code>StatementFinalizer</code>. (fhanik)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56789">56789</a>: getPool() returns the actual pool, always. (fhanik)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.11_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56788">56788</a>: Display the full version in the list of installed
applications when installed via the Windows installer package. Patch
provided by Alexandre Garnier. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56829">56829</a>: Add the ability for users to define their own values
for <code>_RUNJAVA</code> and <code>_RUNJDB</code> environment
variables. Be more strict with executable filename on Windows
(s/java/java.exe/). Based on a patch by Neeme Praks. (markt/kkolinko)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.10_(markt)"><span style="float: right;">not released</span> Tomcat 8.0.10 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.10_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=44312">44312</a>: Log an error if there is a conflict between Host and
Alias names. Improve host management methods in <code>Mapper</code>
to avoid occasionally removing a wrong host. Check that host management
operations are performed on the host and not on an alias. (kkolinko)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56611">56611</a>: Refactor code to remove inefficient calls to
<code>Method.isAnnotationPresent()</code>. Based on a patch by Jian Mou.
(markt/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix regression in
<code>StandardContext.removeApplicationListener()</code>, introduced by
the fix for bug <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56588">56588</a>. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56653">56653</a>: Fix concurrency issue with lists of contexts in
<code>Mapper</code> when stopping Contexts. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56657">56657</a>: When using parallel deployment, if the same session id
matches different versions of a web application, prefer the latest
version. Ensure that remapping selects the version that we expect.
(kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Assert that mapping result object is empty before performing mapping
work in <code>Mapper</code>. (kkolinko)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Remove <code>context</code> and <code>wrapper</code> fields in
<code>Request</code> class and deprecate their setters. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56658">56658</a>: Avoid delay between registrations of mappings for
context and for its servlets. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56665">56665</a>: Correct the generation of the effective web.xml when
elements contain an empty string as value. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix storeconfig exception routing issues, so that a major problem
should avoid configuration overwrite. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add configuration fields for header names in SSLValve. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56666">56666</a>: When clearing the SSO cookie use the same values for
domain, path, httpOnly and secure as were used to set the SSO cookie.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56677">56677</a>: Ensure that
<code>HttpServletRequest.getServletContext()</code> returns the correct
value during a cross-context dispatch. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56684">56684</a>: Ensure that Tomcat does not shut down if the socket
waiting for the shutdown command experiences a
<code>SocketTimeoutException</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56693">56693</a>: Fix various issues in the static resource cache
implementation where the cache retained a stale entry after the
successful completion of an operation that always invalidates the cache
entry such as a delete operation.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When the current PathInfo is modified as a result of dispatching a
request, ensure that a call to
<code>HttpServletRequest.getPathTranslated()</code> returns a value that
is based on the modified PathInfo. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56698">56698</a>: When persisting idle sessions, only persist newly idle
sessions. Patch provided by Felix Schumacher. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.10_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56663">56663</a>: Fix edge cases demonstrated by ByteCounter relating
to data available, remaining and extra write events, mostly occurring
with non blocking Servlet 3.1. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Avoid possible NPE stopping endpoints that are not started (stop
shouldn't do anything in that case). (remm)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56704">56704</a>: Add support for OpenSSL syntax for ciphers when
using JSSE SSL connectors. Submitted by Emmanuel Hugonnet. (remm)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Allow to configure <code>maxSwallowSize</code> attribute of an HTTP
connector via JMX. (kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.10_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56543">56543</a>: Update to the Eclipse JDT Compiler 4.4. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56652">56652</a>: Add support for method parameters that use arrays and
varargs to <code>ELProcessor.defineFunction()</code>.(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.10_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add support for the <code>permessage-deflate</code> extension. This is
currently limited to decompressing incoming messages on the server side.
It is expected that support will be extended to outgoing messages and to
the client side shortly. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.10_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Attempt to obfuscate session cookie values associated with other web
applications when viewing HTTP request headers with the Cookies example
from the examples web application. This reduces the opportunity to use
this example for malicious purposes should the advice to remove the
examples web application from security sensitive systems be ignored.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56694">56694</a>: Remove references to <code>Manager</code> attribute
<code>checkInterval</code> from documentation and Javadoc since it no
longer exists. Based on a patch by Felix Schumacher. Also remove other
references to <code>checkInterval</code> that are no longer valid.
(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.10_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update the API stability section of the release notes now that Tomcat 8
has had its first stable release. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Improve <code>build.xml</code> so that when Eclipse JDT Compiler is
updated, it will delete the old JAR from <code>build/lib</code>
directory. (kkolinko)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Simplify implementation of "setproxy" target in <code>build.xml</code>.
(kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update optional Checkstyle library to 5.7. (kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56596">56596</a>: Update to Tomcat Native Library version 1.1.31 to
pick up the Windows binaries that are based on OpenSSL 1.0.1h. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56685">56685</a>: Add quotes necessary for <code>daemon.sh</code> to
work correctly on Solaris. Based on a suggestion by lfuka. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update package renamed Apache Commons Pool2 to r1609323 to pick various
bug fixes. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update package renamed Apache Commons DBCP2 to r1609329 to pick up a
minor bug fix. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update package renamed Apache Commons FileUpload to r1596086 to pick
various bug fixes. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.9_(markt)"><span style="float: right;">2014-06-24</span> Tomcat 8.0.9 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.9_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55282">55282</a>: Ensure that one and the same application listener is
added only once when starting the web application. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55975">55975</a>: Apply consistent escaping for double quote and
backslash characters when escaping cookie values. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56387">56387</a>: Improve the code that handles an attempt to load a
class after a web application has been stopped. Use common code to handle
this case regardless of the access path and don't throw an exception
purely to log a stack trace. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56399">56399</a>: Improve implementation of CoyoteAdapter.checkRecycled()
to do not use an exception for flow control. (kkolinko)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56461">56461</a>: New <code>failCtxIfServletStartFails</code> attribute
on Context and Host configuration to force the context startup to fail
if a load-on-startup servlet fails its startup. (slaurent)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56526">56526</a>: Improved the <code>StuckThreadDetectionValve</code> to
optionally interrupt stuck threads to attempt to unblock them.
(slaurent)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56545">56545</a>: Pre-load two additional classes, the loading of which
may otherwise be triggered by a web application which in turn would
trigger an exception when running under a security manager. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56546">56546</a>: Reduce logging level for stack traces of stuck web
application threads printed by WebappClassLoader.clearReferencesThreads()
from error to info. (kkolinko)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Refactor and simplify common code in object factories in
<code>org.apache.catalina.naming</code> package, found thanks to Simian
(Similarity Analyser) tool. Improve handling of Throwable.
(markt/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Relax cookie naming restrictions. Cookie attribute names used in the
<code>Set-Cookie</code> header may be used unambiguously as cookie
names. The restriction that prevented such usage has been removed.
(jboynes/markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Further relax cookie naming restrictions. Version 0 (a.k.a Netscape
format) cookies may now use names that start with the <code>$</code>
character. (jboynes/markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Restrict cookie naming so that the <code>=</code> character is no longer
permitted in a version 0 (a.k.a. Netscape format) cookie name. While
Tomcat allowed this, browsers always truncated the name at the
<code>=</code> character leading to a mis-match between the cookie the
server set and the cookie returned by the browser. (jboynes/markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add a simple <code>ServiceLoader</code> based discovery mechanism to the
JULI <code>LogFactory</code> to make it easier to use JULI and Tomcat
components that depend on JULI (such as Jasper) independently from
Tomcat. Patch provided by Greg Wilkins. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56578">56578</a>: Correct regression in the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56339">56339</a>
that prevented sessions from expiring when using clustering. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56588">56588</a>: Remove code previously added to enforce the
requirements of section 4.4 of the Servlet 3.1 specification. The code
is no longer required now that Jasper initialization has been refactored
and TLD defined listeners are added via a different code path that
already enforces the specification requirements. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56600">56600</a>: In WebdavServlet: Do not waste time generating
response for broken PROPFIND request. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Provide a better error message when asynchronous operations are not
supported by a filter or servlet. Patch provided by Romain Manni-Bucau.
(violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56606">56606</a>: User entries in <code>tomcat-users.xml</code> file
are recommended to use "username" attribute rather than legacy "name"
attribute. Fix inconsistencies in Windows installer, examples. Update
digester rules and documentation for <code>MemoryRealm</code>.
(markt/kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.9_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56518">56518</a>: When using NIO, do not attempt to write to the socket
if the thread is marked interrupted as this will lead to a connection
limit leak. This fix was based on analysis of the issue by hanyong.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56521">56521</a>: Re-use the asynchronous write buffer between writes to
reduce allocation and GC overhead. Based on a patch by leonzhx. Also
make the buffer size configurable and remove copying of data within
buffer when the buffer is only partially written on a subsequent write.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that a request without a body is correctly handled during Comet
processing. This fixes the Comet chat example. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix input concurrency issue in NIO2 upgrade. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct a copy/paste error and return a 500 response rather than a 400
response when an internal server error occurs on early stages of
request processing. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56582">56582</a>: Use switch(actionCode) in processors instead of a
chain of "elseif"s. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56582#c1">56582#c1</a>: Implement DISPATCH_EXECUTE action for AJP
connectors. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix CVE-2014-0227:
Various improvements to ChunkedInputFilter including clean-up, i18n for
error messages and adding an error flag to allow subsequent attempts at
reading after an error to fail fast. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
If request contains an unrecognized Expect header, respond with error
417 (Expectation Failed), according to RFC2616 chapter 14.20. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When an error occurs after the response has been committed close the
connection immediately rather than attempting to finish the response to
make it easier for the client to differentiate between a complete
response and one that failed part way though. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Remove the beta tag from the NIO2 connectors. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56620">56620</a>: Avoid bogus access log entries when pausing the NIO
HTTP connector and ensure that access log entries generated by error
conditions use the correct request start time. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve configuration of cache sizes in the endpoint. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Fix CVE-2014-0230:
Add a new limit, defaulting to 2MB, for the amount of data Tomcat will
swallow for an aborted upload. The limit is configurable by
<code>maxSwallowSize</code> attribute of an HTTP connector. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.9_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56334#c15">56334#c15</a>: Fix a regression in EL parsing when quoted string
follows a whitespace. (kkolinko/markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56543">56543</a>: Update to the Eclipse JDT Compiler 4.4RC4 to pick up
some fixes for Java 8 support. (markt/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56561">56561</a>: Avoid <code>NoSuchElementException</code> while
handling attributes with empty string value. (violetagg)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Do not configure a <code>JspFactory</code> in the
<code>JasperInitializer</code> if one has already been set as might be
the case in some embedding scenarios. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add a simple implementation of <code>InstanceManager</code> and have
Jasper use it if no other <code>InstanceManager</code> is provided. This
makes it easier to use Jasper independently from Tomcat. Patch provided
by Greg Wilkins. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56568">56568</a>: Allow any HTTP method when a JSP is being used as an
error page. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56581">56581</a>: If an error on a JSP page occurs when response has
already been committed, do not clear the buffer of JspWriter, but flush
it. It will make more clear where the error occurred. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56612">56612</a>: Correctly parse two consecutive escaped single quotes
when used in UEL expression in a JSP. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Move code that parses EL expressions within JSP template text from
<code>Parser</code> to <code>JspReader</code> class for better
performance. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56636">56636</a>: Correctly identify the required method when specified
via <code>ELProcessor.defineFunction(String,String,String,String)</code>
when using Expression Language. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56638">56638</a>: When using
<code>ELProcessor.defineFunction(String,String,String,String)</code> and
no function name is specified, use the method name as the function name
as required by the specification. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.9_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Code: " class="icon" src="./images/code.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56446">56446</a>: Clearer handling of exceptions when calling a method
on a POJO based WebSocket endpoint. Based on a suggestion by Eugene
Chung. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When a WebSocket client attempts to write to a closed connection, handle
the resulting <code>IllegalStateException</code> in a manner consistent
with the handling of an <code>IOException</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add more varied endpoints for echo testing. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56577">56577</a>: Improve the executor configuration used for the
callbacks associated with asynchronous writes. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.9_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Set the path for cookies created by the examples web application so they
only returned to the examples application. This reduces the opportunity
for using such cookies for malicious purposes should the advice to
remove the examples web application from security sensitive systems be
ignored. (markt/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Attempt to obfuscate session cookie values associated with other web
applications when viewing HTTP request headers with the Request Header
example from the examples web application. This reduces the opportunity
to use this example for malicious purposes should the advice to remove
the examples web application from security sensitive systems be ignored.
(markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add options for all of the WebSocket echo endpoints to the WebSocket
echo example in the examples web application. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that the asynchronous WebSocket echo endpoint in the examples
web application always waits for the previous message to complete before
it sends the next. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.9_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update package renamed Apache Commons DBCP2 to r1596858. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.8_(markt)"><span style="float: right;">beta, 2014-05-21</span> Tomcat 8.0.8 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.8_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56536">56536</a>: Ensure that
<code>HttpSessionBindingListener.valueUnbound()</code> uses the correct
class loader when the <code>SingleSignOn</code> valve is used. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.8_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56529">56529</a>: Avoid <code>NoSuchElementException</code> while handling
attributes with empty string value in custom tags. Patch provided by
Hariprasad Manchi. (violetagg)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.7_(markt)"><span style="float: right;">not released</span> Tomcat 8.0.7 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.7_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56523">56523</a>: When using SPNEGO authentication, log the exceptions
associated with failed user logins at debug level rather than error
level. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.7_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56399">56399</a>: Assert that both Coyote and Catalina request objects
have been properly recycled. (kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.7_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56522">56522</a>: When setting a value for a
<code>ValueExpression</code>, ensure that the expected coercions take
place such as a <code>null</code> string being coerced to an empty
string. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.7_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Copy missing resources file from Apache Commons DBCP 2 to packaged
renamed copy of DBCP 2. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.6_(markt)"><span style="float: right;">not released</span> Tomcat 8.0.6 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.6_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix extension validation which was broken by refactoring for new
resources implementation. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix custom UTF-8 decoder so that a byte of value 0xC1 is always rejected
immediately as it is never valid in a UTF-8 byte sequence. Update UTF-8
decoder tests to account for UTF-8 decoding improvements in Java 8.
The custom UTF-8 decoder is still required due to bugs in the UTF-8
decoder provided by Java. Java 8's decoder is better than Java
7's but it is still buggy. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56027">56027</a>: Add more options for managing FIPS mode in the
AprLifecycleListener. (schultz/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56320">56320</a>: Fix a file descriptor leak in the default servlet when
sendfile is used. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56321">56321</a>: When a WAR is modified, undeploy the web application
before deleting any expanded directory as the undeploy process may
refer to classes that need to be loaded from the expanded directory. If
the expanded directory is deleted first, any attempt to load a new class
during undeploy will fail. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56327">56327</a>: Enable AJP as well as HTTP connectors to be created
via JMX. Patch by kiran. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56339">56339</a>: Avoid an infinite loop if an application calls
<code>session.invalidate()</code> from the session destroyed event for
that session. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56365">56365</a>: Simplify file name pattern matching code in
<code>StandardJarScanner</code>. Improve documentation. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that the static resource cache is able to detect when a cache
entry is invalidated by being overridden by a new resource in a
different <code>WebResourceSet</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56369">56369</a>: Ensure that removing an MBean notification listener
reverts all the operations performed when adding an MBean notification
listener. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Improve implementation of <code>Lifecycle</code> for
<code>WebappClassLoader</code>. State is now correctly reported rather
than always reporting as <code>NEW</code>. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56382">56382</a>: Information about finished deployment and its execution
time is added to the log files. Patch is provided by Danila Galimov.
(violetagg)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56383">56383</a>: Properties for disabling server information and error
report are added to the <code>org.apache.catalina.valves.ErrorReportValve</code>.
Based on the patch provided by Nick Bunn. (violetagg/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56390">56390</a>: Fix JAR locking issue with JARs containing TLDs and
the TLD cache that prevented the undeployment of web applications when
the WAR was deleted. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix CVE-2014-0119:
Only create XML parsing objects if required and fix associated potential
memory leak in the default Servlet.
Extend XML factory, parser etc. memory leak protection to cover some
additional locations where, theoretically, a memory leak could occur.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Modify generic exception handling so that
<code>StackOverflowError</code> is not treated as a fatal error and can
handled and/or logged as required. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56409">56409</a>: Avoid <code>StackOverflowError</code> on non-Windows
systems if a file named <code>\</code> is encountered when scanning for
TLDs. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56430">56430</a>: Extend checks for suspicious URL patterns to include
patterns of the form <code>*.a.b</code> which are not valid patterns for
extension mappings. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56441">56441</a>: Raise the visibility of exceptions thrown when a
problem is encountered calling a getter or setter on a component
attribute. The logging level is raised from debug to warning. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56463">56463</a>: Property for disabling server information is added to
the <code>DefaultServlet</code>. Server information is presented in the
response sent to the client when directory listings is enabled.
(violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56472">56472</a>: Allow NamingContextListener to clean up on stop if its
start failed. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56481">56481</a>: Work around case insensitivity issue in
<code>URLClassLoader</code> exposed by some recent refactoring. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56492">56492</a>: Avoid eclipse debugger pausing on uncaught exceptions
when tomcat renews its threads. (slaurent)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add the <code>org.apache.naming</code> package to the packages requiring
code to have the <code>defineClassInPackage</code> permission when
running under a security manager. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Make the naming context tokens for containers more robust by using a
separate object. Require RuntimePermission when introducing a new token.
(markt/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56501">56501</a>: <code>HttpServletRequest.getContextPath()</code>
should return the undecoded context path used by the user agent. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Minor fixes to <code>ThreadLocalLeakPreventionListener</code>. Do not
trigger threads renewal for failed contexts. Do not ignore
<code>threadRenewalDelay</code> setting. Improve documentation. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct regression introduced in <a href="https://svn.apache.org/viewvc?view=rev&amp;rev=1239520">r1239520</a> that broke loading
of users from <code>tomcat-users.xml</code> when using the
<code>JAASMemoryLoginModule</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct regression introduced in <a href="https://svn.apache.org/viewvc?view=rev&amp;rev=797162">r797162</a> that broke
authentication of users when using the
<code>JAASMemoryLoginModule</code>. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.6_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
More cleanup of NIO2 endpoint shutdown. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56336">56336</a>: AJP output corruption and errors. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Handle various cases of incomplete writes in NIO2. (remm)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Code cleanups and i18n in NIO2. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix extra onDataAvailable calls in the NIO2 connector. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix gather writes in NIO2 SSL. (remm)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Upgrade the NIO2 connectors to beta, but still not ready for production. (remm)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Fix code duplication between NIO and NIO2. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56348">56348</a>: Fix slow asynchronous read when read was performed on
a non-container thread. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56416">56416</a>: Correct documentation for default value of socket
linger for the AJP and HTTP connectors. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix possible corruption if doing keepalive after a comet request. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56518">56518</a>: Fix connection limit latch leak when a non-container
thread is interrupted during asynchronous processing. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.6_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56334">56334</a>: Fix a regression in the handling of back-slash
escaping introduced by the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55735">55735</a>. (markt/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56425">56425</a>: Improve method matching for EL expressions. When
looking for matching methods, an exact match between parameter types is
preferred followed by an assignable match followed by a coercible match.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct the handling of back-slash escaping in the EL parser and no
longer require that <code>\$</code> or <code>\#</code> must be followed
by <code>{</code> in order for the back-slash escaping to take effect.
(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.6_(markt)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Code: " class="icon" src="./images/code.gif">
Remove the implementation of
<code>org.apache.catalina.LifecycleListener</code> from
<code>org.apache.catalina.ha.tcp.SimpleTcpCluster</code>.
<code>SimpleTcpCluster</code> does not work as
<code>LifecycleListener</code>, it works as nested components of Host or
Engine. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Remove cluster and replicationValve from cluster manager template. These
instance are not necessary to template. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add support for cross context session replication to
<code>org.apache.catalina.ha.session.BackupManager</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Remove the unnecessary cross context check. It does not matter whether
the context that is referenced by other context is set to
<code>crossContext</code>=true. The context that refers to the different
context must be set to <code>crossContext</code>=true. (kfujino)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Move to <code>org.apache.catalina.ha.session.ClusterManagerBase</code>
common logics of
<code>org.apache.catalina.ha.session.BackupManager</code> and
<code>org.apache.catalina.ha.session.DeltaManager</code>. (kfujino)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Simplify the code of <code>o.a.c.ha.tcp.SimpleTcpCluster</code>. In
order to add or remove cluster valve to Container, use pipeline instead
of <code>IntrospectionUtils</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
There is no need to set cluster instance when
<code>SimpleTcpCluster.unregisterClusterValve</code> is called.
Set null than cluster instance for cleanup. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.6_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56343">56343</a>: Avoid a NPE if Tomcat's Java WebSocket 1.0
implementation is used with the Java WebSocket 1.0 API JAR from the
reference implementation. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Increase the default maximum size of the executor used by the WebSocket
implementation for call backs associated with asynchronous writes from
10 to 200. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add a warning if the thread group created for WebSocket asynchronous
write call backs can not be destroyed when the web application is
stopped. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that threads created to support WebSocket clients are stopped
when no longer required. This will happen automatically for WebSocket
client connections initiated by web applications but stand alone clients
must call <code>WsWebSocketContainer.destroy()</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56449">56449</a>: When creating a new session, add the message handlers
to the session before calling <code>Endpoint.onOpen()</code> so the
message handlers are in place should the <code>onOpen()</code> method
trigger the sending of any messages. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56458">56458</a>: Report WebSocket sessions that are created over secure
connections as secure rather than as not secure. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Stop threads used for secure WebSocket client connections when they are
no longer required and give them better names for easier debugging while
they are running. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.6_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add Support for <code>copyXML</code> attribute of Host to Host Manager.
(kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Ensure that "name" request parameter is used as a application base of
host if "webapps" request parameter is not set when adding host in
HostManager Application. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct documentation on Windows service options, aligning it with
Apache Commons Daemon documentation. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56418">56418</a>: Ensure that the Manager web application does not
report success for a web application deployment that fails. (slaurent)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Improve valves documentation. Split valves into groups. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56513">56513</a>: Make the documentation crystal clear that using
sendfile will disable any compression that Tomcat may otherwise have
applied to the response. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.6_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Code: " class="icon" src="./images/code.gif">
Review source code and take advantage of Java 7's
try-with-resources syntax where possible. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Align DisplayName of Tomcat installed by <code>service.bat</code> with
one installed by the *.exe installer. Print a warning in case if neither
server nor client jvm is found by <code>service.bat</code>. (kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56363">56363</a>: Update to version 1.1.30 of Tomcat Native library.
(schultz)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update package renamed Apache Commons BCEL to r1593495 to pick up some
additional changes for Java 7 support and some code clean up. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update package renamed Apache Commons FileUpload to r1569132 to pick up
some small improvements (e.g. better <code>null</code> protection) and
some code clean up. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update package renamed Apache Commons Codec to r1586336 to pick up some
Javadoc fixes and some code clean up. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Switch to including Apache Commons DBCP via a package renamed svn copy
rather than building from a source release for consistency with other
Commons packages and to allow faster releases to fix DBCP related
issues. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update package renamed Apache Commons Pool2 and DBCP2 to r1593563 to
pick various bug fixes. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
In tests: allow to configure directory where JUnit reports and access
log are written to. (kkolinko)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.5_(markt)"><span style="float: right;">beta, 2014-03-27</span> Tomcat 8.0.5 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.5_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Rework the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56190">56190</a> as the previous fix did not recycle
the request in all cases leading to mis-routing of requests. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Allow web applications to package tomcat-jdbc.jar and their JDBC driver
of choice in the web application. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56293">56293</a>: Cache resources loaded by the class loader from
<code>/META-INF/services/</code> for better performance for repeated
look ups. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.5_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix possibly incomplete final flush with NIO2 when using non blocking
mode. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Cleanup NIO2 endpoint shutdown. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix rare race condition notifying onWritePossible in the NIO2
HTTP/1.1 connector. (remm)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.5_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=54475">54475</a>: Add Java 8 support to SMAP generation for JSPs. Patch
by Robbie Gibson. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.5_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56273">56273</a>: If the Manager web application does not perform an
operation because the web application is already being serviced, report
an error rather than reporting success. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56304">56304</a>: Add a note to the documentation about not using
WebSocket with BIO HTTP in production. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.4_(markt)"><span style="float: right;">not released</span> Tomcat 8.0.4 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.4_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Restore the ability to use the <code>addURL()</code> method of the
web application class loader to add external resources to the web
application. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve the robustness of web application undeployment based on some
code analysis triggered by the report for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=54315">54315</a>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56125">56125</a>: Correctly construct the URL for a resource that
represents the root of a JAR file. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Generate a valid root element for the effective web.xml for a web
application for all supported versions of web.xml. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Make it easier for applications embedding and/or extending Tomcat to
modify the <code>javaseClassLoader</code> attribute of the
<code>WebappClassLoader</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add missing support for <code>&lt;deny-uncovered-http-methods&gt;</code>
element when merging web.xml files. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Improve merging process for web.xml files to take account of the
elements and attributes supported by the Servlet version of the merged
file. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Avoid <code>NullPointerException</code> in resource cache when making an
invalid request for a resource outside of the web application. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Remove an unnecessary null check identified by FindBugs. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
In WebappClassLoader, when reporting threads that are still running
while web application is being stopped, print their stack traces to
the log. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56190">56190</a>: The response should be closed (i.e. no further output
is permitted) when a call to <code>AsyncContext.complete()</code> takes
effect. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56236">56236</a>: Enable Tomcat to work with alternative Servlet and
JSP API JARs that package the XML schemas in such as way as to require
a dependency on the JSP API before enabling validation for web.xml.
Tomcat has no such dependency. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56244">56244</a>: Fix MBeans descriptor for WebappClassLoader MBean.
(kkolinko)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add a work around for validating XML documents (often TLDs) that use
just the file name to refer to the JavaEE schema on which they
are based. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add methods of get the idle time from last client access time to
<code>org.apache.catalina.Session</code>. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56246">56246</a>: Fix NullPointerException in MemoryRealm when
authenticating an unknown user. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56248">56248</a>: Allow the deployer to update an existing WAR file
without undeploying the existing application if the update flag is set.
This allows any existing custom context.xml for the application to be
retained. To update an application and remove any existing context.xml
simply undeploy the old version of the application before deploying the
new version. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56253">56253</a>: When listing resources that are provided by a JAR, fix
possible <code>StringIndexOutOfBoundsException</code>s. Add some unit
tests for this and similar scenarios and fix the additional issues those
unit tests identified. Based on a patch by Larry Isaacs. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix CVE-2014-0096:
Redefine the <code>globalXsltFile</code> initialisation parameter of the
DefaultServlet as relative to CATALINA_BASE/conf or CATALINA_HOME/conf.
Prevent user supplied XSLTs used by the DefaultServlet from defining
external entities. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.4_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
In some circumstances asynchronous requests could time out too soon.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56172">56172</a>: Avoid possible request corruption when using the AJP
NIO connector and a request is sent using more than one AJP message.
Patch provided by Amund Elstad. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add experimental NIO2 connector. Based on code developed by
Nabil Benothman. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix CVE-2014-0075:
Improve processing of chuck size from chunked headers. Avoid overflow
and use a bit shift instead of a multiplication as it is marginally
faster. (markt/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix CVE-2014-0095:
Correct regression introduced in 8.0.0-RC2 as part of the Servlet 3.1
non-blocking IO support that broke handling of requests with an explicit
content length of zero. (markt/kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix CVE-2014-0099:
Fix possible overflow when parsing long values from a byte array.
(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.4_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Change the default compiler source and compiler target versions to 1.7
since Tomcat 8 requires a minimum of Java 7. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56179">56179</a>: Fix parsing of EL expressions that contain unnecessary
parentheses. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56177">56177</a>: Handle dependency tracking for TLDs when using JspC
with a tag library JAR that is located outside of the web application.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Remove an unnecessary null check identified by FindBugs. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56199">56199</a>: Restore validateXml option for JspC which determines
if web.xml will be parsed with a validating parser. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56223">56223</a>: Throw an <code>IllegalStateException</code> if a call
is made to <code>ServletContext.setInitParameter()</code> after the
ServletContext has been initialized. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56265">56265</a>: Do not escape values of dynamic tag attributes
containing EL expressions. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Make the default compiler source and target versions for JSPs Java 7
since Tomcat 8 requires Java 7 as a minimum. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56283">56283</a>: Update to the Eclipse JDT Compiler P20140317-1600
which adds support for Java 8 syntax to JSPs. Add support for value
"1.8" for the <code>compilerSourceVM</code> and
<code>compilerTargetVM</code> options. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.4_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Avoid a possible deadlock when one thread is shutting down a connection
while another thread is trying to write to it. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Avoid NPE when flushing batched messages. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.4_(markt)/Web_Applications">Web Applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56093">56093</a>: Add the SSL Valve to the documentation web
application. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56217">56217</a>: Improve readability by using left alignment for the
table cell containing the request information on the Manager application
status page. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fixed <code>java.lang.NegativeArraySizeException</code> when using
"Expire sessions" command in the manager web application on a
context where the session timeout is disabled. (kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add support for <code>LAST_ACCESS_AT_START</code> system property to
Manager web application. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.4_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56115">56115</a>: Expose the <code>httpusecaches</code> property of
Ant's <code>get</code> task as some users may need to change the
default. Based on a suggestion by Anthony. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56143">56143</a>: Improve <code>service.bat</code> so that it can be
launched from a non-UAC console. This includes using a single call to
<code>tomcat8.exe</code> to install the Windows service rather than
three calls, and using command line arguments instead of environment
variables to pass the settings. (markt/kkolinko)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Simplify Windows *.bat files: remove %OS% checks, as current java does
not run on ancient non-NT operating systems. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Align options between <code>service.bat</code> and <code>exe</code>
Windows installer. For <code>service.bat</code> the changes are in
--Classpath, --DisplayName, --StartPath, --StopPath. For
<code>exe</code> installer the changes are in --JvmMs, --JvmMx options,
which are now 128 Mb and 256 Mb respectively instead of being empty.
Explicitly specify --LogPath path when uninstalling Windows service,
avoiding default value for that option. (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56137">56137</a>: Explicitly use NIO connector in SSL example in
server.xml so it doesn't break if APR is enabled. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56139">56139</a>: Avoid a web application class loader leak in some unit
tests when running on Windows. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct build script to avoid building JARs with empty packages. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Allow to limit JUnit test run to a number of selected test case
methods. (kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update Commons Pool 2 to 2.2. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update Commons DBCP 2 to the 2.0 release. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56189">56189</a>: Remove used file cpappend.bat from the distribution.
(markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56204">56204</a>: Remove unnecessary dependency between tasks in the
build script. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Add definition of <code>org.apache.catalina.ant.FindLeaksTask</code>.
(kfujino)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Implement <code>org.apache.catalina.ant.VminfoTask</code>,
<code>org.apache.catalina.ant.ThreaddumpTask</code> and
<code>org.apache.catalina.ant.SslConnectorCiphersTask</code>. (kfujino)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Add the option to the Apache Ant tasks to ignore the constraint of the
first line of the response message that must be "OK -"
(<code>ignoreResponseConstraint</code> in <code>AbstractCatalinaTask</code>).
Default is false. (kfujino)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.3_(markt)"><span style="float: right;">beta, 2014-02-11</span> Tomcat 8.0.3 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.3_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix build of Apache Commons DBCP2 classes. (kkolinko)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update Commons DBCP 2 to snapshot 170 dated 07 Feb 2014. This enables
DBCP to work with a SecurityManager such that only DBCP needs to be
granted the necessary permissions to communicate with the database.
(markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.2_(markt)"><span style="float: right;">not released</span> Tomcat 8.0.2 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.2_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56082">56082</a>: Fix a concurrency bug in JULI's LogManager
implementation. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56085">56085</a>: <code>ServletContext.getRealPath(String)</code> should
return <code>null</code> for invalid input rather than throwing an
<code>IllegalArgumentException</code>. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix WebDAV support that was broken by the refactoring for the new
resources implementation. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Simplify Catalina.initDirs(). (kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56096">56096</a>: When the attribute <code>rmiBindAddress</code> of the
JMX Remote Lifecycle Listener is specified it's value will be used when
constructing the address of a JMX API connector server. Patch is
provided by Jim Talbut. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
When environment entry with one and the same name is defined in the web
deployment descriptor and with annotation then the one specified in the
web deployment descriptor is with priority. (violetagg)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix passing the value of false for <code>xmlBlockExternal</code> option
of Context to Jasper, as the default was changed in 8.0.1. (kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.2_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Enable non-blocking reads to take place on non-container threads.
(markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.2_(markt)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Code: " class="icon" src="./images/code.gif">
Simplify the code of
<code>o.a.c.ha.tcp.SimpleTcpCluster.createManager(String)</code>.
Remove unnecessary class cast. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.2_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
In Manager web application improve handling of file upload errors.
Display a message instead of error 500 page. Simplify. (kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.2_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=56104">56104</a>: Correct the version number on the welcome page of the
Windows installer. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Update Commons DBCP 2 to snapshot 168 dated 05 Feb 2014. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Fix CVE-2014-0050, a denial of service with a malicious, malformed
Content-Type header and multipart request processing. Fixed by merging
latest code (r1565159) from Commons FileUpload. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.1_(markt)"><span style="float: right;">beta, 2014-02-02</span> Tomcat 8.0.1 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.1_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Change default value of <code>xmlBlockExternal</code> attribute of
Context. It is <code>true</code> now. (kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.1_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Correct regression in the fix for <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55996">55996</a> that meant that
asynchronous requests might timeout too early. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.1_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Change default value of the <code>blockExternal</code> attribute of
JspC task. The default value is <code>true</code>. Add support for
<code>-no-blockExternal</code> switch when JspC is run as a
standalone application. (kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.1_(markt)/WebSocket">WebSocket</h4><div class="text">
<ul class="changelog">
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Do not return an empty string for the
<code>Sec-WebSocket-Protocol</code> HTTP header when no sub-protocol has
been requested or no sub-protocol could be agreed as RFC6455 requires
that no <code>Sec-WebSocket-Protocol</code> header is returned in this
case. (markt)
</li>
</ul>
</div></div>
</div><h3 id="Tomcat_8.0.0_(markt)"><span style="float: right;">not released</span> Tomcat 8.0.0 (markt)</h3><div class="text">
<div class="subsection"><h4 id="Tomcat_8.0.0_(markt)/Catalina">Catalina</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Implement JSR 340 - Servlet 3.1. The JSR 340 implementation includes
contributions from Nick Williams and Jeremy Boynes. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Implement JSR 245 MR2 - JSP 2.3. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Implement JSR 341 - Unified Expression Language 3.0. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Implement JSR 356 - WebSockets. The JSR 356 implementation includes
contributions from Nick Williams, Rossen Stoyanchev and Niki Dokovski.
(markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=46727">46727</a>: Refactor default servlet to make it easier to
sub-class to implement finer grained control of the file encoding. Based
on a patch by Fred Toth. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=45995">45995</a>: Align Tomcat with Apache httpd and perform MIME type
mapping based on file extension in a case insensitive manner. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Remove duplicate code that converted a Host's appBase attribute to
a canonical file. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=51408">51408</a>: Replace calls to <code>Charset.defaultCharset()</code>
with an explicit reference to the ISO-8859-1 Charset. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Refactor initialization code to use a single, consistent approach to
determining the Catalina home (binary) and base (instance) directories.
The search order for home is <code>catalina.home</code> system property,
parent of current directory if boootstrap.jar is present and finally
current working directory. The search order for Catalina base is
<code>catalina.base</code> system property falling back to the value for
Catalina home. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=52092">52092</a>: JULI now uses the <code>OneLineFormatter</code> and
<code>AsyncFileHandler</code> by default. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=52558">52558</a>: Refactor <code>CometConnectionManagerValve</code> so
that it does not prevent the session from being serialized in when
running in a cluster. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=52767">52767</a>: Remove reference to MySQL specific autoReconnect
property in <code>JDBCAccessLogValve</code>. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Make the Mapper type-safe. Hosts, Contexts and Wrappers are no
longer handled as plain objects, instead they keep their type.
Code using the Mapper doesn't need to cast objects returned by
the mapper. (rjung)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Move Manager, Loader and Resources from Container to Context since
Context is the only place they are used. The documentation already
states (and has done for some time) that Context is the only valid
location for these nested components. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Move the Mapper from the Connector to the Service since the Mapper is
identical for all Connectors of a given Service and it is common for
there to be multiple Connectors for a Service (http, https and ajp).
This means there is now only ever one Mapper per Service rather than
possibly multiple identically configured Mapper objects. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Remove the per Context Mapper objects and use the Mapper from the
Service. This removes the need to maintain two copies of the mappings
for Servlets and Filters. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Implement a new Resources implementation that merges Aliases,
VirtualLoader, VirtualDirContext, JAR resources and external
repositories into a single framework rather than a separate one for each
feature. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
URL rewrite valve, similar in functionality to mod_rewrite. (remm)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Port storeconfig functionality, which can persist to server.xml and
context.xml runtime container configuration changes. (remm)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=54095">54095</a>: Add support to the Default Servlet for serving
gzipped versions of static resources directly from disk as an
alternative to Tomcat compressing them on each request. Patch by
Philippe Marschall. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=54708">54708</a>: Change the name of the working directory for the ROOT
application (located under $CATALINA_BASE/work by default) from _ to
ROOT. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Change default configuration so that a change to the global web.xml file
will trigger a reload of all web applications. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55101">55101</a>: Make BASIC authentication more tolerant of whitespace.
Patch provided by Brian Burch. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55166">55166</a>: Move JSP descriptor and tag library descriptor schemas
to servlet-api.jar to enable relative references between the schemas to
be correctly resolved. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Refactor the descriptor parsing code into a separate module that can be
used by both Catalina and Jasper. Includes patches provided by Jeremy
Boynes. (violetagg/markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55246">55246</a>: Move TLD scanning to a ServletContainerInitializer
provided by Jasper. Includes removal of TldConfig lifecycle listener and
associated Context properties. (jboynes)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55317">55317</a>: Facilitate weaving by allowing ClassFileTransformer to
be added to WebappClassLoader. Patch by Nick Williams. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55620">55620</a>: Enable Tomcat to start when either $CATALINA_HOME
and/or $CATALINA_BASE contains a comma character. Prevent Tomcat from
starting when $CATALINA_HOME and/or $CATALINA_BASE contains a semi-colon
on Windows. Prevent Tomcat from starting when $CATALINA_HOME and/or
$CATALINA_BASE contains a colon on Linux/FreeBSD/etc. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Initialize the JSP runtime in Jasper's initializer to avoid need for a
Jasper-specific lifecycle listener. <code>JasperListener</code> has been
removed. (jboynes)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
Change ordering of elements of JMX objects names so components are
grouped more logically in JConsole. Generally, components are now
grouped by Host and then by Context. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Context listener to allow better EE and framework integration. (remm)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57896">57896</a>: Support defensive copying of "cookie" header so that
unescaping double quotes in a cookie value does not corrupt original
value of "cookie" header. This is an opt-in feature, enabled by
<code>org.apache.tomcat.util.http.ServerCookie.PRESERVE_COOKIE_HEADER</code>
system property. (remm/kkolinko)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.0_(markt)/Coyote">Coyote</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Experimental support for SPDY. Includes contributions from Sheldon Shao.
(costin)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
The default connector is now the Java NIO connector even when specifying
HTTP/1.1 as protocol (fhanik)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Update default value of pollerThreadCount for the NIO connector. The new
default value will never go above 2 regardless of available processors.
(fhanik)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=54010">54010</a>: Remove some unnecessary code (duplicate calls to
configure the scheme as https for AJP requests originally received over
HTTPS). (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Refactor char encoding/decoding using NIO APIs. (remm)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
Change the default URIEncoding for all connectors from ISO-8859-1 to
UTF-8. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.0_(markt)/Jasper">Jasper</h4><div class="text">
<ul class="changelog">
<li><img alt="Code: " class="icon" src="./images/code.gif">
Simplify API of <code>ErrorDispatcher</code> class by using varargs.
(kkolinko)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Update Jasper to use the new common web.xml parsing code. Includes
patches by Jeremy Boynes. (markt/violetagg)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
Create test cases for JspC. Patch by Jeremy Boynes. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55246">55246</a>: TLD scanning is now performed by JasperInitializer
(a ServletContainerInitializer) removing the need for support within the
Servlet container itself. The scan is now performed only once rather than
in two passes reducing startup time. (jboynes)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55251">55251</a>: Do not allow JspC task to fail silently if the web.xml
or web.xml fragment can not be generated. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.0_(markt)/Cluster">Cluster</h4><div class="text">
<ul class="changelog">
<li><img alt="Code: " class="icon" src="./images/code.gif">
Remove unused JvmRouteSessionIDBinderListener and SessionIDMessage.
(kfujino)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Modify method signature in ReplicationValve. Cluster instance is not
necessary to argument of method. (kfujino)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Remove unused <code>expireSessionsOnShutdown</code> attribute in
<code>org.apache.catalina.ha.session.BackupManager</code>. (kfujino)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.0_(markt)/Web_applications">Web applications</h4><div class="text">
<ul class="changelog">
<li><img alt="Add: " class="icon" src="./images/add.gif">
Extend the diagnostic information provided by the Manager web
application to include details of the configured SSL ciphers suites for
each connector. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=48550">48550</a>: Update examples web application to use UTF-8. (markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55383">55383</a>: Improve the design and correct the HTML markup of
the documentation web application. Patches provided by Konstantin
Prei&szlig;er. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.0_(markt)/Tribes">Tribes</h4><div class="text">
<ul class="changelog">
<li><img alt="Code: " class="icon" src="./images/code.gif">
Refactor <code>AbstractReplicatedMap</code> to use generics. A key
side-effect of this is that the class now implements
<code>Map&lt;K,V&gt;</code> rather than extends
<code>ConcurrentMap</code>. (markt)
</li>
</ul>
</div></div>
<div class="subsection"><h4 id="Tomcat_8.0.0_(markt)/Other">Other</h4><div class="text">
<ul class="changelog">
<li><img alt="Code: " class="icon" src="./images/code.gif">
Remove unused, deprecated code. (markt)
</li>
<li><img alt="Code: " class="icon" src="./images/code.gif">
Remove static info String and associated getInfo() method where present.
(markt)
</li>
<li><img alt="Update: " class="icon" src="./images/update.gif">
(<a href="https://svn.apache.org/viewvc?view=rev&amp;rev=1353242">r1353242</a>, <a href="https://svn.apache.org/viewvc?view=rev&amp;rev=1353410">r1353410</a>):
Remove Ant tasks <code>jasper2</code> and <code>jkstatus</code>.
The correct names are <code>jasper</code> and <code>jkupdate</code>.
(kkolinko)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=53529">53529</a>: Clean-up the handling of
<code>InterruptedException</code> throughout the code base. (markt)
</li>
<li><img alt="Add: " class="icon" src="./images/add.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=54899">54899</a>: Provide an initial implementation of NetBeans support.
Patch provided by Brian Burch. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55166">55166</a>: Move the JSP descriptor and tag library descriptor
schema definition files from jsp-api.jar to servlet-api.jar so relative
includes between the J2EE, Servlet and JSP schemas are correctly
resolved. (markt)
</li>
<li><img alt="Fix: " class="icon" src="./images/fix.gif">
<a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=55372">55372</a>: When starting Tomcat with the <code>jpda</code> option
to enable remote debugging, by default only listen on localhost for
connections from a debugger. Prior to this change, Tomcat listened on
all known addresses. (markt)
</li>
</ul>
</div></div>
</div></div></div></div></div><footer><div id="footer">
Copyright &copy; 1999-2018, The Apache Software Foundation
</div></footer></div></body></html>