# The Apache Tomcat 5.5 Servlet/JSP Container

## Changelog

Tomcat 5.5.36 (markt) |

> General

> > | Update to Apache Commons Daemon 1.0.10. (markt)
> > | Update to Apache Commons Pool 1.5.7. (markt)
> > | Update to Apache Tomcat Native 1.1.24. (markt)
> > | Update to Eclipse JDT 3.7.2. (markt)

> Catalina

> > | 52677: The new `SetCharacterEncodingFilter` needs to implement `Filter` to be useful. (markt)
> > | 53050: Fix XOR arithmetics and charset issue when calculating entropy to initialize random numbers generator in session manager. Based on a proposal by Andras Rozsa. (kkolinko/jim)
> > | 53531: Better checking and improved error messages for directory creation during automatic deployment. (schultz/kkolinko)
> > | Various improvements to the DIGEST authenticator including 52954, the disabling caching of an authenticated user in the session by default, tracking server rather than client nonces and better handling of stale nonce values. (markt)
> > | Remove unneeded handling of FORM authentication in RealmBase. (kkolinko)
> > | 53830: Better handling of Manager.randomFile default value on Windows. (kkolinko)

> Coyote

> > | Ensure that the chunked input filter is correctly recycled between requests. (kkolinko/jim)
> > | Implement the maxHeaderCount for the HTTP connectors. (kkolinko)
> > | 42181: Better handling of edge conditions in chunk header processing. Improve chunk header parsing. Properly ignore chunk-extension suffix, not trying to parse digits contained in it. Reject chunks whose header is incorrect. (kkolinko)

> Webapps

> > | 52641: Remove mentioning of ldap.jar from docs. Patch provided by Felix Schumacher. (rjung)
> > | 53158: Fix documented defaults for DBCP. Patch provided by ph.dezanneau at gmail.com. (rjung)

> Other

> > | 52640: Correct set the endorsed directory location when using the Windows installer. (markt)
> > | 52579: Add a note about Sun's Charset.decode() bug to the RELEASE-NOTES file. (kkolinko)

Tomcat 5.5.35 (jim) | released 2012-01-16

> Catalina

> > | Make configuration issues for security related Valves and Filters result in the failure of the valve or filter rather than just a warning message. (markt)
> > | Ensure changes to the configuration of the RemoteHostValve and the RemoteAddrValve via JMX are thread-safe. (markt)
> > | In `RequestFilterValve` (`RemoteAddrValve`, `RemoteHostValve`): refactor value matching logic into separate method and expose this new method `isAllowed` through JMX. (kkolinko)
> > | Improve performance of parameter processing for GET and POST requests. Also add an option to limit the maximum number of parameters processed per request. This defaults to 10000. Excessive parameters are ignored. Note that `FailedRequestFilter` can be used to reject the request if some parameters were ignored. (markt/kkolinko)
> > | New filter `FailedRequestFilter` that will reject a request if there were errors during HTTP parameter parsing. (kkolinko)
> > | 52384: Do not fail with parameter parsing when debug logging is enabled. (kkolinko, jim)
> > | Do not flag extra '&' characters in parameters as parse errors. (kkolinko, jim)
> > | Slightly improve performance of UDecoder.convert(). Align `%2f` handling between implementations. (kkolinko)
> > | 52225: Fix ClassCastException when adding an alias for an existing host via JMX. (kkolinko)
> > | Do not throw an IllegalArgumentException from a `parseParameters()` call when a chunked POST request is too large, but treat it like an IO error. (kkolinko)
> > | Add SetCharacterEncodingFilter (similar to the one contained in the examples web application) to the `org.apache.catalina.filters` package so it is available for all web applications. (kkolinko)

> General

> > | Update Eclipse compiler to 3.7 and switch to using ecj.jar. (markt)

> Coyote

> > | Improve multi-byte character handling in all connectors. (rjung)

> Jasper

> > | 52335: Only handle `<\%` and not `\%` as escaped in template text. (markt)

> Webapps

> > | 52049: Improve setup instructions for running as a Windows service: correct information on how a JRE is identified and selected. (kkolinko)
> > | 52172: Update Tomcat build instructions. Includes changes proposed by bmargulies. (kkolinko)
> > | 52243: Improve windows service documentation to clarify how to include `#` and/or `;` in the value of an environment variable that is passed to the service. (markt)

> Other

> > | 52059: Ensure Windows registry keys are removed when using the un-install option of the Windows installer. (markt)

Tomcat 5.5.34 (jim) | released 2011-09-22

> General

> > | Update Tomcat-Native to 1.1.22. (jim)
> > | Fix CVE-2011-2729. Update to Commons Daemon 1.0.7. (markt)
> > | 33262: When using the Windows installer, the monitor is now auto-started for the current user rather than all users to be consistent with menu item creation. (markt)
> > | 40510: Provide an option within the Windows installer to create menu entries for the current user or all users. (markt)
> > | 50949: Add the ability to specify the AJP port and the shutdown port when using the Windows installer. (markt)
> > | 51135: Fix auto-detection of JAVA_HOME for 64-bit Windows platforms that only have a 32-bit JVM installed when using the Windows installer. (markt)

> Catalina

> > | 27988: Improve reporting of missing files. (markt)
> > | 28852: Add URL encoding where missing to parameters in URLs presented by Ant tasks to the Manager application. Based on a patch by Stephane Bailliez. (mark)
> > | 41179: Return 404 rather than 400 for requests to the ROOT context when no ROOT context has been deployed. (markt)
> > | 50189: Once the application has finished writing to the response, prevent further reads from the request since this causes various problems in the connectors which do not expect this. (markt)
> > | Fix CVE-2011-2204. Prevent user passwords appearing in log files if a runtime exception (e.g. OOME) occurs while creating a new user for a MemoryUserDatabase via JMX. (markt)
> > | 51042: Don't trigger session creation listeners when a session ID is changed as part of the authentication process. (markt)
> > | 51324: Improve handling of exceptions when flushing the response buffer to ensure that the doFlush flag does not get stuck in the enabled state. Patch provided by Jeremy Norris. (kkolinko)
> > | 51403: Avoid NullPointerException in JULI FileHandler if formatter is misconfigured. (kkolinko)
> > | 51473: Fix concatenation of values in SecurityConfig.setSecurityProperty() when the value provided by JRE is null. (kkolinko)
> > | 51550: Internal errors in Tomcat components that process requests before they are passed to a web application, such as Authenticators, now return a 500 response rather than a 200 response. (markt)
> > | CVE-2011-1184: Add additional configuration options to the DIGEST authenticator. (markt)

> Coyote

> > | Fix CVE-2011-2526. Protect against crashes (HTTP APR) if sendfile is configured to send more data than is available in the file. (markt)
> > | 50394: Return -1 from read operation instead of throwing an exception when encountering an EOF with the HTTP APR connector. (kkolinko)
> > | 50744: Skip the SSL configuration check on platforms where an unbounded socket cannot be created. (kkolinko)
> > | 51073: Throw an exception and do not start the APR connector if it is configured for SSL and an invalid value is provided for SSLProtocol. (markt)
> > | 51698: Fix CVE-2011-3190. Prevent AJP message injection. (markt)
> > | Detect incomplete AJP messages and reject the associated request if one is found. (markt)

> Jasper

> > | 36362: Handle the case where tag file attributes (which can use any valid XML name) have a name which is not a Java identifier. (markt)
> > | Fix possible threading issue in JSP compilation when development mode is enabled. (markt)

> Cluster

> > | 48717: Ensure session activation events are fired. (markt)
> > | 50771: Ensure HttpServletRequest#getAuthType() returns the name of the authentication scheme if request has already been authenticated. (kfujino)
> > | 51647: Fix session replication when a session attribute is a Java dynamic proxy. Based on a patch by Tomasz Skutnik. (markt)

> Webapps

> > | 41498: Add the allRolesMode attribute to the Realm configuration page in the documentation web application. (markt)
> > | Configure Security Manager How-To to include a copy of the actual conf/catalina.policy file when the documentation is built, rather than maintaining a copy of its content. (kkolinko)
> > | 48997: Fixed some typos and improve cross-referencing to the HTTP Connector and APR documentation with the SSL How-To page of the documentation web application. (markt)

> Other

> > | Align jpda settings in catalina.bat with catalina.sh, tc6.0.x, tc7.0.x and trunk. (markt)
> > | Clarify error messages in *.sh files to mention that if a script is not found it might be because execute permission is needed. (kkolinko)

Tomcat 5.5.33 (jim) | released 2011-02-10

> General

> > | Fix permissions of version.sh in bin tarball. (rjung)

> > 45332, 45852, 50140: Backport numerous improvements to the Windows installer. Specify the correct encoding (the current Windows code page) rather than assuming UTF-8 when creating tomcat-users.xml - 45332, 45852. Update install/uninstall icons. Create an installation log. Allow 32-bit JVMs to be selected when installing on a 64-bit platform. Do not ignore install directory if it is specified with the command line switch on 64-bit platforms - 50140. Add support for the `/?` command line switch. Replace the .ini files with the script equivalents. Provide the ability to edit the roles for the added user. Clean up fully after installation. Add DetailPrint statements for operations that may take time. Improve the descriptions of the components. (kkolinko, mturk, markt)

> > | Add roles (admin-gui, admin-script, manager-gui, manager-script, manager-jmx, manager-status) to the Manager, Host Manager and Admin applications to allow more fine-grained control of permissions. The old roles are deprecated but will still work in the same way. (kkolinko)

> Catalina

> > | Improve HTTP specification compliance in support of `Accept-Language` header. This protects from known exploit of the Oracle JVM bug that triggers a DoS, CVE-2010-4476. (kkolinko)
> > | 50620: Stop exceptions that occur during `Session.endAccess()` from preventing the normal completion of `Request.recycle()`. (markt/kkolinko)

> Coyote

> > | Remove `JSSE13Factory`, `JSSE13SocketFactory` classes, as Tomcat 5.5 always runs on JRE 1.4 or later. (kkolinko)
> > | 50325: When the JVM indicates support for RFC 5746, disable Tomcat's `allowUnsafeLegacyRenegotiation` configuration attribute and use the JVM configuration to control renegotiation. (markt/kkolinko)

Tomcat 5.5.32 (jim) | released 2011-02-01

> General

> > | Update to Commons Daemon 1.0.5. (mturk)
> > | Update to commons-pool 1.5.5. (markt)
> > | Ensure POM files have correct line endings in source distributions. (rjung/markt)

> Catalina

> > | 43960: Expose `available` property of StandardWrapper via JMX. (markt)
> > | 50131: Avoid possible NPE in debug output in PersistentValve. Patch provided by sebb. (kkolinko)
> > | 50413: Ensure 304s are not returned when using static files as error pages. (markt/kkolinko)
> > | Avoid unnecessary cast in StandardContext. (markt)
> > | 50460: Avoid a possible memory leak caused by using a cached exception instance. (kkolinko)
> > | 50550: When a new directory is created (e.g. via WebDAV) ensure that a subsequent request for that directory does not result in a 404 response. (markt/kkolinko)

> Coyote

> > | 47913: Return the IP address rather than null for `getRemoteHost()` with the APR connector if the IP address does not resolve. (markt)
> > | 49521: Disable scanning for a free port in Jk AJP/1.3 connector by default. Do not change maxPort field value of ChannelSocket in its `setPort()` and `init()` methods. Add support for `maxPort` attribute on a `Connector` element as a synonym for channelSocket.maxPort. (kkolinko)

> Jasper

> > | 49935: Handle compilation of recursive tag files. (markt)

> Cluster

> > | Improve sending an access message in DeltaManager. maxInactiveInterval of not Manager but the session is used. If maxInactiveInterval is negative, an access message is not sending. (kfujino)
> > | 50547: Add time stamp for CHANGE_SESSION_ID message and SESSION_EXPIRED message. (kfujino)

> Webapps

> > | 50294: Add more information to documentation regarding format of configuration files. Patch provided by Luke Meyer. (markt)
> > | Improve documentation of database connection factory. (rjung)
> > | Improve filtering of Manager display output. (kkolinko)
> > | Configure the Admin, Manager and Host-Manager web applications to use HttpOnly flag for their session cookies. (kkolinko)

Tomcat 5.5.31 (jim) | released 2010-09-16

> General

> > | Add svn:executable property to some script files and remove it from non-executable files. (rjung)

> Catalina

> > | 38113 Add system property (ALLOW_EMPTY_QUERY_STRING) to allow spec compliant handling of query string. (markt/kkolinko/jim)
> > | Return a copy of the URL being used from the webapp class loader, not the original array. (kkolinko/markt)
> > | 49749: Use HttpOnly flag of current context when genrating a Single-Sign-On cookie. (markt)

> Coyote

> > | 49718: Fix regression in previous fix for 46984 caused by the patch being applied to the wrong section of code. The regression caused HTTP 0.9 requests to fail. (markt)

> Webapps

> > | 49585: Update JSVC documentation to reflect new packaging of Commons Daemon. (markt)
> > | 49774: Add support for SSL with either JSSE or APR baaed connectors to the admin app. (markt)

> Cluster

> > | Add Null check when CHANGE_SESSION_ID message received. (kfujino)

Tomcat 5.5.30 (jim) | released 2010-07-09

> General

> > | Update to Commons Daemon 1.0.2. Use service launcher (procrun) from the Commons Daemon release. Do not keep a copy of it in our source tree. (mturk/kkolinko)
> > | Update to NSIS 2.46. (kkolinko)
> > | Update to Apache Commons DBCP 1.3. (markt)
> > | 48840: Swallow output (if any) from use of cd when determining $CATALINA_HOME in catalina.sh and tool-wrapper.sh scripts. Based on patch provided by mdietze. (markt/kkolinko)
> > | 49236: Do not use indexing when packing Tomcat JARs. (kkolinko)
> > | 48990: Build windows distributions correctly on Linux and add support for the skip.installer property. (kkolinko)

> Catalina

> > | Fix CVE-2010-1157. Prevent possible disclosure of host name or IP address via the HTTP WWW-Authenticate header when using BASIC or DIGEST authentication. (markt)
> > | 44041, 48694: Fix duplicate class definition under load. Avoid possible deadlock in class loading. (markt/kkolinko)
> > | 47774: Ensure web application class loader is used when calling session listeners. (kfujino)
> > | 48179: Improve error handling when reading or writing TLD cache file ("tldCache.ser"). (kkolinko)
> > | 49398: ByteChunk.indexOf(String, int, int, int) could not find a string of length 1. (kkolinko)
> > | Ensure all required i18n messages are present for the APR/native Listener. (kkolinko)
> > | Fix possible overflows when calculating session statistics. (kkolinko)
> > | 49424: Avoid NPE if client provides no data with a chunked POST request. (markt)
> > | Minor code cleanup in AccessLogValve and FastCommonAccessLogValve classes. (kkolinko)

> Coyote

> > | Arrange filter logic. (jfclere)
> > | 48613: Only attempt APR/native connector initialization if the Listener element has been specified in server.xml. (fhanik/kkolinko)
> > | 48843: Prevent possible deadlock and correct queue handling for worker allocation in APR connectors. (kkolinko)
> > | Use chunked encoding for http 1.1 responses with no content-length (regardless of keep-alive) so client can differentiate between complete and partial responses. (markt)

> Jasper

> > | 42390, 48616: Fix compilation error with some nested tag files and simple tags. Do not declare or synchronize scripting variables for JSP fragments since they are scriptless. (kkolinko)
> > | 47878: Return “404”s rather than a permanent “500” if a JSP is deleted. Make sure first response after deletion is correct. (markt/kkolinko)
> > | 48701: Add a system property to allow disabling enforcement of JSP.5.3. The specification recommends, but does not require, this enforcement. (kkolinko)
> > | 48580: Prevent AccessControlException when running under a security manager if the first access is to a JSP that uses a FunctionMapper. (markt/kkolinko)
> > | 49196: Avoid NullPointerException in PageContext.getErrorData() if an error-handling JSP page is called directly. (kkolinko)

> Cluster

> > | 48717: When a node joins a cluster and it receives all the current sessions, ensure the sessionCreated event is fired if the Manager is configured to replicate session events. (markt)
> > | 49170: Do not send duplicated session. (kfujino)
> > | 49445: When session ID is changed after authentication, ensure the DeltaManager replicates the change in ID to the other nodes in the cluster. (kfujino)

