Change default value of xmlBlockExternal attribute of
Context. It is true now. (kkolinko)
Coyote
Correct regression in the fix for 55996 that meant that
asynchronous requests might timeout too early. (markt)
Jasper
Change default value of the blockExternal attribute of
JspC task. The default value is true. Add support for
-no-blockExternal switch when JspC is run as a
standalone application. (kkolinko)
WebSocket
Do not return an empty string for the
Sec-WebSocket-Protocol HTTP header when no sub-protocol has
been requested or no sub-protocol could be agreed as RFC6455 requires
that no Sec-WebSocket-Protocol header is returned in this
case. (markt)
not released Tomcat 8.0.0 (markt)
Catalina
Implement JSR 340 - Servlet 3.1. The JSR 340 implementation includes
contributions from Nick Williams and Jeremy Boynes. (markt)
Implement JSR 245 MR2 - JSP 2.3. (markt)
Implement JSR 341 - Unified Expression Language 3.0. (markt)
Implement JSR 356 - WebSockets. The JSR 356 implementation includes
contributions from Nick Williams, Rossen Stoyanchev and Niki Dokovski.
(markt)
46727: 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)
45995: Align Tomcat with Apache httpd and perform MIME type
mapping based on file extension in a case insensitive manner. (markt)
Remove duplicate code that converted a Host's appBase attribute to
a canonical file. (markt)
51408: Replace calls to Charset.defaultCharset()
with an explicit reference to the ISO-8859-1 Charset. (markt)
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 catalina.home system property,
parent of current directory if boootstrap.jar is present and finally
current working directory. The search order for Catalina base is
catalina.base system property falling back to the value for
Catalina home. (markt)
52092: JULI now uses the OneLineFormatter and
AsyncFileHandler by default. (markt)
52558: Refactor CometConnectionManagerValve so
that it does not prevent the session from being serialized in when
running in a cluster. (markt)
52767: Remove reference to MySQL specific autoReconnect
property in JDBCAccessLogValve. (markt)
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)
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)
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)
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)
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)
URL rewrite valve, similar in functionality to mod_rewrite. (remm)
Port storeconfig functionality, which can persist to server.xml and
context.xml runtime container configuration changes. (remm)
54095: 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)
54708: Change the name of the working directory for the ROOT
application (located under $CATALINA_BASE/work by default) from _ to
ROOT. (markt)
Change default configuration so that a change to the global web.xml file
will trigger a reload of all web applications. (markt)
55101: Make BASIC authentication more tolerant of whitespace.
Patch provided by Brian Burch. (markt)
55166: Move JSP descriptor and tag library descriptor schemas
to servlet-api.jar to enable relative references between the schemas to
be correctly resolved. (markt)
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)
55246: Move TLD scanning to a ServletContainerInitializer
provided by Jasper. Includes removal of TldConfig lifecycle listener and
associated Context properties. (jboynes)
55317: Facilitate weaving by allowing ClassFileTransformer to
be added to WebppClassLoader. Patch by Nick Williams. (markt)
55620: 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)
Initialize the JSP runtime in Jasper's initializer to avoid need for a
Jasper-specific lifecycle listener. JasperListener has been
removed. (jboynes)
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)
Context listener to allow better EE and framework integration. (remm)
Coyote
Experimental support for SPDY. Includes contributions from Sheldon Shao.
(costin)
The default connector is now the Java NIO connector even when specifying
HTTP/1.1 as protocol (fhanik)
Update default value of pollerThreadCount for the NIO connector. The new
default value will never go above 2 regardless of available processors.
(fhanik)
54010: Remove some unnecessary code (duplicate calls to
configure the scheme as https for AJP requests originally received over
HTTPS). (markt)
Refactor char encoding/decoding using NIO APIs. (remm)
Change the default URIEncoding for all connectors from ISO-8859-1 to
UTF-8. (markt)
Jasper
Simplify API of ErrorDispatcher class by using varargs.
(kkolinko)
Update Jasper to use the new common web.xml parsing code. Includes
patches by Jeremy Boynes. (markt/violetagg)
Create test cases for JspC. Patch by Jeremy Boynes. (markt)
55246: 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)
55251: Do not allow JspC task to fail silently if the web.xml
or web.xml fragment can not be generated. (markt)
Cluster
Remove unused JvmRouteSessionIDBinderListener and SessionIDMessage.
(kfujino)
Modify method signature in ReplicationValve. Cluster instance is not
necessary to argument of method. (kfujino)
Remove unused expireSessionsOnShutdown attribute in
org.apache.catalina.ha.session.BackupManager. (kfujino)
Web applications
Extend the diagnostic information provided by the Manager web
application to include details of the configured SSL ciphers suites for
each connector. (markt)
48550: Update examples web application to use UTF-8. (markt)
55383: Improve the design and correct the HTML markup of
the documentation web application. Patches provided by Konstantin
Preißer. (markt)
Tribes
Refactor AbstractReplicatedMap to use generics. A key
side-effect of this is that the class now implements
Map<K,V> rather than extends
ConcurrentMap. (markt)
Other
Remove unused, deprecated code. (markt)
Remove static info String and associated getInfo() method where present.
(markt)
(r1353242, r1353410):
Remove Ant tasks jasper2 and jkstatus.
The correct names are jasper and jkupdate.
(kkolinko)
53529: Clean-up the handling of
InterruptedException throughout the code base. (markt)
54899: Provide an initial implementation of NetBeans support.
Patch provided by Brian Burch. (markt)
55166: Move the JSP descriptor and tag library descriptor
schema defintion files from jsp-api.jar to servlet-api.jar so relative
includes between the J2EE, Servlet and JSP schemas are correctly
resolved. (markt)
55372: When starting Tomcat with the jpda 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)