> Webapps

> > | Backport documentation stylesheet improvements from Tomcat 6: use CSS styles to provide printer-friendly layout, support generation of TOC tables, support links to revision numbers, use underscores instead of spaces in anchor names. (kkolinko)

Tomcat 5.5.29 (fhanik) | released 2010-04-20

> General

> > | 37847: Make location and filename of catalina.out configurable in catalina.sh. (fhanik/kkolinko)
> > | 47609: Provide fail-safe EOL conversion for build process. (sebb/markt/kkolinko)
> > | 47689: Enable the test Ant target to work. (markt)
> > | 47712: Loading tcnative was broken in 5.5.28. (rjung)
> > | Correct CVE-2009-3548. When installed via the Windows installer and using defaults, don't create an administrative user with a blank password. Additionally, the administrative user is only created if the manager or host-manager web applications are selected for installation. (markt/kkolinko)
> > | Deprecate the jni Buffer and Thread classes. (rjung)
> > | Include 32-bit and 64-bit versions of Tomcat Native DLLs into the Windows installer, instead of downloading them from a web site during install, and allow it to automatically select the correct one for the current platform. (kkolinko/mturk)
> > | Update Windows installer to use NSIS 2.45. (kkolinko)
> > | Update to commons-pool 1.5.4. This fixes regressions in 1.5.2. (markt)
> > | Align server.xml installed by the Windows installer with the one bundled in zip/tar.gz archives. (kkolinko)
> > | Encode all property files using ascii escaped UTF-8. (rjung)
> > | Correct MD5 generation in the build process. (kkolinko)

> Catalina

> > | 37848: Re-fix. Don't display info output when there is no terminal. (markt)
> > | 39231: Call LoginModule.logout() when using JAASRealm. (markt/kkolinko)
> > | 39844: Fix NPE when performing a non-HTTP forward. (billbarker)
> > | 41059: Reduce the chances of errors when using ENABLE_CLEAR_REFERENCES. Patch by Curt Arnold. (markt)
> > | 45255: Add the ability to change session ID on authentication to protect against session fixation attacks. This is disabled by default. (markt/kkolinko)
> > | 46967: Better handling of errors when trying to use Manager.randomFile. Based on a patch by Kirk Wolf. (kkolinko)
> > | 47518: Correct reference in Valve Javadoc that referred to an old method. Patch provided by Christopher Schultz. (markt)
> > | 47537: Return an error page rather than a zero length 200 response if the forward to the login or error page fails during FORM authentication. (markt)
> > | 47718: Fix file descriptor leak on context stop/reload. Patch provided by George Sexton. (markt)
> > | 47826: Correct error in debug message in org.apache.catalina.Bootstrap (markt)
> > | 47963: Ensure that any HTTP status messages are compliant with RFC2616. (markt/kkolinko)
> > | 47997: Enable the NamingResourcesMBean to work with non-Server (i.e. Context) containers. Patch provided by Michael Allman. (markt)
> > | 48004: Allow applications to set the Server header. (markt)
> > | 48007: Improve exception processing in CustomObjectInputStream. (kkolinko)
> > | 48049: Fix copy and paste error so `NamingContext.destroySubContext()` works correctly. Patch provided by gingyang.xu (markt)
> > | 48097: Make WebappClassLoader to do not swallow AccessControlException. (kkolinko)
> > | 48097: Avoid throwing an AccessControlException which can lead to a NoClassDefFoundError on first access of first jsp. (kkolinko/markt)
> > | 48322: Single quote characters are not HTTP separators and should not be treated as such in the cookie handling. (markt)
> > | Provide an option to allow the use of equals characters in cookie values. (markt)
> > | 48516: Prevent NPE in JNDIRealm if requested user does not exist. Patch provided by Kevin Conaway. (markt)
> > | 48577: Filter URL when displaying missing included page. (markt)
> > | 48760: Remove race condition that can result in multiple threads trying to use the same InputStream. (markt)
> > | Add an additional permission required by JULI when running under newer JDKs and a security manager. (markt)
> > | Close resource stream in WebappClassLoader after read error. (pero)
> > | Do not swallow exceptions in ApplicationContextFacade.doPrivileged() (kkolinko)
> > | Various related (un)deploy improvements including: better handling of failed (un)deployment; adding checking for invalid zip file entries that don't make sense in a WAR file; and improved validation of WAR file names. These changes address CVE-2009-2693, CVE-2009-2901 and CVE-2009-2902.

> Coyote

> > | 43327: Allow APR/native connector to work correctly on systems when IPv6 is enabled. (markt)
> > | 46950: Support SSL renegotiation with APR/native connector. Note that this requires APR/native 1.1.17 or later. (markt)
> > | 47225: Fix error in calculation of a buffer length in the mapper. (markt)
> > | 47744: Prevent a medium term memory leak if using SSl with the JSSE provider and also using a security manager. Based on a patch by Greg Vanore. (markt)
> > | 47987: Limit size of not found resources cache. (markt)
> > | 48109: Ensure InputStream is closed in WebappClassLoader on error conditions. (markt)
> > | 48311: APR should not be initialised if the APR life-cycle listener is not enabled. (markt)
> > | 48581: Avoid security exception on first access. (markt)
> > | 48584: Prevent the APR connector logging an error if the acceptor fails during shutdown since this is expected. (mturk)
> > | CVE-2009-3555. Provide option to disable legacy SSL renegotiation. (markt/costin)
> > | Fix Windows installer to bundle an up-to-date version of native/APR with it. When asked to install TC-Native it was downloading some very old (1.1.4) version of it from the HEAnet site. (kkolinko)
> > | Update the native/APR library version bundled with Tomcat to 1.1.20. (kkolinko)
> > | Update recommended version for native to 1.1.19. (rjung)
> > | Remove unneeded line from the method that normalizes decodedURI. (kkolinko)

> Jasper

> > | 38797: Fix regression in previous fix for this bug. (markt)
> > | 41661: Fix thread safety issue in JspConfig.init() (markt)
> > | 41824: Need to use canonical rather than binary form when writing code. (markt)
> > | 46907: Don't swallow input stream when debug logging is enabled. (markt)
> > | 48582: Avoid NPE on background compile. (markt)

> Cluster

> > | DeltaManager needs to replicate changed attributes even if session gets invalidated. Otherwise session listeners will not see the right data on the secondary nodes. (rjung)
> > | Remove unnecessary Java5 dependencies. (markt)
> > | 46384: Correct synchronisation issue that could lead to a cluster member disappering permanently. (markt)
> > | 47554: Include httpOnly attribute when re-writing session cookie after fail over. (markt)

> Webapps

> > | 41564: Add some information on installing Tomcat as a service on operating systems with User Account Control, e.g. Vista. (markt)
> > | 47656: Add information to documentation on system property replacement in configuration files. (markt)
> > | 47769: Clarify the JNDI docs with repect to use of <resource-ref> and related elements, specifically when they are required and when they may be omitted. (markt)
> > | 48381: Add information on how Tomcat treats host names to the host configuration documentation. (markt)
> > | 48530: Add information on the Manager Server Status page to the Manager How-To in the documentation webapp. Based on a patch by Arnaud Espy. (markt)
> > | 48532: Add information to the BIO/NIO SSL configuration page in the documentation web application to specify how the defaults for the various trust store attributes are determined. (markt)
> > | 48686: Fix deleting a host via the Administration web application rather than failign with a HTTP 500 response. (markt)
> > | Make changelog.xml be directly rendered as HTML by certain browsers. (kkolinko)

Tomcat 5.5.28 (fhanik) | released 2009-09-04

> General

> > | 39194: Make the setting of the classpath consistent for the .sh and .bat startup scripts. (markt/kkolinko)
> > | 45880: Include NOTICE file in Windows installer and make sure src files are excluded. (markt)
> > | Update to NSIS 2.44 (kkolinko)
> > | Build scripts: Use different values for ${tomcat-dbcp.home} and ${jasper-compiler-jdt.home} in tomcat-deps. Fix download task checks for commons-pool and commons-dbcp. (kkolinko)
> > | Add the 64-bit windows service binaries to the distribution and get the Windows installer to automatically select the correct one for the current platform. (markt/kkolinko)
> > | Update to commons-pool 1.5.2. This includes various fixes to prevent deadlocks, reduce syncs and make object allocation occur fairly - i.e. objects are allocated to threads in the order that the threads request them. This fixes a number of issues with the version of DBCP embedded within Tomcat. (markt)
> > | Update Tomcat Windows service application (procrun) to version 2.0.5. It contains a fix for issue 41538 (mturk)
> > | 47149: Explicitly specify encoding when performing filtering during copy, fixcrlf or replace operations in build scripts. Don't add blank lines to files when fixing line endings. Explicitly specify encoding when compiling. (kkolinko)
> > | 47464: Some class files were accidentally included into the source distributions of TC 5.5.27. (kkolinko)
> > | Document that building Tomcat requires Ant 1.6.2 or later. (kkolinko)

> Catalina

> > | 37458: Fix sync error that may lead to NPE in rare circumstances. Patch by Konstantin Kolinko. (markt)
> > | 37498: Fall back to container log if application log is unavailable during context destruction. (markt)
> > | 37794: Handle POSTed parameters when sent with chunked encoding. (markt)
> > | 37984: Strip {MD5} as well as {SHA} if present in digest passwords in LDAP directories. (markt)
> > | 38553: A lack of certificates is normal if a user doesn't have a certificate. Return a 401 rather than a 400 in this case. (markt)
> > | 38570: When checking docBase against appBase, make sure we check for an exact match against the appBase. (markt)
> > | 39013: When testing for an invalid docBase, use an exact match for the appBase. (markt)
> > | 39396: Only include TRACE in an OPTIONS response if we know it has been enabled. (markt)
> > | Remove wrong "No role found" realm debug log message, even if a role was found. (rjung)
> > | 39997: Add the SSLRandomSeed option to the AprLifecycleListener to enable faster starts on development systems. (markt)
> > | 40380: Fix potential synchronization issue in StandardSession.expire(). (markt)
> > | 41407: JAAS Realm now works with CLIENT-CERT authentication. (markt)
> > | 42419: Add a system property that enables the name of the session cookie and session path parameter to be configured. (markt)
> > | 42579: Support both relative and absolute search results in the JNDI Realm implementation. Patch provided by Brandon DuRette. (markt)
> > | 42707: Make adding a host alias via JMX take effect immediately. (markt)
> > | 43343: Correctly handle requesting a session we are in the middle of persisting. Based on a suggestion by Wade Chandler. (markt/kkolinko)
> > | 44382: Add support for using httpOnly for session cookies. This is disabled by default. (markt/fhanik)
> > | 45576: JAAS Realm now works with DIGEST authentication. (markt)
> > | 45628: JARs that do not declare any dependencies should always be considered as fulfilled. (markt)
> > | 45933: Don't use a web application provided parser to process TLD files. (markt)
> > | 45996: Add Accept-Ranges header to responses from the DefaultServlet with an option to disable it. (markt)
> > | 46105: Correctly set URI encoding when replaying a request after FORM authentication. (markt)
> > | 46408: Correct possible invalid case in SecurityUtil. (markt)
> > | 46552: Return a 400 response rather than a 200 response if the request headers are too large. (markt)
> > | 46597: Port all cookie handling changes from Tomcat 6.0.x. (markt)
> > | 46606: Make max depth limit for WebDAV servlet configurable. (markt)
> > | 46717: Fix hard to reproduce thread safety issue with session expiration. (markt)
> > | 46982: Fix DST problem with AccessLogValve. (markt)
> > | Improve handling of situation where web application tries to configure logging at the context level but the security policy prevents this. (markt/rjung)
> > | Fix an information disclosure vulnerability in a number of the Realms that allowed user enumeration when using FORM authentication. This is CVE-2009-0580. (markt)
> > | Fix various WebDAV compliance issues identified by the Litmus test suite. (markt)
> > | Use a better default (webapps) for a Host's appBase. (idarwin/markt)
> > | 44943: Reduce copy/paste issues caused by different engine names in server.xml. (markt, kkolinko)
> > | Remove obsolete classpath entry for commons-logging from start script. It is already present in the classpath set by the manifest in bootstrap.jar. (rjung)
> > | 38483: Thread safety issues in AccessLogValve classes. (kkolinko)
> > | Allow log file encoding to be configured for JULI FileHandler. (kkolinko)

> Jasper

> > | 36923: Parse deactivated EL expressions correctly. (markt)
> > | 37084: Fix JspC compilation with Ant when compiling JSPs that use a custom taglib. (markt/kkolinko)
> > | 37515: Add options for Java 1.6 and 1.7 to the JDT compiler. (markt)
> > | 38197: Fix tag pooling when tags are used with jsp:attribute. (markt)
> > | 38352: Make the directory defined by javax.servlet.context.tempdir readable for JSPs when running under a security manager as required by the specification. (markt)
> > | 38797: Revert previous fix for 37933 and implement a new fix that does not have the side effects described in 38797.
> > | 38897: Add uri of broken TLD to error message to aid debugging. (markt)
> > | 41606: Fix double initialisation of JSPs. Patch provided by Chris Halstead. (markt)
> > | 45666: Fix infinite loop on include. Patch provided by Tom Wadzinski. (markt)
> > | 46354: Fix ArrayIndexOutOfBoundsException when using org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true. Patch provided by Konstantin Kolinko. (markt)
> > | 46909: Only include semi-colon in type attribute for <jsp:plugin> when it is required. (markt)

> Cluster

> > | Fix minor memory leak found by find bugs. (markt, rjung)
> > | 40551: Enable the JvmRouteBinderValve to work with PersistentManagers as well as clustering. Patch by Chris Chandler. (markt)
> > | 46357: Corrected test for host's parent must be an engine. (markt, rjung)
> > | 45317: Properly log the value of the state transfer timeout flag. (fhanik, rjung)
> > | 45279: Properly close multicast socket. (fhanik, rjung)
> > | 45447: Add Spanish resource files. Patch provided by Jesus Marin. (markt, rjung)
> > | 46990: Fix synchronization issues in cluster membership reported by FindBugs. Patch provided by Sebb. (markt, rjung)
> > | 47389: DeltaManager doesn't do session replication if notifySessionListenersOnReplication=false. Patch by Keiichi Fujino. (fhanik, rjung)
> > | Separate statistics counter lock in FastAsyncSocketSender from inherited DataSender lock to reduce blocking during failed node detection. (rjung)
> > | Handle situation session ID rewriting on fail-over with parallel requests from the same client. (pero)
> > | 43641: Use of bind attribute for membership element breaks multicast. (rjung)

> Webapps

> > | Fix CVE-2009-0781. XSS in calendar example. (markt)
> > | 36574: Fix broken PDFs. (markt)
> > | 39603: Admin app only showed ROOT web application when clustering was enabled. (markt)
> > | 47032: Fix /status/all in Manager webapp when using the PersistentManager. (markt)
> > | 47235: Remove use of autoReconnect from MySQL examples. (mark)
> > | 46509: Use correct link on error page in JSP security example. Patch provided by Michael Moody. (markt)
> > | 46562: Close file when reading has finished when using SSI. (markt)

> Coyote

> > | 37869: Correctly extract client certificates, including the full certificate chain when using the APR/native HTTP connector. (markt)
> > | 39637: Correctly extract client certificates, including the full certificate chain when using the AJP connectors. Patch by Patrik Schnellmann. (markt)
> > | Set remote port for AJP connectors from the optional request attribute AJP_REMOTE_PORT. (rjung)
> > | 45026: Never return an empty HTTP status reason phrase. mod_jk and httpd 2.x do not like that. (rjung)
> > | 45528: An invalid SSL configuration could cause an infinite logging loop on startup. (markt)
> > | 46984: Reject requests with invalid HTTP methods with a 400 rather than a 501. (markt)
> > | Update the APR/native connector to 1.1.16. (markt, kkolinko)
> > | Correct potential DOS issue in Java AJP connector when processing invalid request headers. This is CVE-2009-0033. (markt)
> > | Make DateTool thread safe. (fhanik)

Tomcat 5.5.27 (fhanik) | released 2008-09-08

> General

> > | 44463: War file upload in manager webapp fails due to missing commons-io dependency. Added commons-io 1.4. (rjung)

> Catalina

> > | 46770: Don't send duplicate headers when using flushBuffer(). (rjung)
> > | 44021, 43013: Add support for # to signify multi-level contexts for directories and wars.
> > | 44494: Backport from 6.0 (rjung)
> > | Add additional checks for URI normalization. (remm)
> > | Don't throw an ArrayIndexOutOfBoundsException when empty URL is requested. Patch provided by Charles R Caldarale. (markt)
> > | 29936: Don't use parser from a webapp to parse web.xml and possibly context.xml files. (markt)
> > | 43079: Correct pattern verification for suspicious URLs. Patch provided by John Kew. (markt)
> > | 43080: Log suspicious URL pattern warnings to the correct web application. (markt)
> > | 43117: Setting an empty workDIR could delete all of CATALINA_HOME. Patch provided by Takayuki Kaneko. (markt)
> > | 44282: Prevent security exception in trace level logging for web application class loader when running under a security manager. (markt)
> > | 44529: No roles specified (deny all) should take precedence over no auth-constraint specified (allow-all). (markt)
> > | 43578: Enable start on Linux if $CATALINA_HOME contains a space. Original patch provided by Ray Sauers with improvements by Ian Ward Comfort. (markt)
> > | 44673: Throw IOE if ServletInputStream is closed and a call is made to any read(), ready(), mark(), reset(), or skip() method as per javadocs for Reader. (markt)
> > | Enable the CGIServlet to work with Windows Vista. (markt)
> > | Add additional permission required to read JDK logging configuration when running with a security manager. (markt)
> > | 44943: Reduce copy/paste issues caused by different engine names in server.xml. (markt)
> > | 45195: Prevent NPE when calling `Session.getAttribute(null)` and `Session.removeAttribute(null)`. The spec is unclear but this is a regression from 5.0.x. (markt)
> > | 45293: Update name of commons-logging jar in security policy. (markt)
> > | 45453: Fix race condition in JDBC Realm. Based on a patch provided by Santtu Hyrkk. (markt)
> > | JAAS Realm did not read role information for users. (markt)
> > | 46683: Fix typo in French localisation file name for the org.apache.catalina.loader package. (markt)

> Coyote

> > | Log errors for AJP signoffs at DEBUG level, since it is harmless if mod_jk has hung up the phone. (billbarker)
> > | 42727: Handle request lines that are exact multiples of 4096 in length. Patch provided by Will Pugh. (markt)
> > | 43191: Compression could not be disabled for some file types. Based on a patch by Len Popp. (markt)
> > | 45591: Fix NPE on shutdown failure in some cases. Based on a patch by Matt Passell. (markt)

> Jasper

> > | 31257: Quote endorsed dirs if they contain a space. (markt)
> > | 42943: Make sure nested element is inside <jsp:text> element before throwing exception. (markt)
> > | 44877: Prevent collisions in tag pool names. (markt)
> > | 45015: Enfore JSP spec rules on quoting in attrbutes. This is configurable using the system property `org.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING`. (markt)

> Webapps

> > | 42899: When saving config from admin app, correctly handle case where the old config file does not exist. (markt)
> > | 44541: Document packetSize attribute for AJP connector. (markt)
> > | 44715: Document use of secret for AJP connector. (markt)
> > | 45323: Add note that context.xml files can only contain a single Context element. (markt)
> > | Update JNDI datasource docs since maxActive setting for unlimited changed in commons-pool > 1.2. (markt)

> Specification

> > | Use a localised error message if a user tries to write a negative length byte array during default processing of a HEAD request. (markt)
> > | 44562: HEAD requests cannot use includes. Patch provided by David Jencks. (markt)

Tomcat 5.5.26 (fhanik) | released 2008-02-05

> General

> > | Use Eclipse JDT 3.3.1. (pero)
> > | Use new commons download location. (markt)
> > | Use commons-launcher 1.1. (markt)
> > | Use commons-digester 1.8. (markt)
> > | Use Xerces 2.9.1. (markt)
> > | Remove usused commons-httpclient. (funkman)
> > | Use commons-collections 3.2. (markt)
> > | Use commons-fileupload 1.2. (markt)
> > | Use MX4J 3.0.2. (markt)
> > | Use JUnit 3.8.2. (markt)
> > | Use NSIS 2.34. (markt)
> > | Use Struts 1.2.9. (markt)
> > | Use JAF 1.1.1. (markt)
> > | Use JTA 1.1. (markt)
> > | Use JavaMail 1.4.1. (markt)
> > | Use PureTLS 0.9b5. (markt)
> > | Use commons-pool 1.4. (markt)
> > | 43594: Use setenv from CATALINA_BASE (if set) in preference to the one in CATALINA_HOME. Patch provided by Shaddy Baddah. (markt)
> > | Fix CVE-2007-5342 by limiting permissions granted to JULI. (markt)

> Catalina

> > | 38131: WatchedResource doesn't work if app is outside host appbase webapps. Patch provided by Peter Lynch (pero)
> > | Set correct sessionCounter at StandardManager after reload sessions. (pero)
> > | Fix NPE situation at AccessLogValve (pero)
> > | 30949: Improve previous fix. Ensure requests are recycled on cross-context includes and forwards when an exception occurs in the target page. (markt)
> > | 43216: Set correct StandardSession#accessCount as system property STRICT_SERVLET_COMPLIANCE is true after application restart with SESSION.ser file. Patch provided by Takayuki Kaneko (pero)
> > | Made session createTime accessible for all SessionManager via JMX (pero)
> > | Support logging of all response header values at ExtendedAccessLogValve (ex. add x-O(Set-Cookie) to your pattern). (pero)
> > | Support logging of current thread name at AccessLogValve (ex. add %I to your pattern). Usefull to compare access logging entry later with a stacktraces. (pero)
> > | o.a.juli.ClassLoaderLogManager handle more then one system property replacement at file logging.properties. (pero)
> > | 43236: Reset usingWriter and associated flags when response is reset. (markt)
> > | 43241: ServletContext.getResourceAsStream() not spec compliant. Patch provided by John Kew. (markt)
> > | 43675: Fix a possible logging related class loader leak. (markt)
> > | 43687: Remove conditional headers on Form Auth replay, since the UA (esp. FireFox) isn't expecting it. (billbarker)
> > | Fix bug in CGI Servlet that caused it to fail when a CGI resource was included in another resource. (markt)

> > Cookie handling/parsing changes! The following behavior has been changed with regards to Tomcat's cookie handling:
> > a) Cookies containing control characters, except 0x09(HT), are rejected using an InvalidArgumentException.
> > b) If cookies are not quoted, they will be quoted if they contain `tspecials(ver0)` or `tspecials2(ver1)` characters.
> > c) Escape character '\\' is allowed and respected as a escape character, and will be unescaped during parsing.

> > | 43839: URL based session tracking fails when session cookie from parent context is present. Based on a patch by Yuan Qingyun. (markt)
> > | 43887: Include exception in the log message. (markt)
> > | 43914: Location headers must be encoded. Patch provided by Ivan Todoroski. (markt)
> > | 43957: Service.bat didn't configure logging correctly. Patch provided by Richard Fearn. (markt)
> > | 44041: Fix duplicate class definition error under load. (markt)
> > | 44084: JASSRealm is broken for application provided Principals. Patch provided by Noah Levitt. (markt)

> Jasper

> > | 43702: Reduce length of unnecessarily long class names for the inner helper class when using simple tags. (markt)
> > | 43757: Rather than use string matching to work out the line in the JSP with the error, use the SMAP info and the knowledge that for a scriptlet there is a one to one line mapping. (markt)

> Cluster

> > | Fix FarmWarDeployer can be only configured at host subelement (pero)
> > | Fix wrong && at ReplicationValve (pero)
> > | DeltaManager sessionCounter must be also increment at relicated sessions. (pero)
> > | Made attribute createTime accessible for all DataSenders. (pero)

> Webapps

> > | Fix CVE-2007-5461, an important information disclosure vulnerability in the WebDAV Servlet. (markt)
> > | 43611: Provide an error message when trying to upload a WAR for a context that has been defined in server.xml. (markt)
> > | 44094: Add note to docs about side-effects of setting privileged on a context. (markt)

> Coyote

> > | 43479: Fix memory leak cleaning up sendfile connections. (markt)
> > | 43622: Don't always overwrite min compression size with default. (markt)
> > | 43995: No timeout for sendfile (TODO item had been forgotten). (markt)

Tomcat 5.5.25 (fhanik) | released 2007-09-08

> General

> > | Correct j.u.l log levels in JULI docs. (rjung)
> > | Update to Commons Modeler 2.0.1, fix embed release starting issue. (pero)

> Catalina

> > | Handle special case of ROOT when re-loading webapp after ROOT.xml has been modified. In some circumstances the reloaded ROOT webapp had no associated resources. (markt)
> > | Fix WebDAV Servlet so it works correctly with MS clients. (markt)
> > | Remove invalid attribute "encoding" of MBean MemoryUserDatabase, which lead to errors in the manager webapp JMXProxy output. (rjung)
> > | Fix XSS security vulnerability (CVE-2007-2450) in the Manager and Host Manager. Reported by Daiki Fukumori. (markt)
> > | 39055: Add JMXAdaptorLifecycleListener to start JMX Connector with fixed naming and data ports. This feature is needed to have stable remote access when a firewall is active. The adaptor reads all standard JMX system properties (-Dcom.sun.management.jmxremote.XXX). Currently only included at src release (uses JDK 1.5 classes). Feature provided by George Lindholm and Juergen Herrman (pero)
> > | 41722: Make the role-link element optional (as required by the spec) when using a security-role-ref element. (markt)
> > | 42547: Fix NPE when a ResourceLink in context.xml tries to override an env-entry in web.xml. (markt)
> > | 42944: Correctly handle servlet mappings that use a '+' character as part of the url pattern. (markt)
> > | Improve large-file support (more then 4 Gb) at all AccessLogValves. (pero)
> > | 43129: Support logging of response headers at AccessLogValve (ex. add %{Set-Cookie}o to your pattern). (pero)

> Jasper

> > | 2500: FileNotFoundException within a JSP pages resulted in a 404 rather than a 500. (markt)
> > | 37326: No error reported when an included page does not exist. (markt)
> > | 42643: Prevent creation of duplicate JSP function mapper variables. (markt)
> > | 42314: Provide compilation error details in cases where the error can't be mapped back to a source file. (markt)

> Webapps

> > | Don't write error on System.out, use log() instead. (rjung)
> > | Fix XSS security vulnerabilities (CVE-2007-2449) in the examples. Reported by Toshiharu Sugiyama. (markt)
> > | 39212: Fix possible NPE in DummyCart example and remove redundant code. (markt)
> > | 42979: Update sample.war to include recent security fixes in the source code. (markt)

> Coyote

> > | Separate sequence increment from getter in ThreadPool to avoid misleading increments during monitoring via JMX. (rjung)

> Cluster

> > | 40042: Recovery membership heartbeat after interface down. (pero)
> > | 42691: Don't set access time after session sync. Fix that sessions after node restart better expire. Requested by Casey Lucas (pero)
> > | Backport Tomcat 6 cluster socket parameter. (pero)
> > | Fix typo in new MBean attribute which lead to errors in the manager webapp JMXProxy output. (rjung)
> > | 42689: No way to timeout new connect attempts for replication sockets. Patch by Casey Lucas (pero)
> > | Fix timeout setting on a replicated DeltaSession. Patch by Alexander Maas (fhanik,pero)
> > | 42720: Don't send a message if no cluster member exists. Patch by Keiichi Fujino (pero)

Tomcat 5.5.24 (fhanik) | not released

> General

> > | Update to Commons DBCP src 1.2.2 (pero)
> > | Update to Commons Pool src 1.3 (pero)

> Catalina

> > | 33774 Retry JNDI authentiction on ServiceUnavailableException as at least one provider throws this after an idle connection has been closed. (markt)
> > | 40593 Cleanup that Listener stop after Manager stop at StandardContext.stop(). Patch by Suzuki Yuichiro (pero)
> > | 41747 Correct example ant script for deploy task. (markt)
> > | 41752 Correct error message on exception in MemoryRealm. (markt)
> > | 39875 Minor cleanup in RealmBase.init, as requested by Takayoshi Kimura. (yoavs)
> > | 41477 Add commons-el.jar to bin/catalina-tasks.xml, required for jasper2 tasks using EL. Patch by Daniel Santos. (yoavs)
> > | 40150 Ensure user and role classnames are validated on startup. Patch by Tom. (yoavs)
> > | 42039 Log a stack trace if a servlet throws an UnavailableException. Patch provided by Kawasima Kazuh. (markt)
> > | 41990 Add some additional mime-type mappings. (markt)
> > | 41655 Fix message translations. Japanese translations provided by Suzuki Yuichiro. (markt)
> > | 41939 Add configuration option to disable nulling of static and final fields of loaded classes when stopping a web application classloader. Setting the system property org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES to false will stop these fields being set to null on context stop. (markt)
> > | Fix a logging related memory leak in ManagerBase and ApplicationDispatcher. (markt)
> > | 42354: Ensure JARs in webapps are scanned for TLDs when the Tomcat installation path contains spaces. (markt)
> > | 42361: Handle multi-part forms when saving requests during FORM authentication process. Patch provided by Peter Runge. (markt)
> > | 42401: Update RUNNING.txt with better JRE/JDK information. (markt)
> > | 42497: Ensure ETag header is present in a 304 response. Patch provided by Len Popp. (markt)
> > | Allow for a forward/include to call getAttributeNames on the Request in a sandbox. (billbarker)
> > | And getSession() operation to StandardManager and DeltaManager JMX Interface (pero)

> Webapps

> > | Update host configuration document for new behaviour for directories in appBase. (markt)
> > | 39883 Add note to context configuration document about using antiResourceLocking on a webapp outside the Host's appBase directory. (yoavs)
> > | 39540 Add link to httpd 2.2 mod_proxy_ajp docs in AJP connector doc. (yoavs)
> > | 41289: Create configBase, since it is no longer created elsewhere. Submitted by Shiva Kumar H R. (pero)
> > | 42103: Use correct names for truststoreFile, truststoreType and truststorePass when saving server.xml in Admin webapp. Patch provided by Matheus Bastos. (markt)
> > | 42025: Update valve documentation to refer to correct regular expression implementation. (markt)
> > | 41956: Don't skip the connector address attribute when persisting server.xml changes via the admin webapp. (markt)

> Coyote

> > | 40960 Inconsistent exception type thrown on socket timeout in InternalAprInputBuffer. Patch by Christophe Pierret. (yoavs)
> > | 41675 Add a couple of DEBUG-level logging statements to Http11Processors when sending error responses. Patch by Ralf Hauser. (yoavs)
> > | 42119 Fix return value for request.getCharacterEncoding() when Content-Type headers contain parameters other than charset. Patch by Leigh L Klotz Jr. (markt)
> > | 36155 Always reset the MB when doing getBytes in the JK Connector (billbarker)
> > | Improve large-file support in the AJP Connectors (billbarker)

> Cluster

> > | Receiver can also use tcpListenAddress with a hostname. (rjung, pero)
> > | DeltaRequest synchronized getSize() and show log message as readExternal() failure. (rjung, pero)
> > | Add DeltaManager expireTolerance attribute to quicker auto expire long backup sessions. (rjung, pero)
> > | Add DeltaManager updateActiveIntervall attribute to send every 60 sec a session access message. (rjung, pero)
> > | 39866 Duplicate names appended to cluster manager name. (yoavs)

> Jasper

> > | 39425 Add additional system property permission to catalina.policy for pre-compiled JSPs. (markt)
> > | 41227 Add a bit of DEBUG-level logging to JspC so users know which file is being compiled. (yoavs)
> > | 41869 TagData.getAttribute() should return TagData.REQUEST_TIME_VALUE when the attribute value is an EL expression. (markt)
> > | 42071 Fix IllegalStateException on multiple requests to an unavailable JSP. Patch provided by Kawasima Kazuh. (markt)
> > | After a JSP throws an UnavailableException allow it to be accessed once the unavailable period has expired. (markt)
> > | 42072 Don't call destroy() if the associated init() fails. Patch provided by Kawasima Kazuh. (markt)
> > | Fix a logging related memory leak in PageContextImpl. (markt)
> > | 42438 Duplicate temporary variables were created when jsp:attribute was used in conjunction with custom tags. Patch provided by Brian Lenz. (markt)

Tomcat 5.5.23 (fhanik) | released 2007-03-09

> Catalina

> > | 41608 Make log levels consistent when Servlet.service() throws an exception. (markt)
> > | 41666 Correct handling of boundary conditions for If-Unmodified-Since and If-Modified-Since headers. Patch provided by Suzuki Yuichiro. (markt)
> > | 41674 Fix error messages when parsing context.xml that incorrectly referred to web.xml. (markt)
> > | 41739 Correct handling of servlets with a load-on-startup value of zero. These are now the first servlets to be started. (markt)

> Coyote

> > | Requests with multiple content-length headers are now rejected. (markt)

Tomcat 5.5.22 (fhanik) | not released

> General

> > | Fix regression in build that prevented connectors from building. (markt)

Tomcat 5.5.21 (fhanik) | not released

> Catalina

> > | 41401: StandardService.getConnectorNames() return array of Connector JMX objectnames. (pero)
> > | 29727: If env-entry values in web.xml are changed then ensure new values are applied when context is reloaded. (markt)
> > | 34956: Ensure request and response objects passed to a RequestDispatcher meet the requirements of SRV.8.2 and SRV.14.2.5.1. This is disabled by default. The Java option `-Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true` is required to enable this test. (markt)
> > | 36274: When including static content with the DefaultServlet also treat content types ending in xml as text. (markt)
> > | 36976: Don't use CATALINA_OPTS when stopping Tomcat. This allows options for starting and stopping to be set on JAVA_OPTS and options for starting only to be set on CATALINA_OPTS. Without this fix, some startup options (eg the port for remote JMX) would cause stop to fail. Based on a fix suggested by Michael Vorburger. (markt)
> > | 37070: Update mbean name documentation to include the StandardWrapper. (markt)

> > 37356: Ensure sessions time out correctly. This has been fixed by removing the accessCount feature by default. This feature prevents the session from timing out whilst requests that last longer than the session time out are being processed. This feature is enabled by setting the Java option `-Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true` The feature is now implemented with synchronization which addresses the thread safety issues associated with the original bug report. (markt)

> > | 37439: Update documentation for Engine component to add the requirement that the name must be unique. (markt)
> > | 37458: Add syncs to the WebappClassloader to address rare issues when multiple threads attempt to load the same class concurrently. (markt)
> > | 37509: Do not remove whitespace from the end of values defined in logging.properties files. (markt)
> > | 38198: Add reference to Context documentation from Host documentation that explains how Context name is obtained from the Context filename. (markt)
> > | 39088: Prevent infinte loops when an exception is thrown that returns itself for getRootCause(). Based on a patch by Wouter Zelle. (markt)
> > | 39436: Correct MIME type for SVG. (markt)
> > | 39627: JULI no longer ignores a ".level=XXX" directive in logging.properties. Patch provided by Roger Keays and Richard Fearn. (markt)
> > | 39724: Removing the last valve from a pipeline did not return the pipeline to the original state. Patch provided by David Gagon. (markt)
> > | 40367: Update JK auto configuration documentation to clarify that workers.properties must also exist. (markt)
> > | 40524: HttpServletRequest.getAuthType() now returns CLIENT_CERT rather than CLIENT-CERT for certificate authentication as per the spec. Note that web.xml continues to use CLIENT-CERT to specify the certificate authentication should be used. (markt)
> > | 40526: Add support for JPDA_OPTS to catalina.bat and add a JPDA_SUSPEND environment variable to both startup scripts. Patch provided by Kurt Roy. (markt)
> > | 40528: Add missing message localisations as provided by Ben Clifford. (markt)
> > | 40585: Fix parameterised constructor for o.a.juli.FileHandler so parameters have an effect. (markt)
> > | 40625: Stop CGIServlet swallowing the root cause of an exception. Patch provided by Takayoshi Kimura. (markt)
> > | 40723: Correct table creation example in JavaDoc for JDBCAccessLogValve. (markt)
> > | 40802: Add jsp-api.jar to fileset in catalina-tasks.xml as provided by Daniel Santos. (pero)
> > | 40817: Correct problem where CGI scripts in the root of the ROOT context threw a `StringIndexOutOfBoundsException`. (markt)
> > | Set the `SCRIPT_FILENAME` environment variable required by PHP when using the CGIServlet to execute PHP. (markt)
> > | 40823: Update context doc to clarify use of ROOT.xml, multi-level context paths and to further discourage use of server.xml (markt)
> > | 40844: Add additional syncs to JDBCRealm to resolve NPE when two users try to authenticate using DIGEST authentication at the same time. (markt)
> > | 40860: Log exceptions and other problems during parameter processing. (markt)
> > | 40901: Encode directory listing output. Based on a patch provided by Chris Halstead. (markt)
> > | 40929: Correct JavaDoc for StandardCalssLoader. (markt)
> > | 41008: Allow POST to be used for indexed queries with CGI Servlet. Patch provided by Chris Halstead. (markt)
> > | 41020: Improve error message when custom error report Valve fails to load. Also remove requirement that custom error report Valves extend ValveBase. (markt)
> > | 41217: Set secure attribute on SSO cookie when cookie is created during a secure request. Patch provided by Chris Halstead. (markt)
> > | Ensure Accept-Language headers conform to RFC 2616. Ignore them if they do not. (markt)
> > | Make provided instances of RequestDispatcher thread safe. (markt)
> > | Fix formatting of CGI variable SCRIPT_NAME. (markt)
> > | 34643: Improved documentation for per-user / per-session clientAuth usage in SSL Authenticator. Docs provided by jack and Ralf Hauser. (yoavs)
> > | 40668: Update release notes and readme files specific to v5.5.20 to notify users of missing MailSessionFactory in distribution, suggest workarounds, and link to relevant Bugzilla issue. (yoavs)
> > | 37977: adapt BUILDING.txt and net build.xml for SVN. Patch by Christopher Sahnwaldt. (yoavs)
> > | 39055: Link to sample workaround code for using JSR160 JMX monitoring with a local firewall. Thanks to George Lindholm for the patch. (yoavs)
> > | 39476: add xml declaration to most build.xml files, as suggested by Gregory S. Hoerner Sr. (yoavs)
> > | 40326: stop using File#deleteOnExit in DefaultServlet to avoid JVM memory leak, as suggested by quartz. (yoavs)
> > | 40192: update setup.html notes regarding Windows tray icon. (yoavs)
> > | 40177: add more warnings to documentation about RequestDumperValve character encoding. (yoavs)
> > | 39255: NPE in AuthenticatorBase when logging level is set to DEBUG and no prinicpal found. (yoavs)
> > | 41437: Make log messages and loglevel consistent during Context start. Patch provided by Suzuki Yuichiro. (markt)

> Coyote

> > | 38332: Add backlog attribute to ChannelSocket as provided by Takayoshi Kimura. (pero)
> > | Backport packetSize feature from Tomcat 6.0.x at standard coyote AJP Jk handler. (pero)
> > | 40771: Fix implementation of SavedRequestInputFilter.doRead() so POST data may be read using a Valve or Filter. Patch provided by Michael Dufel. (markt)
> > | 41017: Restore behaviour of MessageBytes.setString(null). (remm/markt)
> > | 41057: Modify StringCache to add a configurable upper bound to the length of cached strings. (remm/markt)
> > | 38774: Check javax.net.ssl.keyStorePassword system property as a secondary source for keystore password in JSSESocketFactory, as suggested by Ted X. Toth. (yoavs)
> > | 39402: Modify existing Vary HTTP header, rather than overwrite it, if it exists when using GZip compression. Patch by Matthew Cooke. (yoavs)
> > | 40241: Catch Exceptions instead of Throwables in Default and SSI servlets. Also improve relevant logging while we're at it. (yoavs)
> > | 40133: Better error message when context name is not available on startup, as suggested by Andreas Plesner Jacobsen. (yoavs)

> Jasper

> > | 39975: don't have static Log references to prevent classloader leaks. (yoavs)
> > | 40104: When displaying JSP source after an exception, handle included files. (markt)
> > | 40797: This was a regression as a result of the fix for 33407. TLD validation was failing as a result of the use of the escape character (0x1b) as a temporary replacement for \$. An alternative character (0xe000) from the unicode private use range is now used. (markt)
> > | 41057: Make jsp:plugin output XHTML compliant. (markt)
> > | 41327: Show full URI for a 404. Patch provided by Vijay. (markt)
> > | 41265: Allow JspServlet checkInterval init parameter to be explicitly set to the stated default value of zero by removing the code that resets it to 300 if explicitly specified as zero. (markt)
> > | Display the JSP source when a compilation error occurs and display the correct line number rather than start of a scriptlet block. (markt)

> Webapps

> > | 34952: Clarify that the Windows Installer always installs a Windows service. (markt)
> > | 35968: Make environment entry properties input a text area. Patch provided by Tristan Marly. (markt)
> > | 37588: Fix creation of JNDI Realm in admin application. Patch provided by Terry Zhou. (markt)
> > | 38048: Fix memory leak assoaciated with use of expression language in JSPs. Patch provided by Taras Tielkes. (markt)
> > | 39572: Improvements to CompressionFilter example provided by Eric Hedström. (markt)
> > | 40507: Update host-manager and servlet-examples web-apps to use the servlet 2.4 xsd. Patch provided by Chris Halstead. (markt)
> > | 40581: Add information on the use of a symbloic link as the docBase for a Context to the Context documentation. (markt)
> > | 40633: Remove references to the DefaultContext from the documentation. (markt)
> > | 40677: Update SSL documentation to indicate that PKCS11 keystores may be used. (markt)
> > | 40714: Admin webapp no longer requires a username for a DataSource since it is not required in all cases. (markt)
> > | 40720: Fix exception in admin webapp when adding a group to a user. (markt)
> > | 40874: Correct log4j configuration in documentation webapp. Patch provided by Franck Borel. (markt)
> > | 40999: Add trust store configuration for SSL connectors to the admin webapp. (markt)
> > | 41051: Add information on keystore aliases and case sensitivity to SSL HOW-TO. (markt)
> > | 41182: Update the Jasper documentation for the classpath attribute. (markt)
> > | 41493: Fix handling of APR connectors in Admin webapp. (markt)
> > | 41512: Version number was not inserted in release notes. (markt)
> > | 40257: Update Manager webapp howto on remote deployment to reflect need for explicit path in one specific use-case. Thanks to Venkatesh Jayaraman. (yoavs)
> > | 40160: add reference to the Filter proposed in this Bugzilla item to the WebdavServlet. While at it, give the WebdavServlet some long-overdue TLC by cleaning up some of the old data structures in favor of modern (but still JDK 1.4-compliant) interfaces. (yoavs)
> > | Add a virtual hosting how-to contributed by Hassan Schroeder. (markt)

> Cluster

> > | Add clustered SSO code and backport feature from Tomcat 6.0.x, submitted by Fabien Carrion (pero)
> > | Add better recovery at FastAsyncQueueSender. Made the startegy more robust for temporary connection problems (pero)

Tomcat 5.5.20 (fhanik) | released 2006-09-28

> Catalina

> > | Fix logic error in UserDatbaseRealm.getprincipal() that caused user roles assigned via groups to be ignored. (markt)
> > | 40518: Use correct message when a RuntimeException is thrown from the requestInitialized or requestDestroyed method of a listener that implements ServletRequestListener. (markt)

> Jasper

> > | 31804: Unnested tags within a tag file are now configured with the Tag represented by the containing tag file as their parent tag. (markt)
> > | 33356: Tag attributes that contained $ followed by 1 or more non-special characters and then a { character caused an exception. (markt)
> > | 33407: The string \$ in template text was reduced to $ when the isELIgnored page directive was set to true. (markt)
> > | 34509: Tag names may now use the full range of characters permitted by xsd:nmtoken. (markt)

> Webapps

> > | 34399: Disable undeploy for applications that have not been deployed such as those defined in server.xml (markt)

Tomcat 5.5.19 (fhanik) | not released

> General

> > | Add multi attribute setting to jmx:set JMX remote ant task. Patch contributed by Didier Donsez (pero)

> Catalina

> > | 30762: Re-fix this bug that was re-introduced by the fix to 37264. (markt)
> > | 37588: Fix JNDI realm creation through JMX. Patch contributed by TerryZhou (fhanik)
> > | 39704: The use of custom classloaders failed when the context was specified in server.xml. Correction of the fault will require setting the new loader attribute useSystemClassLoaderAsParent to false. (markt)

> Coyote

> > | 40418: APR Endpoint socket evaluation (remm)

> Webapps

> > | 31339: Admin app threw exceptions if a name other than Catalina was configured for the Engine. Patch based on a suggestion from Amila Suriarachchi. (markt)

Tomcat 5.5.18 (yoavs) | not released

> General

> > | Change MD5 release signature files to have md5 (lowercase) extension instead of MD5 (uppercase), as suggested by Henk Penning and specified in the ASF release publishing guidelines. (yoavs)

> Catalina

> > | Fix that ManagerBase increment expireSessions counter at background task two times. (pero)
> > | 39406: Fix that StandardSession#getLastAccessedTime() uses correct exception message, suggested by Takayoshi Kimura. (pero)
> > | 39661: Add documentation on JULI FileHandler properties. (yoavs)
> > | 39657: Warn (and don't load jar) if JSP API is in webapp classloader repository, as suggested by David Sanchez Crespillo. (yoavs)
> > | 39674: Support JRockit JVM in service.bat script, as suggested by lizongbo. (yoavs)
> > | 39711: Update Loader configuration documentation, as suggested by Stephane Bailliez. (yoavs)
> > | 39865: Add Open Office mime types to conf/web.xml. (markt)
> > | 38814: Align CGI handling of indexed queries, parameters and POST content with other CGI providers. The changes: only provide parameters on the command line for indexed queries; always provide the query string via the QUERY_STRING environment variable; provide POST content unmodified to stdin; and never call getParameters(). (markt)
> > | 34801: Partial fix that adds handling of IOExceptions during long running CGI requests. Based on a patch by Chris Davey. (markt)
> > | 39689: Allow single quotes (') and backticks (`) as well as double quotes (") to be used to delimit SSI attribute values. (markt)
> > | 40053: Correct application deployment documentation so it agrees with the classloader documentation regarding shared lib and CATALINA_BASE. (markt)
> > | 39592: Stop HEAD requests for resources handled by SSI servlet or filter generating stack traces in the logs. (markt)
> > | Improve handling of the ';' character in the URL so that it is now allowed if properly %xx encoded. (remm)

> Coyote

> > | Fix APR endpoint so that the acceptor thread now only processes socket accepts. (remm)

> Webapps

> > | 39813: Correct handling of new line characters in JMX attributes. Patch provided by R Bramley. (markt)
> > | 37781: Make sure that StoreConfig save external referenced war files at context.xml correct. (pero)
> > | 39791: Use correct default for useNaming within a Context. (markt)
> > | Correctly generate re-direct for admin app index.jsp to prevent login page being displayed twice when cookies are disabled. (markt)

> Cluster

> > | 39473: Session timeout much shorter than setting at web.xml at cluster environment, suggested by Jin Jiang. (pero)

Tomcat 5.5.17 (yoavs) | released 2006-04-27

> General

> > | Update to Xerces 2.8.0 (remm)
> > | Update to tcnative 1.1.3 (remm)

> Catalina

> > | Fix SingleSignOn Valve and add Session.getLastAccessTimeInternal() without session invalidation test. (pero)
> > | 38814: CGIServlet correctly handles Shift_JIS output. (markt)
> > | Add missing REQUEST_URI environment variable to CGI environment. (markt)
> > | 27617: Sync existing mime types with httpd. (keith)
> > | 38761: Handle relative symlinks to shell scripts as suggested by Adam Murray (keith)
> > | 38795: Associate more closely bind with a finally unbind in StandardContext start and stop, based on a patch by Darryl Miles (remm)
> > | Improve undeployment robustness (remm)
> > | Expand the semaphore valve (remm)
> > | 39021: Add back support for authentication only, submitted by Scott Stark (remm)
> > | Revert fix for 38113, which does not seem a legitimate problem, and causes regressions (remm)
> > | Correctly reset listeners when reloading a webapp (remm)
> > | 38194: Don't fail silently if -force is used without CATALINA_PID, submitted by Matthew Buckett. (yoavs)
> > | 38154: Avoid NPE in FileDirContext after webapp undeploy, reported by Jamie Maher. (yoavs)
> > | 38217: Added cautionary note about keystore password to SSL HowTo, as suggested by Ralf Hauser. (yoavs)
> > | 38262: Cleared ambiguity in host documentation, as suggested by Jeffrey Bennett. (yoavs)
> > | 38476: Modified check for null TLD stream, as suggested by Fabrizio Giustina. (yoavs)
> > | 38052: Use userName as userField default. User is at many databases a reserved keyword, as suggested by rik. (pero)
> > | Fix handling of non matching if-range header (remm)
> > | 37848: Only output catalina.sh diagnostic messages if we have a TTY, submitted by David Shaw. (yoavs)
> > | 38596: Minor performance optimization in DataSourceRealm, suggested by Sandy McArthur. (yoavs)

> Coyote

> > | Make the default cipher suites available for SSL the same as the set of cipher suites enabled by default rather than the set of all cipher suites. This prevents ciphers suites that do not provide confidentiality protection and/or server authentication being used by default. (markt)
> > | Move AprEndpoint.getWorkerThread inside the try/catch for the main accept loop, to guard about an OOM (which would most likely doom the server anyway) (remm)
> > | As exhibited in the ASF's JIRA installation, it seems EINTR is a status code that should be ignored as a result to a poll call (remm)
> > | New APR connectors defaults (remm)
> > | Add multiple threads for APR pollers, to work around Windows limitations (performance degrades very rapidly if poller sizes over 1024 are allowed when compiling APR) (remm)
> > | New modes for firstReadTimeout (-1 being the new default) (remm)
> > | Replace java.util.Stack usage with a simple array in the APR endpoint (remm)
> > | tcnative jnilib.c now report correct compile flags for runtime Library.java checks like sendfile support default true/false (pero)

> Jasper

> > | 38015: Remove misleading warnings logged in TagLibraryInfoImpl, as suggested by Andrew Houghton. (yoavs)
> > | 38376: Make sure body content stack is always properly aligned, as submitted by Tony Deigh. (yoavs)
> > | Compatibility with JDT 3.2 (remm)

> Webapps

> > | 39292: Update catalina.policy at demo balancer app. Fix provided by Kerry Sainsbury (pero)
> > | 36847: Fixed the manager app copy function to not overwrite fileA with fileB when fileA==fileB. Fix provided by Haroon Rafique (fhanik)
> > | 38508: Several enhancements to Host Manager application, including configurable manager app support and dialog box enhancements. Thanks to George Sexton for the patch. (yoavs)
> > | 37781: Make sure context config file is writeable, suggested by George Sexton. (yoavs,pero)

> Cluster

> > | Add at PooledSocketSender the jmx attributes inPoolSize and inUsePoolSize. (pero)
> > | DeltaManager set session creationTime at backup node. (pero)
> > | Add JvmRouteBinderValve documentation at cluster-howto.xml. (pero)
> > | JvmRouteBinderValve now supports now sessionid's from request and cookies. Thanks to Brian Stansberry for reporting it. (pero)
> > | 38779 Fix wrong jmx message arg at SimpleTcpCluster at o.a.c.cluster.tcp.mbeans-descriptors.xml, submitted by Pawel Tucholski (pero)
> > | Fix that not after every "Keep Alive Socket close" a log warning is generated at TcpReplicationThread (pero)
> > | 39178: Now ROOT.war deployment with FarmWarDeployer is possible (pero)
> > | ReplicationValve not set primarySession flag when all backup nodes gone (pero)
> > | Add DeltaSession.getLastAccessTimeInternal() without session invalidation test. (pero)

Tomcat 5.5.16 (yoavs) | released 2006-03-15

> General

> > | Updated / enhanced docs to remove old FIXME references. (yoavs)
> > | Required tcnative library version upgraded to 1.1.2 (remm)
> > | Update to Eclipse JDT 3.1.2 (remm)

> Catalina

> > | 23950: Context.listBindings() should return objects not references. (markt)
> > | 38124: Add support for Windows 20xx when reading environment variables in CGIServlet. (markt)
> > | 29214: response.containsHeader() now returns the correct value for Content-Type and Content-Length headers. (markt)
> > | Allow using a custom ContextConfig when using JMX embedding of Tomcat, as is done by the regular deployer. (remm)
> > | Add JMX serverInfo attribute to Server MBean, that we can identify the tomcat release remotely. (pero)
> > | Fix the JMX MBeanFactory.createStandardHost signature at mbean-descriptors.xml (pero)
> > | Fix some cases (for example with realm usage) where the container logger for a context would be retrieved using the wrong classloader (remm)
> > | HttpSession.getId will no longer throw an ISE when the session is invalid (remm)
> > | More detailed errors for naming issues (remm)
> > | Add documentation for the Transaction element (remm)
> > | Add getContextPath to the internal servlet context implementation (remm)
> > | Only null instances loaded by the webapp CL, submitted by Matt Jensen (remm)
> > | Deploy folders which don't have a WEB-INF, and return an error when a context file does not contain a Context element (remm)
> > | 38653: Fix property name (remm)
> > | Slightly modify the timing of the manager start, so that it is not started by a listener (remm)
> > | Refresh loggers used by the digester (remm)
> > | Use sendError instead of setStatus to send the 401 code. (billbarker)
> > | Don't append the port for an SSL redirect if it is the default port. (billbarker)

> Coyote

> > | Log errors when setting socket options with debug priority rather than error. (remm)
> > | 38100: Make certain that a valid Host name is set, or none at all. (billbarker)
> > | 38485: Fix minor regression setting connection timeout (as well as linger and no delay) where the default value was always used when using the regular HTTP connector (remm)
> > | Pass along more of the SSL related fields to OpenSSL (remm)
> > | CharChunk now implements CharSequence (remm)
> > | Fix coding error which could cause a rare crash when a poller error occurred and sockets where pending being added to the keepalive poller (remm)
> > | Fix potential sync issues when restarting a poller (remm)
> > | Update APR error reports, including the error codes (remm)
> > | 38726: Remove duplicate request group field causing blank statistics for the HTTP connector (remm)
> > | Fix invalid length used by some AJP packets for the AJP APR connector, which could cause corruption, submitted by Rudiger Plum (jim)
> > | 38346: Fix problems with request.getReader().readLine(). Patch by Rainer Jung (billbarker)
> > | Local address reuse for APR Endpoints (via APR_SO_REUSEADDR) now enabled (jim)
> > | Don't write out the shutdown secret file if shutdown is disabled (the default) (billbarker)
> > | Fix NPE when no sink is supplied. (billbarker)
> > | APR Endpoints now IPv6 aware (jim)
> > | Downgrade "Response already committed" logging entry to DEBUG. (billbarker)
> > | 38113: Return the empty String for an empty query-string instead of null. (billbarker)

> Jasper

> > | 38389: Set correct JDT Compiler option to java 1.5 compliance. Patch from Olivier Thomann and Paul Hamer (pero)
> > | Add some useful hints to jasper-howto. (pero).
> > | 38776: Fix source file attribute, submitted by Olivier Thomann (remm)

> Cluster

> > | Update DeltaManager session access stats (pero)
> > | DeltaSession getId will no longer throw an ISE when the session is invalid (pero)
> > | Resurrected the "suspect" property so that the logs don't fill up with errors when member disappears or a connection is lost. Only useful for pooled mode (fhanik)
> > | 35710: Add session replication for cross context session changes. The portlet api need this support, see refactored ReplicationValve. (pero)
> > | ReplicationValve reset DeltaSession when cluster node has no backup node. (pero)
> > | DataSender close connection and throw exception also even if waitForAck is false. (pero)
> > | Active cluster junit test again. (pero)

> Webapps

> > | Fix some XSS issues in the JSP examples. (markt)
> > | Fix logos in the manager webapp (remm)

Tomcat 5.5.15 (yoavs) | released 2006-01-21

> General

> > | 32081: Remove the JDK requirement from the Win32 scripts. (keith)

> Catalina

> > | 37852: Fix regression where the magic role '*' was denying all access. Patch by xrcat (billbarker)
> > | 37934: Don't ask for authentication if deny-from-all is in effect. (billbarker)
> > | 15570: auth-constraint of * was interpretted as all authenticated users rather than as all roles defined in web.xml. (markt)
> > | Remove leftover static logger which was used to log application level messages in ApplicationContextFacade (remm)
> > | 38012: Where a CGI script sets a response code, use it. (markt)
> > | 37854: Extension-List checking was too strict. (markt)

> Coyote

> > | Report binding errors in the APR endpoint as strings rather than platform specific status codes (remm)
> > | 37934: Don't ask for authentication if deny-from-all is in effect. (billbarker)
> > | 38047: Handle the case where the Servlet attempts to read the Request body from the AJP/1.3 Connector, in the case that no body was sent. (billbarker)
> > | 38030: Unconditionally return EOS for an attempt to read the body of any request that doesn't send CL or TE. (remm, billbarker).

> Jasper

> > | 35351: Fix problem using an inner class for a <jsp:useBean />. (kinman).
> > | 37929: Don't stop on the generic attribute methods just because the session is invalid. Patch by Pierre Delisle. (billbarker)
> > | Add system properties org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER and org.apache.jasper.runtime.JspFactoryImpl.USE_POOL to allow configuring Jasper memory usage (remm)
> > | 37933: Restrict <jsp:getAttribute /> to only look in PAGE_SCOPE. (billbarker)

> Cluster

> > | 37808: Fix ArrayIndexOutOfBoundsException inside XByteBuffer. Reported by Dietmar Mueller (pero)
> > | 37896DataSender starts new Socket after IOException. (pero)
> > | Reduce memory usage at membership service. (pero)

Tomcat 5.5.14 (yoavs)

> General

> > | Update optional native APR connector version to 1.1.1. (mturk)
> > | Update build.properties.default to get native connector from new location. (yoavs)

> Catalina

> > | 13040: Fix getContext() when used to obtain a context that is a sub-context of the current context. Ported from TC4. (markt)

> Jasper

> > | 37746: Remove extra space from StringTokenizer pattern in JspC, as suggested by Eric Hedstrom. (yoavs)

> Coyote

> > | 36863: Strip quotes when parsing Cookie values, even for v0 Cookies. (billbarker)
> > | 37803: Don't claim that we have a string value in MessageBytes until we actually do. Patch by Doug Rand (billbarker)

Tomcat 5.5.13 (yoavs)

> General

> > | 36711: Unused line of code. (yoavs)
> > | Removed unused SAXPath, Jaxen dependencies. (yoavs)
> > | Update log4j dependency to version 1.2.12, Struts to 1.2.7. (yoavs)
> > | Removed JDBC 2.0 StdExt dependency (only class from there is javax.sql.XADataSource, which is present in JDK 1.4 and later. (yoavs)
> > | 37039: typo on JK Quick configuration how-to. (yoavs)
> > | 37035: Add a placeholder file in the temp directory for WinZip tar.gz handling. (yoavs)
> > | Update JAF dependency to 1.0.2, JTA to 1.0.1b and JavaMail to 1.3.3_01. (markt)
> > | Added Eclipse .project, .classpath, and associated files to make building Tomcat from Eclipse significantly easier. (markt)
> > | 37284: Guess JSE 5.0 location on Mac OS X, patch by Stepan Koltsov. (yoavs)
> > | Wrong class name in antlib.xml for JkStatusUpdateTask. (yoavs)

> Catalina

> > | 36802: Fix problem of double-init when JMX-deploying a Context into a started Host. (billbarker)
> > | 36840: Provide information as to which web.xml is being processed on startup to help debug parsing errors. (yoavs)
> > | 34724: Ability to set domain for Single-Sign-On cookie. Patch by Oliver Rossmueller. (yoavs)
> > | 37044: RealmBase.hasResourcePermission needs to access the GenericPrincipal as set by the realm unless hasRole is overriden, which was no longer being done properly for the JAAS realm (remm)
> > | 37264: JNDI resources were no longer available when stopping listeners, submitted by Bogdan Calmac (remm)
> > | 37150: Turn off directory listing by default and add a warning regarding enabling listing of directories with many entries. (markt)
> > | Add configurability for the amount of time that the container will wait for requests to complete when unloading servlets, using the unloadDelay property. (remm)
> > | Add code to set to null fields in loaded classes when stopping a web application, as a possible workaround for suspicious garbage collection behavior. (remm)
> > | Update messages and stack traces for classloading errors which may occur when removing a web application, and for stopped web applications. (remm)
> > | 37319: Fix catalina.bat reference to CATALINA_BASE for logging.properties. Thanks to Pierre-Yves Benzaken. (yoavs)
> > | 36852: Custom classloaders don't honor Contet privileged attribute. Thanks to Matt Brinkley for the analysis and patch. (yoavs)
> > | Fix for a couple of (mostly silly) edge-cases in testing auth. Thanks to Nam T. Nguyen for the report. (billbarker)
> > | 37060: Actually copy the Request headers when replaying after Form auth. (billbarker)
> > | 37591: Typo in Engine configuration reference. (yoavs)
> > | 37668: Added note about JSP recompilation to Context configuration documentation. (yoavs)
> > | 37132: Have DigestAuthenticator Handle user names with commas. Thanks to Robert Wille for the patch. (yoavs)
> > | 37212: Better error reporting in Connector.java. Thanks to Ralf Hauser for the patch. (yoavs)

> Coyote

> > | Gracefully handle the case where some Socket options are disabled at the OS level for the AJP/1.3 Connector. (billbarker)
> > | 36366: Use rewritten deployer-howto page by Allistair Crossley. (remm)
> > | 36630: Added extra log output for class instantiation failure. (yoavs)
> > | 37121: Sendfile always needs to be given the length of data to write, which fixes ranged requests. (remm)
> > | Optimized direct byte buffers association with the socket for APR connectors. (mturk)
> > | Fix hidden NPEs when using the APR connectors and there's no host header. (pero, remm)
> > | Http11Protocol now register RequestProcessor at JMX and show current usage inside manager app. (pero)
> > | JkStatus Ant tasks for mod_jk 1.2.15. (pero)
> > | Connection Timeout is normal, so reduce logging to DEBUG (billbarker)
> > | Fix crash which could occur with the HTTP APR connector when accessing request JMX objects outside of the processing of the said request (remm)
> > | 37627: Fix buffering issue in the HTTP APR connector when a large buffer size was used for servlets (remm)
> > | 37673: Fix implementation of getLocalPort and getLocalAddr in the HTTP APR connector (remm)

> Jasper

> > | 35252: Jasper PageDataImpl outputs malformed XML. Patch by Rahul Akolkar. (yoavs)
> > | 37062: Helpful JSP exception message containing file, line numbers. Patch by Tim Fennell at http://www.tfenne.com/jasper/. (yoavs)
> > | 37407: File descriptor leak in JspReader. Thanks to Fred for the patch. I also did some minor cleanup in the class. (yoavs)
> > | 37612: Add file location to JSP Validator error message. Thanks to Renaud Bruyeron for the patch. (yoavs)

> Cluster

> > | Fix that session replace messages are logged after node recovery get all session from master node. (pero)
> > | 37896 Fix that sendMessage signature at all DataSender subclasses must be changed. Now pooled and async modes working as expected. (pero)
> > | Fix that socket at o.a.c.cluster.tcp.FastAsyncSocketSender can be disconnect/connect. (pero)
> > | Fix cluster module build.xml script for new svn repository structure (pero)
> > | Fix closed socket exceptions at normal server shutdown, reported by Olve Hansen (pero)
> > | Fix closed socket exceptions inside async message transfer modes (pero)
> > | 34984: HttpSessionBindingEvent.getValue() get correct value (pero)
> > | 35916: send sessionCreated to SessionListener after cluster node recovery (pero)
> > | 36541: Used also Hashtable at DeltaSession (pero)
> > | Better support cluster at engine level. (pero)
> > | 36866: Correct attribute name in conf/server.xml documentation for Cluster element. (yoavs)
> > | 37261: Allow xerces to know where the web.xml file is so that relative entities can be resolved.
> > | 37529: Fixed race condition in ReplicationLister#stopListening. Thanks to Chris Walker for the patch. (yoavs)

> Webapps

> > | Remove obsolete TagPlugin file from JSP examples (billbarker)
> > | 36019: Made clear the Host-Manager HowTo is coming soon, not ready yet. (yoavs)
> > | 36336: Check WAR extension in both upper and lower case, as suggested by A. Grasoff. (yoavs)
> > | 35982: Can't delete mail sessions in admin webapp. (yoavs)
> > | 36673: Similar to the one above, for data sources. (yoavs)

Tomcat 5.5.12 (yoavs)

> General

> > | Remove uneeded files in conf. (remm)
> > | Change distribution file names from jakarta-* to apache-*. (remm)

> Catalina

> > | Add JMX Remote create and unregister ant tasks (pero)
> > | 36343: Only normalize out backslash on Windows platforms. (billbarker)
> > | Allow configuring standard stream redirection. (remm)
> > | 36088: Add RUNNING.txt and RELEASE-NOTES.txt to fulldocs distro. (yoavs)
> > | 36534: fix equals for URLs returned by ServletContext.getResource() (luehe)
> > | 36558: Clear IntrospectionUtils cache when stopping a webapp, as it could leak to keeping a reference to the classloader (remm)
> > | 36113: Session persistence for objects with primitive types could fail in some rare cases (remm)
> > | 36541: Full synchronization for session objects attributes collections (remm)
> > | 35609: service.bat echo command when wrong arguments given [patch by Robert Longson] (yoavs)
> > | 34749: jsessionid dropped on trailing slash (/) redirect (remm)

> Coyote

> > | Add support for secret for AJP APR (remm)

> Jasper

> > | Fix NPE with an error message when no Java compiler is available (remm)
> > | Restrict System err stream capture to the Ant compiler, as the Eclipse compiler does not need it (remm)
> > | JSP compilation speed improvement using tag library information caching, submitted by Xingbo Gao (remm)
> > | Initial contribution of JSTL tag plugins supporting the core tag library of JSTL, submitted by Jing Li (remm)

> Cluster

> > | 36541: Sync all session attribute access (read and write) at DeltaSession (pero)
> > | 36518: Classname typos for senders, submitted by Christoph Bachhuber-Haller (remm)
> > | 35613: Added FAQ question and answer about tcpListenAddress="auto" and /etc/hosts (yoavs)
> > | Moved FAQ section for Clustering from Clustering HowTo page to its own FAQ page. (yoavs)

> Webapps

> > | 36319: Fix broken link to DBCP docs, submitted by Xavier Poinsard (remm)
> > | Brand new deployer specs, submitted by Allistair Crossley (remm)

Tomcat 5.5.11 (yoavs)

> General

> > | Update to Xerces 2.7.1 (remm)
> > | Add ready to build bin/tomcat-native.tar.gz for the APR JNI wrapper library (remm)
> > | 35930: Bad logging config used by the Tomcat Windows service (remm)
> > | 33261: Windows installer now checks the user type and warns non-admins as needed. (yoavs)
> > | The Windows installer will now optionally download a (32bit) Windows .dll for Tomcat native from HEAnet (remm)
> > | Declaration of jspc Ant task to fix the deployer package (remm)

> Catalina

> > | Add concurrency control valve (o.a.c.valves.SemaphoreValve). As the Tomcat distribution is not built for Java 5, the valve will have to be compiled from the sources using Java 5 (remm)
> > | 35880: Ignore JSSE15SocketFactory when generating JavaDoc, as it breaks the JDK 1.4 JavaDoc tool. (yoavs)
> > | 35865: setclasspath.sh cannot be excutive under cygwin. (funkman)
> > | 33267: Set working path in service installer, as suggested by Dominik Drzewiecki. (yoavs)
> > | 34794: Update connector documentation to include clientAuth attribute. (yoavs)
> > | 35894, 36228: Fix CNFE when starting in a sandbox. (billbarker, remm)
> > | Add version check for Tomcat native so that incompatible API changes are detected early (remm)
> > | 36020: Allow MemoryUserDatabase to work better on write protected mediums, submitted by Rainer Jung (remm)
> > | 35978: Bad handling of single range requests greater than 2GB in the DefaultServlet (remm)
> > | 35984: Client abort exceptions will now use getCause (remm)
> > | Fix handling of non-file based includes with SSI, submitted by David Becker (markt)

> Coyote

> > | Fix default ports for http and https which are set in the request when the parsed hostname does not specify the port, and which were inverted (https was set as 80 and http as 443). (remm)
> > | Add missing tomcatAuthentication attribute to the AJP APR implementation. (remm)
> > | Check filename sendfile attribute only if sendfile is enabled. (remm)
> > | Fix output buffering for APR AJP implementation. (remm)
> > | 35941: Fix getRemoteAddr for APR AJP implementation. (remm)
> > | 35942: Fix NPE retriving cipher suite attribute when no certificate was submitted (for example with no SSL). (remm)
> > | Internationalization and code cleanups for APR AJP implementation. (remm)
> > | Security exception in APR AJP implementation when running with the security manager enabled. (remm)
> > | 36173: Add missing sync in FastHttpDateFormat.formatDate, submitted by Alexei Krainiouk (remm)
> > | Disable HTTP compression when sendfile is used for a resource (remm)
> > | AJP secret attribute report only at trace level. (pero)

> Jasper

> > | 36127: Validation compatibility with Xerces 2.7.1, submitted by Florent Benoit (remm)

> Cluster

> > | Fix NPE when cluster stops (pero)
> > | 36218: MemoryRealm now support also GenericPrincipal, but JAASRealm with cluster replication still has a problem, detected by Dirk Dekok (pero)

> Webapps

Tomcat 5.5.10 (yoavs)

> General

> > | Add JMX remote ant task to control tomcat MBeanserver via ant scripts. Ant lib is included at "server/lib/catalina-ant-jmx.jar" and documentation is added to Monitoring and Managing Tomcat How-To (pero)
> > | 34361: Integrate better antlib and import support for catalina manager tasks [Modified patch from Daniel Santos] (pero)
> > | StoreConfig save now the Connector.sslProtocol attribute. (pero)
> > | Change log dir at service.bat to "$CATALINA_BASE/logs" for better multi instance support. (pero)
> > | 34237: Added note and links to context and host configuration references in JNDI DataSources HowTo to aid the clueless. (yoavs)
> > | 34248: Update JavaMail download instructions to include JAF. (yoavs)
> > | Update to JDT from Eclipse 3.1, with support for Java 5 (remm)

> > Refactoring, redesign and extend the cluster module - Cluster can be configured as subelement from Engine and Host. - Optimized performance and reduce memory usage - Better JMX support - add a lot of JMX stats attribute for better monitoring - add a single element default cluster configuration - more config options LifecycleListener ClusterListener more than one cluster valves - better subclass support - change a lot of existing cluster API's (pero)

> > | Add Apache Portable Runtime JNI wrapper and helper API (mturk)
> > | Update JULI to provide support for taking over java.util.logging bootstrap configuration, and move the default properties file to ${catalina.base}/conf/logging.properties (remm)
> > | 34746: Updated catalina.properties instructions per Bill Edwards' suggestion. (yoavs)
> > | 35090: Minor documentation typo fix. (yoavs)
> > | 34931: Rewrote ROOT/index.jsp to be XHTML strict compliant, per Richard Beton's patch. (yoavs)

> Catalina

> > | 20380: Access log timestamps now take account of Daylight Saving Time (DST). (markt)
> > | 34220: Provide better error message when server.xml can't be located. [Modified patch from Ralf Hauser] (yoavs)
> > | Add MessageListener and LifecylceListener cluster saving to storeconfig module (<Cluster ... ><ClusterListener className="org.apache.catalina.cluster.session.JvmRouteSessionIDBinderListener" >) (pero)
> > | 33743: Add additional synchronization in webapp classloader to avoid possible race condition when defining a class (remm)
> > | 33711: Add events on passivate and activate to cleanup SSO, and recycle session objects when removing them from a manager (so that anyone keeping references to it would leak a minimal amount of memory) (remm)
> > | Re-add patch causing Session.getId to throw an ISE, and make all internal components use a safe getIdInternal method (remm)
> > | Store principal to be exposed for Request.getUserPrincipal inside the GenericPrincipal, to remove hacks from the JAAS realm (remm)
> > | 10385: SSI Servlet now includes better support for files that use character encodings other than the platform default.(markt)
> > | Remove CopyParentClassLoader rule, which doesn't seem to be doing anything useful anymore. (remm)
> > | Provide an ServletFilter implementation of Server Side Includes (SSI). This was submitted by David Becker under 33106. (markt)
> > | Add sendfile support to default servlet, with a sendfileSize configuration attribute. (remm)
> > | If APR as well as Tomcat's JNI wrapper for APR are present, use APRized protocol handlers instead of the regular ones (remm)
> > | 22617: When used with an EJB container and a realm that supports the concept of an unauthenticated user (J2EE.3.4.3) BASIC authentication was always authenticating users as the unauthenticated user without giving them a chance to supply a username and password. (markt)
> > | Prevent facade objects cloning (remm)
> > | Add missing CGI variables to SSI servlet. Patch submitted by Fritz Schneider. (markt)
> > | 34578: Updated JNDIRealm comment. (yoavs)
> > | 34273: Better Bootstrap warning message. [Path from Ralf Hauser] (yoavs)
> > | 34675: Updated Proxy-HowTo page with Servlet API calls. (yoavs)
> > | 34546: Fix problem where the "first" Valve couldn't be removed from a Pipeline. (billbarker)
> > | Fix NPE when POST size exceeds limit defined by maxPostSize. (markt)
> > | Fix FORM authentication so POSTed parameters are not assumed to be encoded with platform default encoding. A side effect of this fix is that the bodies of POST requests that require FORM authentication are now buffered and made available after a sucessful login. (markt)
> > | 34840: Better handling of external WARs redeployment, and ignore docBase specified in context file if within the Host appBase (remm)
> > | Fix handling of symbolic links when the DefaultServlet is generating directory listings. (markt)
> > | 35769: Correct implementation of javax.naming.Context.composeName( Name, Name) in multiple places. Patch provided by Laurent Simon. (markt)
> > | 34805: Add warning for suspicious security patterns, as suggested by Ralf Hauser. (yoavs)
> > | 35819: Use getWorkPath for deleting work directory on context destroy, as suggested by Rob Steele. (yoavs)

> Coyote

> > | Add support for using "Smart Cards" as trust/keyStore. (billbarker)
> > | Add some Mbean attributes and operations to ChannelSocket (pero)
> > | Apache Portable Runtime based HTTP/1.1 protocol handler, with SSL support (remm)
> > | Add support for simple file-based CRLs under JDK 1.5 (billbarker)
> > | Add experimental NIO-Socket channel for the AJP/1.3 Connector (billbarker)
> > | 34648: Add configuration option to enable IP-based Virtual Hosts. (billbarker)
> > | Refactor the AJP/1.3 Connector to be able to handle more advanced Actions. (billbarker)
> > | Fix connector initialisation so sslProtocol is not required for SSL. (markt)
> > | Add bufferSize option to the AJP/1.3 Java connector to control output buffering. (billbarker)
> > | Apache Portable Runtime based AJP/1.3 protocol handler (remm)
> > | Delay reading the inital request body packet by default for the AJP/1.3 Java connector. (billbarker)

> Jasper

> > | 18477: Allow symbolic links when precompiling JSPs (markt)
> > | 34272: Allow specifying the Option class used by the Jasper engine, submitted by Scott Stark (remm)
> > | Support for Java 5.0 in JSPs (remm)
> > | Java 5 will be the source and target for JSPs when running on Java 5 (remm)
> > | 34652: Add the ability to get SMAPs when precompiling, submitted by Daryl Robbins (remm)
> > | 34465: Jspc failure if there is no web.xml (remm)
> > | 35696: Make certain that release is called for custom tags when tag-pooling is disabled. (billbarker)
> > | 35386: Make useBean resources use consistent spelling, from Kurt Huwig. (yoavs)
> > | 33522: Update jasper-howto to reflect use of javac switch. (yoavs)
> > | 35114: Add failOnError flag to JspC, by ziweth. (yoavs)
> > | 35410: Fixed NPE in JspWriterImpl. (yoavs)
> > | 35571: JspC resolved uriRoot relative to Ant project basedir, if any, as suggested by Jason Pettiss. (yoavs)

> Cluster

> > | Add that cluster can configure as Engine and Host element. (pero)
> > | Add single cluster default configuration element - discussed at JAX 2005 conference Cluster Workshop. (pero)
> > | Fix resend GET_ALL_SESSIONS when wait ACK failed at receiver side (pero)
> > | ClusterValve now remove from container element when cluster stops and added with next start again. (pero)
> > | Set timestamp only at first time inside SessionMessageImpl (pero)
> > | Set timestamp from findsessions method call, when handling GET_ALL_SESSION to all SEND_SESSION_DATA and TRANSFER complete messages. (pero>
> > | Drop all received message inside GET_ALL_SESSION message queue before state transfer message timestamp. (pero)
> > | Cluster ping now transfer cluster domain information and DeltaManager only send and receive message from same domain members (pero)
> > | JMX Support for McastService (Membership) (pero)
> > | Redesign SimpleTcpCluster message receiving to ClusterReceiverBase (pero)
> > | Cluster transfer all attributes to the generate session manager at addManager. Remove some unused attributes at SimpleTcpCluster and ReplicationTransmitter (pero)
> > | Refactor DeltaManager: - createSession call now ManagerBase super class method - extract some long methods - send GET_ALL_SESSION with session blocks - don't sync sessions map when send all sessions (pero)
> > | Add developer actions at to-do.txt (Proposal of changes) (pero)
> > | Small refactorings at FastAsyncSocketSender (pero)
> > | Redesign cluster message sending to lesser cpu and memory usage. Set at ReplicationTransmitter#compress=false as default. Change API from ClusterSender, ReplicaitonTransmitter, DataSender, SimpleTcpCluster (pero)
> > | DeltaManager has now JMX expireAllLocalSessions and processExipre operation for better cluster node shutdown handling (usefull for testing only) (pero)
> > | DataSender doWaitAckStats for better understanding wait ack problems (pero)
> > | Refactor DeltaManager and add counter for cluster message send/receive message (pero)
> > | 34389:Porting Clustering fix pack to 5.5.10 code base. Remove synchonized from DataSender.pushMessage(). Very offen the complete cluster blocking after replicated a bulk of new session messages under heavy load. All cluster node standing for a lot of time and made nothing. Fix it for pooled, asynchronous and fastasyncqueue replication mode. Very bad thing, sorry! (pero)
> > | Add notifySessionListenersOnReplication attribute to SimpleTcpCluster to stop notify event to SessionListener at backup nodes from create and destroy replicated session (pero)
> > | Add compress attribute to ClusterSender and ClusterReceiver interface. Now compress config transfer from sender to receiver at SimpleTcpCluster. (pero)
> > | Add ClusterValve interface and implement it as ReplicationValve and JvmRouteBinderValve. Now both Valves can be directly configured at server.xml Host/Cluster/Valve subelements. Also this configuration are correctly handled with the StoreConfig module. (pero)
> > | Deactivate DataSender keepAliveMaxRequestCount change default to -1. Cluster replication sockets are fast and very stable! (pero)
> > | Setup JvmRouteBinderValve as host valve instead context valve. Refactor the API a little bit. (pero)
> > | Don't increment open socket counter before socket is really open. Add socket open failures counter (pero)
> > | Add MessageListener support to cluster server.xml element (ClusterListener) to register your own cluster message receiver (pero)
> > | Add LifecycleListener support to cluster server.xml element (Listener) and notify those listener from start/stop cluster, add/remove session manager, sending fault and start/stop member (pero)
> > | Add active backgroundProcess keepAlive timeout and request count socket close check at ReplicationTransmitter. Check frequency can be change with attribute processSenderFrequency (default 2). (pero)
> > | Remove useless Jdk13ReplicationListener,Jdk13ObjectReader. Add SocketReplicationListener and SocketObjectReader to have nativ socket ClusterReceiver. Also extract ClusterReceiverBase superclass for SocketReplicationListener and ReplicationListener (pero)
> > | Add and update some API and the cluster howto documentation (pero)
> > | Refactor ReplicationValve for better understanding and small optimization (pero)
> > | Starting a unit test suite for cluster module - very much todo (pero)
> > | Fix ant build.xml to direct compile at cluster module directory (pero)
> > | Fix some I18N messages, but a lot of work is waiting for fix (pero)
> > | Add ReplicationValve Mbeans stats attribute getter and resetStatistics operation (pero)

> Webapps

> > | 35758: Admin webapp mishandling digest attribute of JDBCDataSourceRealm. (yoavs)
> > | 34250: Admin webapp Commit Changes button now asks for confirmation. (yoavs)
> > | 34818: Alternating row for apps in HTML manager, as suggested by Jeff Domeyer. (yoavs)
> > | 35379: Added commons-logging to build path of manager and host-manager apps, to make them build with Jikes, as suggested by Aaron Isotton. (yoavs)

Tomcat 5.5.9 (yoavs)

> General

> > | Add JULI, a java.util.logging implementation, used to provide sane defaults and configurability equivalent to Tomcat 4.0 for Tomcat 5.5 logging (remm)
> > | Add JULI documentation to the logging page (remm)
> > | Add host manager webapp (remm)
> > | Add ant JkStatusUpdateTask for remote status worker handling ( >=mod_jk 1.2.9) (pero)
> > | 33739: Add reference to RUNNING.txt in setup.html. (yoavs)
> > | 33719: Update reference to Ant download page. (yoavs)
> > | 33883: Bad options in SSL-HowTo. (yoavs)
> > | Update to MX4J 3.0.1 (pero)
> > | 34139: Updated Realm-HowTo to specify JMX, Commons-Logging jars for RealmBase. (yoavs)
> > | 33325: Added top-level clean target to Netbuild build.xml file. (yoavs)
> > | 33755: Clarified Postgresql JNDI datasource example. [patch submitted by Tom Witmer] (yoavs)

> Catalina

> > | Remove some instances of expanded folder removal (remm)
> > | Don't call mkdirs if we're not going to save the configuration in StandardContext (remm)
> > | Fix context classloader binding during loader initialization (it was set to null before) (remm)
> > | The webapp logger should only be retrieved when the context classloader is set to the webapp's classloader (remm)
> > | 34170: Add back retry logic in JDBC realm in case of a connection failure (remm)
> > | 22041: Support dynamic proxies as session objects. (markt)
> > | Fix logger names for wrappers (remm)
> > | 34006: If antiResourceLocking was used, HostConfig considered the path as external, and web application resources were not correctly removed or tacked; also simplify the code a lot (remm)
> > | 34016: Save and restore docBase when using antiResourceLocking, for compatibility with the admin webapp (remm)
> > | 33636: Set lastModified attribute when expanding WAR files. (yoavs)
> > | 32938: Allow Salted SHA (SSHA) passwords in JNDIRealm. (yoavs)
> > | 31288: Allow SMTP authentication for JNDI MailSessionFactory. (yoavs)
> > | Harmonize processing of the context.xml defaults with the way web.xml is processed (remm)
> > | Ignore ';' if it is in the query string (remm)
> > | private to protected for the webapp classloader (remm)
> > | Improve logging of filters and listeners startup errors (remm)
> > | 33774: Retry once in JNDI realm authenticate failure regardless of the exception message (remm)
> > | 33961: Don't encode '~' in context paths (remm)
> > | 32866: Propagate distributable property from context to manager (yoavs)
> > | 32867: Reset distributable attribute in context for clean reload handling (yoavs)
> > | Fix some RealmBase/JNDIRealm log.isXXXEnabled (pero)
> > | 34161: Harmonize StandardContext.stop with ContainerBase.stop (remm)

> Coyote

> > | 33971: Set remoteHost to null when Apache doesn't send one. (billbarker)
> > | Fix calculation of threadRatio for the ms thread pool, and fix setting the updated timeout value (remm)
> > | Update the ms thread pool so that we allocate a worker before accepting a new socket, and wait a little if the pool is exhausted; this should make low maxThreads values work a lot better (remm)
> > | 33857: Update information on automatic mod_jk configuration in Apache-HowTo (yoavs)
> > | Fix sync block placement in Mapper.addContext (remm)
> > | 32741: Fix spelling of "committed" [patch from Ben Souther] (yoavs)
> > | 34133: Make setHeader clear multi-valued headers (billbarker)

> Jasper

> > | 34034: Jasper does not respect external entities (billbarker)
> > | 33810: Incorrect recycling of BodyContent if close is called (remm)
> > | Per instance loggers in Jasper (remm)

> Cluster

> > | Fix JvmRouteBinderValve primary failover attribute to org.apache.catalina.cluster.session.JvmRouteOrignalSessionID (pero)
> > | Change attribute name waitForAck to sendAck at ReplicationListener (pero)
> > | Integrate new fastasyncqueue cluster sender mode. Support queue size limitation, get all queued objects and send it to the backup node, no queue thread lock contention under high replication load, submitted by Rainer Jung (pero)
> > | Add compress attribute to Sender and Receiver to transfer data uncompressed. At high cluster load this option consume lesser cpu and memory. Implement the compress handling to ReplicationTransmitter, ReplicationListener, XByteBuffer and Jdk13ReplicationListener (pero)
> > | Add doProcessingStats to synchronous, asynchronous and fastqueueasync sender modes to get min, avg, max processing times as IDataSender JMX MBeans (pero)
> > | TcpThreadPool use constant ACK byte array instead create new 3 byte buffer for every message ack (pero)
> > | Refactor ReplicationTransmitter and ReplicationListener (pero)
> > | add getCatalinaCluster() to ClusterReceiver and SimpleTcpCluster (pero)
> > | Update the Api documentation (pero)

> Webapps

> > | Use the standard struts taglib URIs in admin JSPs. (billbarker)
> > | Add more host parameters to create new host with host-manager (pero)
> > | 34033: Fix quoting related bugs (remm)
> > | 33713: Add Struts init code in frameset.jsp as well (remm)

Tomcat 5.5.8 (yoavs)

> General

> > | 33204: Fixed SSL HowTo page. (yoavs)
> > | 33351: Fix silent uninstallation. (remm)
> > | 33489: Missing space in uninstaller message. (yoavs)

> Catalina

> > | Unregister host mbean and all context mbeans at remove a host, s. StandardHost.destroy() and MBeanFactory.createStandardHost/removeHost(,) detected by Thorsten Kamann (pero)
> > | make it possible to restart connector, now serversocket recreated after stop,start (pero)
> > | change mbean names from Mapper and ProtocolHandler to connector naming style (pero)
> > | Add some log.isXXXEnabled (pero)
> > | Deregister MapperListener after remove connector (pero)
> > | Remove host only at own domain with same name at all services, detected by Thorsten Kamann (pero)
> > | 33187: Remove any logging of the password in the JAAS realm, submitted by Andrew Jaquith (remm)
> > | 33033: Don't do anything to the response in the ErrorReportValve if data has already been written (remm)
> > | Add charset support for the URLs used by the tasks, to remove deprecation (remm)
> > | 26135: Workaround for memory leak when reloading Struts based web applications by clearing the bean instrospector cache of the JVM on classloader stop, submitted by Tobias Lofstrand. (remm)
> > | Ensure that if CLASSPATH is declared on startup - it is not used. (funkman)
> > | Add back use of deployOnStartup in HostConfig (remm)
> > | Ant tasks docs patches, submitted by Gabriele Garuglieri. (remm)
> > | Use NIO for the raw copying operation, as it is faster (a little under 30%), and decreases a little the impact of antiResourceLocking. (remm)
> > | 33357: Fix connection leaks with the DataSourceRealm, as well as improve efficiency, submitted by Dominik Drzewiecki. (remm)
> > | Improve a little logging of servlet exceptions, which should all log the root cause. (remm)
> > | Add new Manager.createSession(sessionId) method, allowing the client to "specify" the session id which should be used using a cookie when using emptySessionPath="true". This fixes session tracking in this case. (remm)
> > | 33368: Fix memory leak in swallowOutput feature which occurred when the thread pool size is reduced, submitted by Rainer Jung. (remm)
> > | StoreConfig: can't save cluster Membership element (pero)
> > | StoreConfig: suppress default jkHome attribute at connector (pero)
> > | StoreConfig: Save new dymanic properties from ReplicationTransmitter (pero)
> > | 33463: Remove attributes after context destroy. (remm)
> > | 33572: context.xml should be a redeploy resource, and add prioritization for redeploy resources. (remm)

> Coyote

> > | PoolTcpEndpoint recreate ServerSocket after start,stop,start connector (pero)
> > | Add some log.isXXXEnabled (pero)
> > | JkMX: make log4j mbean configurable with attribute log4jEnabled (pero)
> > | When Tomcat runs on Windows and IE is uploading data to the server, the first read must be at least 8KB, otherwise upload speed is extremely low, submitted by Noel Rocher (remm)

> Jasper

> > | 33223: pageContext.forward and jsp:include result in StringIndexOutOfBoundsException (luehe)
> > | 33373: Fix handling of context classloader in jspc (remm)
> > | 33538: Ignore example and tag-extension elements in TagLibraryInfoImpl. (yoavs)
> > | 33539: Better error message when an unknown element is encountered in the tag file. (yoavs)
> > | 33219: Minor JspServletWrapper code cleanup. (yoavs)

> Cluster

> > | Add instance based ReplicationValve statistics to Mbean descriptor (pero)
> > | Better I18N support to cluster session and tcp classes (pero)
> > | Support optional primaryIndicator at ReplicationValve to mark that request processing to existing session is at primary cluster node. Easy failover detection, when mark is not at configurable primaryIndicator attribute, submitted by Rainer Jung (pero)
> > | Refactor all implementation from interface IDataSenders (pero)
> > | Add some usefull attributes and operations to the all sender MBeans. (pero)
> > | Add keepAlive and waitForAck handling to AsyncSocketSender and factor out a DataSender base class.(pero)
> > | ReplicationTransmitter: Enable and Disable autoreconnect sender and waitForAck. (pero)
> > | ReplicationTransmitter: transfer all properties to socket sender from server.xml configuration. (pero)

> Webapps

> > | Fix create and remove Host for Admin app. (pero)

Tomcat 5.5.7 (remm)

> General

> > | Add installer for mod_jk on IIS. (mturk)
> > | New store config module for better server.xml saving support. Add <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener" /> to your server.xml (pero)
> > | 32081: Remove the JDK requirement from the Unix scripts, submitted by Ben Souther (remm)
> > | 32953: SERVLETAPI: XSS Issues, submitted by Mark Thomas (jfarcand)
> > | Update to commons-digester 1.6, JDT 3.0.1, MX4J 2.1.0, Struts 1.2.6 (remm)

> Catalina

> > | First integration at StoreConfig to StandardServer (pero)
> > | 32714 : Don't make the AccessLogValve final (funkman)
> > | 32694: Fix bad code to make docBase path aboslute in antiLocking method. (remm)
> > | 32713: Fix resource-env-ref handling. (remm)
> > | 31201: Improve i18n support in DefaultServlet. This was causing problems with JSP include actions and static files. (markt)
> > | Add some log.isXXXEnabled to o.a.c.core.StandardHost StandardEngine, StandardService (pero)
> > | Feature addition to add Redirector and failOnError support for all Catalina Ant tasks, submitted by Gabriele Garuglieri (remm)
> > | 31198: Fix FORM and DIGEST authentication for non-ASCII usernames and passwords. (markt)
> > | Reimplement charset mapper (remm)
> > | Add logging of exception which could occur when retrieving the password in JDBCRealm (remm)
> > | 25889: Don't execute queries twice, submitted by Tom Anderson (remm)
> > | 32832: request.getSession(false) fails to return null (luehe)
> > | 28222: request.getRequestURL() in forwarded jsp/servlet returns original url rather than new url as per SRV8.4 (markt)
> > | 33157: Fix handling of the buffer length for basic authentication parsing (remm)

> Coyote

> > | 32708: Better handling of bad encoding with the string cache. (remm)
> > | 32781: Fix bad initialization of the "scheme" field of the request object, which would cause getScheme to return "http" for the first request. (remm)
> > | Content length should be ignored if there is chunking (remm)
> > | Remove most deprecation problems for the AJP connector (remm)

> Jasper

> > | 32746: Avoid JAR locking when loading classes and improve loading performance by taking advantage of caching, submitted by Dominik Drzewiecki. (remm)

> Cluster

> > | correct JvmRouteSessionIDBinderListener MBean name to <domain>:type=Listener,name=JvmRouteSessionIDBinderListener,host=<host> (pero)
> > | JMX support to SimpleTcpCluster, ReplicationTransmitter and all senders (pero)

> Webapps

> > | Fix the webDAV servlet so it can be used via any arbitrary mapping (eg /webdav/*) to edit the contents of a web application. (markt)
> > | 32729: Stop is optional and may fail, so it needs to be in a separate try/catch (remm)
> > | Remove the remove method of the manager servlet, and use the undeploy method instead (remm)
> > | 32777: Fail if application isn't configured properly, submitted by Gabriele Garuglieri (remm)
> > | 32771: Cannot undeploy/deploy misconfigured app after tomcat startup, submitted by Gabriele Garuglieri (remm)
> > | 28867: Correct manager documentation to document correct way to reference the ROOT context. Submitted by Stephane Bailliez. (markt)
> > | 33085: Add support for setting privileged attribute of context to admin webapp. (markt)
> > | 33117: Fix Open bugs link broken on default homepage. Patch supplied by Sander Temme. (markt)
> > | Improve javadoc generation for Catalina. (remm)

Tomcat 5.5.6 (yoavs)

> General

> > | 32532: updated logging documentation. (yoavs)
> > | 32382: Index page and packaed WAR for sample webapp. (yoavs)
> > | 32603: Updated host.xml to reflect appBase resolution. (yoavs)

> Catalina

> > | Add child to the map of the parent before starting it. (remm)
> > | Decouple usage of the scheme and secure attributes from enabling SSL. (remm)
> > | 32502: memory leak in DigestAuthenticator. (yoavs)
> > | 28709: javax.servlet.http.HttpServletRequest.isRequestedSessionIdValid() returns true for an invalidated session. (luehe)
> > | 32137: Possible thread-safety issue in RealmBase. (yoavs)

> Coyote

> > | 32585: Better handling for content length greater than Integer.MAX_VALUE in response. (markt)
> > | Allow ApacheConfig and friends to live under an Engine. (billbarker)
> > | Syncronize access to the Jk Request registration count. (billbarker)
> > | Speed the MsgContext on its way to GC. (billbarker)
> > | Keep correct thread counts in Thread pool when thread ends in an exception (billbarker)

> Jasper

> > | Updated Jasper-HowTo section on using Jikes, changed conf/web.xml JSPServlet to refer people to Jasper-HowTo so that we don't have these instructions in two places. (yoavs)

> Webapps

> > | 32505: Fix handling of an empty context parameter (which occurred every time the HTML manager was used to deploy a local war without specifying also a context file). (remm)

Tomcat 5.5.5 (yoavs)

> General

> > | 32235: Sync conf/web.xml MIME types with Apache httpd. (yoavs)
> > | 31132: Better -x/-r support for OS/400 in startup scripts. (yoavs)
> > | 22679: Added misc note on accessing session ID to SSL-HowTo. (yoavs)
> > | 32249: Updated logging documentation. (yoavs)
> > | 32282: Modify Windows Uninstaller to only remove webapps/ROOT and webapps if user asks to remove everything. (yoavs)
> > | 32371: outdated introduction.xml page. (yoavs)
> > | 32373: outdated installation.xml page. (yoavs)
> > | 32454: amended JNDI documentation for JavaMail/JavaActivationFramework usage. (yoavs)

> Catalina

> > | 32130: Add safety check to FileStore#keys method. (yoavs)
> > | 32276: Add developer info to Realm How-To. (yoavs)
> > | 32082: Added protected getPrincipals method to MemoryRealm for easier extension. (yoavs)
> > | 32023: CGIServlet fails to handle post message with multipart/form data. (yoavs)
> > | 32269: JNDIRealm fails with InvalidNameException to authenticate users if LDAP distinguished name (DN) contains slash or double quote character(s). (yoavs)
> > | Move processExpiresFrequency check to ManagerBase and reflect change to all subclasses (StandardManager, PersientManagerBase, DeltaManager). (pero)
> > | Add DIGEST authentication support to the JDBC and DataSource realms. Supports both digested and cleartext passwords. (markt)
> > | 32429: CGIServlet calculates number of lines received on stderr incorrectly. (markt)
> > | 32431: Fix typo in code that passes data to CGI script. (markt)
> > | 32430: Class cast exception in toString() method within CGI servlet. (markt)
> > | Add some log.isXXXEnabled checks at StandardContext and HostConfig (pero)
> > | Remove the last DefaultContext artifacts (pero)
> > | 32031: using createConnector with "http" protocol (remm)
> > | Add configFile attribute in JMX descriptors (remm)
> > | Fix autodeployer handling of a war which includes a /META-INF/context.xml, so that it is correctly registered and can be reloaded correctly (remm)
> > | 32137: Use of MessageDigest should be synced in DIGEST (remm)
> > | Add info log when the autodeployer reloads a context (remm)

> Coyote

> > | Small HTTP/1.1 optimizations: replace usage of Strings with constant byte arrays, and simplify the code converting Strings to bytes (remm)
> > | Greatly reduce the amount of recycle method calls on the buffers (remm)
> > | Add null OName check for Request unregistration in Jk, to remove exception under JDK 1.5. (billbarker)
> > | 32292: Don't send keep-alive header when the protocol can't be parsed. (billbarker)

> Jasper

> > | Updated JspC usage messages to include recently added configurable parameters. (yoavs)
> > | 32330: JspC changes context classloader. (yoavs)

> Cluster

> > | JvmRouteBinderValve/JvmRouteSessionIDBinderListener to bind cluster session after primary node failure at first calling backup node. This was an option to have session stickyness after cluster node crashed. Work only with JESSIONID cookies. (pero)
> > | Better log support to DeltaManager to see detail information at debug level. (pero)
> > | Fix FarmWarDeployer based on new HostConfig deployer. (pero)
> > | FarmWarDeployer controlled WarWatcher with engine backgroundProcess call. Added processDeployFrequency attribute to Deployer server.xml element. (pero)

> Webapps

> > | 32019: Remove maxlength=64 restriction on env entry values in admin webapp. (yoavs)
> > | Fix various problems in realm docs, submitted by Phil Mocek. (remm)
> > | Add log4j docs submitted by Allistair Crossley. (remm)
> > | 32381: Fix problem where EL expression is used as a place holder in the admin webapp. Submitted by Allistair Crossley. (billbarker)

Tomcat 5.5.4 (yoavs)

> General

> > | 31671: Update web.xml files to 2.4 schema where applicable. (yoavs)
> > | 31912: Add PNG and CSS file types to replication filter default. (yoavs)

> Catalina

> > | Add processExpiresFrequency to PersistentManagerBase and made some small JDBCStore optimizations (pero)
> > | Register JSP monitoring mbean for each servlet that declares a jsp-file in web.xml. (luehe)
> > | 31578: Update Manager configuration documentation. (yoavs)
> > | 31273: Add support for derefaliases in JNDIRealm. (markt)
> > | 31623: Better OS400 support in setclasspath.sh. (yoavs)
> > | Extend background processing to most container components. (remm)
> > | Remove all MX4J related code. (remm)
> > | Update JAR list in TldConfig. (remm)
> > | Register datasources with JMX. With DBCP, this is enough to provide JMX management and monitoring. It might work well with many other data sources which might not register themselves in JMX but do expose their stuff in a java bean fashion. (remm)
> > | Add the ability to force session cookies to be set to the root path "/". This should not be used on large servers, otherwise tons of cookies may be sent. (remm)
> > | Workaround for client socket exceptions occurring while running a CGI, which could cause the external process to hang. (remm)
> > | Optimize session cookie IDs conversion to String, since this is an unavoidable and uncacheable operation. (remm)
> > | Add explicit error message if temp dir does not exist, and remove useless calls to initDirs. (remm)
> > | Add an optimized access log valve, supporting hardcoded support for the common and combined patterns, and doing a majority of its write-to-logfile operations asynchronously. (remm)
> > | Register an MBean to monitor and manage the StringCache, and allow invoking the reset operation. (remm)
> > | 31677: Log warning if work dir for context can't be determined. (yoavs)
> > | 31903: Fix condition which seems to not have been properly updated after adding entry.binaryContent = null a little below, submitted by Joe Zhou. (remm)
> > | Prevent silent NPEs during StandardContext.start dealing with JMX registration of realm, submitted by Keith Wannamaker. (remm)
> > | 31592: Support other encodings for digests. (yoavs)
> > | 31739: Minor realm-howto and AJP connector doc updates. (yoavs)
> > | 31753: Minor inconsistency between JDBC and DataSourceRealm#authenticate. (yoavs)
> > | 31683: Minor clarifications to realm documentation. (yoavs)

> Coyote

> > | Improve i18n in TCP endpoint, and add a better error message when an exception occurs in setSocketOptions. (remm)
> > | 31663: Use interval field as the delay for monitor thread. (remm)
> > | Remove bad shutdown logic for ms pool strategy. (remm)
> > | Sync with Cookie, by adding ' ' as a special char. If a special char is present, the string will be quoted. If the client doesn't support it, the String will no be quoted anyway and no IAE will be thrown. (remm)
> > | Add an optional String cache for ByteChunk.toString and CharChunk.toString. The cache is unsynchronized during most of its operation, and is static after a training period. An operation is provided to allow resetting the cache. (remm)
> > | String caching is enabled by default for ByteChunk. (remm)
> > | 31090: Use a URL encoded path when setting session cookies. (remm)
> > | Add getAttributeName() to ProtocolHandler to get all attributes at runtime (pero)

> Jasper

> > | Exposed compilerSourceVM and compilerTargetVM options to JspC. (yoavs)

> Cluster

> > | DeltaManager and SimpleTcpReplicationManager generate double jvmRoute (pero)
> > | Add some missing Getters and log.isXXXEnableds (pero)

> Webapps

> > | 31707: Broken JavaScript confirmation in HTML manager. (yoavs)
> > | Remove hard-coded admin context path from admin's banner.jsp. (yoavs)
> > | Major connector docs update. (remm)
> > | 31732: Fix Japanese localization of Manager's list output. (yoavs)

Tomcat 5.5.3 (yoavs)

> General

> > | 30568: Incomplete setup.html documentation for launching jsvc. (yoavs)
> > | Repackage naming features. (remm)
> > | Fix deployer packaging. (remm)
> > | Fix embed packaging. (remm)

> Catalina

> > | Fix memory leak when Security Manager is turned on. (jfarcand)
> > | When checking status codes for error handling, only check if Response.isError() is true. This way, users may use setStatus() to set their own error status without having the error page invoked. (in which case, the user should've use sendError()) (funkman)
> > | Remove Digester code for Xerces workaround. (jfarcand)
> > | Give proper permission to the balancer app when running under the security manager. (jfarcand)
> > | 30869: Make sure JAAS realm name is legal. (yoavs)
> > | md5Helper, md5Encoder, and normalize are used by WebdavServlet, not DefaultServelt so move them into WebdavServlet.
> > | 31277: Clarified automatic application deployment section of Host configuration page. (yoavs)
> > | 28631: JAASRealm enhancements to support custom user and role classes use Commons-Logging. (yoavs)
> > | 31364: Missing resource in org.apache.catalina.core.LocalString.properties. (yoavs)
> > | 31362: Missing -Xdebug in catalina.bat when launching with JPDA and Security. (yoavs)
> > | 31356: Duplicates not counted in session generation. (yoavs)
> > | 30949: Make sure ApplicationDispatcher unwraps request/response even if include error occurs. (yoavs)
> > | Fixed StandardContext.getStartTime() to return actual start time/date instead of time (startupTime) it took to start context. (luehe)
> > | getRequest/getResponse should return the most relevant interface, to avoid casts. (remm)
> > | Add check for directory before considering something is a compressed WAR. (remm)
> > | Update the connector documentation. (remm)
> > | When parsing a context file, ignore the "path" attribute: the only place where it is acceptable is in server.xml. (remm)
> > | Digester handling fixes: always call reset in a finally block after using a digester. (remm)
> > | Remove many fields from Connector, and tie the creation of the Connector to the creation of the protocol handler. (remm)
> > | Remove package triggers from the classloader, which seem useless when using Java 5. (remm)
> > | Realms will now use set attribute to set themselves in their container when using JMX. (remm)
> > | Fix JMX related operations with the Connector. (remm)
> > | Fix save-to-XML for naming resources. (remm)
> > | Remove authenticator "debug" attributes from the descriptors. (remm)
> > | Refactor org.apache.catalina.deploy.ContextXXX to use new super class ResourceBase. (pero)
> > | Enable Connector.findLifecycleListener that we can listen start/stop Connector events and save the listener to xml. (pero)
> > | Remove Watchdog references, as it is no longer used. (yoavs)
> > | 31511: Don't call setenv.bat if not found, in *using-launcher scripts. (yoavs)
> > | 31549: Add name to WebappClassLoader's stopped message. (yoavs)

> Coyote

> > | Allow customized server header for Standalone. (funkman)
> > | Digester.reset now removes the error handler, the root and calls clear, to prevent any memory leak. (remm)
> > | Remove useless stuff in digester. (remm)
> > | In HTTP, add a utility method to convert strings to byte arrays, and output the server header directly as bytes. (remm)
> > | Add a master slave thread pool based on the code from Tomcat 4.0. It is less exotic than the default one, and might fare better on some picky systems, such as Redhat 9. The two threadpools will likely be removed once we use the Java 5 API, although more investigation is needed. (remm)
> > | Fix issue with getProperty in IntrospectionUtils. (remm)
> > | Remove attribute translation for SSL in the HTTP protocol handler: it will now be done in the Catalina Connector class. (remm)
> > | Fix handling of the "timeout" attribute of the HTTP protocol handler. (remm)

> Jasper

> > | 31171: Wrap to avoid ClassCastException in PageContextImpl. (yoavs)
> > | 31257: Added specification of endorsed dirs if forking. Note that this is fairly useless for now in 5.5 since it uses JDT and not javac by default. (yoavs)
> > | Document new Jasper defaults, and update the production configuration. (remm)
> > | Copied XML encoding detection logic into JASPER, so we're no longer dependent on Xerces. (luehe)
> > | Fix cosmetic issue where extra CRLF would be inserted during each precompilation in web.xml. (remm)
> > | Allow configuring the interval following a compilation during which a JSP will not be checked for modifications. (remm)
> > | 31465: Ensure that the compiler reads the .java file using the same encoding as that with which it was written. (markt)
> > | 31510: Null out response in JspWriterImpl#recycle to aid in JBoss memory leak. (yoavs)

> Cluster

> > | Added flag to the cluster (notifyListenersOnReplication) to enable/disable the notifications of attribute/context listeners upon replication of a session delta Works only with the DeltaManager (fhanik)
> > | Added flag to the cluster (Cluster/Sender/ackTimeout) to set the timeout in milliseconds for a synchronous request to go through, defaults to 15000ms (fhanik)

> Webapps

> > | 29485: I broke the HTML manager when adding JavaScript confirmation, fixed now ;) (yoavs)
> > | 31058: Ensure StatusTransformer escapes query string for XML. (yoavs)
> > | Added contexts' start time (available from 'startTime' MBean attribute of StandardContext) to status page (luehe)
> > | 31264: the deploy task should now behave correctly. (remm)
> > | Refactor the manager servlet to make calls to the deployer more robust. (remm)
> > | Use the more robust String.valueOf in the form edit action of the connector. (remm)

Tomcat 5.5.2 (yoavs)

> General

> > | The installer will now use the system's JRE. (remm)

> Catalina

> > | Fix URL generation for classloaders on Windows, causing common/classes and shared/classes to be unusable (remm)
> > | 31110: Fix resource packaging bug for servlets (remm)
> > | Fix 5.5 regression where going through the authenticator would create a session each time. (remm)
> > | Fix classname of the connector in Embedded, and remove the socket factory. (remm)

> Coyote

> > | Redo server header handling again. (remm)
> > | Cleanup a little access to the headers using a local variable and use setValue for Server and Date headers. (remm)

> Jasper

> > | Remove maxTagNesting and curTagNesting since they are unused. (funkman)
> > | Fix tag files handling with JDT, which were ususable, and refactor the lifecycle handling of the page loader. (remm)

> Cluster

> Webapps

Tomcat 5.5.1 (yoavs)

> General

> > | Tomcat 5.5 can be built on JDK 5.0. (yoavs)
> > | Windows installer polish. (mladen, remm)
> > | Remove dependency on Jakarta regexp. (remm)

> Catalina

> > | Allow overriding the location of the default context file, similar to the default web.xml. (remm)
> > | Backport if-else logic for SSI servlet from 4.1 (funkman)
> > | Remove DefaultContext elements from the digester rules. (remm)
> > | Fix ResourceLink handling. (remm)
> > | Modify the auto deployer to get along with contexts which are statically defined in server.xml. (remm)
> > | Externalize constant strings defining the location of deployment related resources. (remm)
> > | 31052: BeanFactory swallows root cause of exception. (yoavs)
> > | Allow using deploy Ant task with just config attribute, submitted by Michael Schuerig. (remm)
> > | Added longest time an expired session had been alive to set of monitorable session manager attributes. (luehe)
> > | Added average time an expired session had been alive to set of monitorable session manager attributes. (luehe)
> > | Clear a reference in the digester where a context would be referenced for more time than it needed, until the next context deployment operation. (remm)

> Coyote

> > | 31018: Race condition in SystemLogHandler. (yoavs)

> Jasper

> > | Use the "compiler" parameter to allow specifying that Ant should be used. (remm)
> > | Ignore JDT compiler warnings. (remm)
> > | Added compilerTargetVM option support, "1.4" default. (yoavs)

> Cluster

> > | Fix adding the clustering valve, so that session replication actually occurs. (fhanik)

> Webapps

> > | Major documentation update with current Tomcat 5.5 changes. (remm)
> > | Added JavaScript confirmation dialog to "dangerous" Manager servler links. (yoavs)

Tomcat 5.5.0 (yoavs)

> General

> > | Many updated and fixed JavaDocs. (yoavs)
> > | Designed and tested Tomcat on J2SE 5.0 (aka JDK 1.5). (everyone)
> > | Bundled Eclipse JDT (new dependency) to allow Tomcat to run on a JRE only, i.e. no JDK required. (remm)
> > | Repackage commons-dbcp and its dependencies as a sigle smaller WAR, with renamed packages. (remm)
> > | Removed dependencies on commons-digester, commons-beanutils, and commons-collections. The relevant digester functionality is now merged in tomcat-util. (remm)

> Catalina

> > | Removed usage of org.apache.catalina.Logger, increased usage of commons-logging everywhere. (remm)
> > | Refactored classloader code to better handle JAR and general resource locking. (remm)
> > | Written JMX-related code to play nicely with J2SE 5.0 built-in JMX abilities. (remm, costin)
> > | Extensively profiled and optimized the server startup performance as well as the request mapping and processing pipeline. (remm)
> > | The container will now always process a /META-INF/context.xml resource, unless the webapp has a specified external context file. (remm)
> > | New default configuration mechanism for web applications, replacing DefaultContext. This uses a shared context file located in conf/context.xml. (remm)
> > | Revamped deployer, alloying full hotdeploy (note: on Windows, this requires the anti file locking features). (remm)
> > | Remove verbosity from the JNDI resources configuration, by allowing arbitrary attributes on the Resource element. (remm)
> > | Simpler Valve interface, to allow smaller stack traces and reducing the amount of method calls. (remm)

> Coyote

> Jasper

> > | Eclipse JDT is now the default Java compiler in Jasper. Source dependencies are now loaded from the container classloader, and compilation times are much faster. (remm)
> > | Jasper development mode should now have acceptable performance for heavily accessed pages. Precompiling JSPs is still significantly more efficient, however. (remm)

> Cluster

> Webapps

Copyright © 1999-2012, Apache Software Foundation