The NetBSD Project

CVS log for pkgsrc/www/apache-tomcat7/distinfo

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / www / apache-tomcat7

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.33 / (download) - annotate - [select for diffs], Tue Mar 26 20:56:23 2019 UTC (7 weeks, 6 days ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, HEAD
Changes since 1.32: +5 -5 lines
Diff to previous 1.32 (colored)

Update to 7.0.93

Changelog:
Update the packaged version of the Tomcat Native Library to 1.2.21
to pick up the latest Windows binaries built with APR 1.6.5 and
OpenSSL 1.1.1a and to pick up the memory leak fixes when using
NIO/NIO2 with OpenSSL.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jan 22 14:46:49 2019 UTC (3 months, 3 weeks ago) by ryoon
Branch: MAIN
Changes since 1.31: +5 -5 lines
Diff to previous 1.31 (colored)

Update to 7.0.92

Changelog:
Tomcat 7.0.92 (violetagg)

    Catalina

        fix	Add documentation about the files context.xml.default and web.xml.default that can be used to customize conf/context.xml and conf/web.xml on a per host basis. (fschumacher)
        fix	Ensure that a canonical path is always used for the docBase of a Context to ensure consistent behaviour. (markt)
        fix	62788: Add explicit logging configuration to write log files using UTF-8 to align with Tomcat's use of UTF-8 by default elsewhere. (markt)
        fix	62797: Pass throwable to keep client aborts with status 200 rather than 500. Patch submitted by zikfat. (remm)
        fix	62809: Correct a regression in the implementation of DIGEST authentication support for the Deployer Ant tasks (bug 45832) that prevented the DeployTask from working when authentication was required. (markt)
        update	Update the recommended minimum Tomcat Native version to 1.2.18. (markt)
        add	Ignore an attribute named source on Context elements provided by StandardContext. This is to suppress warnings generated by the Eclipse / Tomcat integration provided by Eclipse. Based on a patch by mdfst13. (markt)
        add	62830: Added JniLifeCycleListener and static methods Library.loadLibrary(libraryName) and Library.load(filename) to load a native library by a shared class loader so that more than one Webapp can use it. (isapir)
        fix	Correct a typo in the Spanish resource files. Patch provided by Diego Agulló. (markt)
        fix	62868: Order the Enumeration<URL> provided by WebappClassLoaderBase.getResources(String) according to the setting of the delegate flag. (markt)

    Coyote

        add	Add TLSv1.3 to the default protocols and to the all alias for JSSE based TLS connectors when running on a JVM that supports TLS version 1.3. One such JVM is OpenJDK version 11. (rjung)
        fix	62739: Do not reject requests with an empty HTTP Host header. Such requests are unusual but not invalid. Patch provided by Michael Orr. (markt)
        add	62748: Add TLS 1.3 support for the APR/Native connector. (schultz/markt)
        fix	62791: Remove an unnecessary check in the NIO TLS implementation that prevented from secure WebSocket connections from being established. (markt)

    Jasper

        fix	62674: Correct a regression in the stand-alone JSP compiler utility, JspC, caused by the fix for 53492, that caused the JSP compiler to hang. (markt)
        fix	62721: Correct generation of web.xml header when using JspC. (markt)
        fix	Fix a regression in the TLD whitespace parsing fix that broke parsing when whitespace was present between the method name and the parameters. (markt)
        fix	62757: Correct a regression in the fix for 62603 that caused NullPointerExceptions when compiling tag files on first access when development mode was disabled and background compilation was enabled. Based on a patch by Jordi Llach. (markt)
        fix	62808: Fix a regression in the TLD whitespace parsing fix that broke parsing when new lines were present in the method signature. (markt)

    WebSocket

        fix	62731: Make the URI returned by HandshakeRequest.getRequestURI() and Session.getRequestURI() absolute so that the scheme, host and port are accessible. (markt)

    Web applications

        fix	62761: Correct the advanced CORS example in the Filter documentation to use a valid configuration. (markt)
        fix	62786: Add a note to the Context documentation to explain that, by default, settings for a Context element defined in server.xml will be overwritten by settings specified in a default context file such as conf/context.xml. (markt)
        fix	Create a little visual separation between the Undeploy button and the other buttons in the Manager application. Patch provided by ukasz Jder. (markt)

    Other

        update	Update the packaged version of the Tomcat Native Library to 1.2.18 to pick up the latest Windows binaries built with APR 1.6.5 and OpenSSL 1.1.1. (markt)

Tomcat 7.0.91 (violetagg)	released 2018-09-19

    Catalina

        add	61692: Add the ability to control which HTTP methods are handled by the CGI Servlet via a new initialization parameter cgiMethods. (markt)
        fix	Ensure that the HTTP Vary header is set correctly when using the CORS filter and improve the cacheability of requests that pass through the COPRS filter. (markt)
        fix	62527: Revert restriction of JNDI to the java: namespace. (remm)
        add	Introduce a new class - MultiThrowable - to report exceptions when multiple actions are taken where each action may throw an exception but all actions are taken before any errors are reported. Use this new class when reporting multiple container (e.g. web application) failures during start. (markt)
        fix	Correctly decode URL paths (+ should not be decoded to a space in the path) in the RequestDispatcher and the web application class loader. (markt)
        add	62559: Add jaxb-*.jar to the list of JARs ignored by StandardJarScanner. (markt)
        add	62560: Add oraclepki.jar to the list of JARs ignored by StandardJarScanner. (markt)
        add	62607: Return a non-zero exit code from catalina.[bat|sh] run if Tomcat fails to start. (markt)
        code	Remove ServletException from declaration of Tomcat.addWebapp(String,String) since it is never thrown. Patch provided by Tzafrir. (markt)
        fix	Use short circuit logic to prevent potential NPE in CorsFilter. (fschumacher)
        code	Simplify construction of appName from container name in JAASRealm. (fschumacher)
        fix	Improve the handling of path parameters when working with Requestt type multipart/form-data to servlets with a @MultipartConfig annotation regardless of HTTP method. (markt)
        fix	62669: When using the SSIFilter and a resource does not specify a content type, do not force the content type to application/x-octet-s a redirect to a directory in the Default Servlet, avoid generating a protocol relative redirect. (markt)

    Coyote

        fix	Refactor code that adds an additional header name to the Vary HTTP response header to use a common utility method that addresses several additional edge cases. (markt)
        fix	62526: Correctly handle PKCS12 format key stores when the key store password is configured to be the empty string. Note that Java 6 does not support PKCS12 key stores configured to use a store password of the empty string. (markt)
        fix	62670: Adjust the memory leak protection for the DriverManager so that JDBC drivers located in $CATALINA_HOME/lib and $CATALINA_BASE/lib are loaded via the service loader mechanism when the protection is enabled. (markt)
        fix	62685: Correct an error in host name validation parsing that did not allow a fully qualified domain name to terminate with a period. Patch provided by AG. (markt)

    Jasper

        fix	53011: When pre-compiling with JspC, report all compilation errors rather than stopping after the first error. A new option -failFast can be used to restore the previous behaviour of stopping after the first error. Based on a patch provided by Marc Pompl. (markt)
        add	53492: Make the Java file generation process multi-threaded. By default, one thread will be used per core. Based on a patch by Dan Fabulich. (markt)
        fix	62603: Fix a potential race condition when development mode is disabled and background compilation checks are enabled. It was possible that some updates would not take effect and/or ClassNotFoundExceptions would occur. (markt)
        fix	Correct the JSP version in the X-PoweredBy HTTP header generated when the xpoweredBy option is enabled. (markt)
        fix	62662: Fix the corruption of web.xml output during JSP compilation caused by the fix for 53492. Patch provided by Bernhard Frauendienst. (markt)
        fix	Correct parsing of XML whitespace in TLD function signatures that incorrectly only looked for the space character. (markt)

    WebSocket

        fix	62596: Remove the limit on the size of the initial HTTP upgrade request used to establish the web socket connection. (markt)

    Web applications

        add	62558: Add Russian translations for the Manager and Host Manager web applications. Based on a patch by Ivan Krasnov. (markt)
        add	62561: Add advanced class loader configuration information regarding the use of the Server and Shared class loaders to the documentation web application. (markt)
        add	Expand the information in the documentation web application regarding the use of CATALINA_HOME and CATALINA_BASE. Patch provided by Marek Czernek. (markt)
        fix	62652: Make it clearer that the version of DBCP that is packaged in Tomcat 7.0.x is DBCP 1. (markt)
        add	62666: Expand internationalisation support in the Manager application to include the server status page and provide Russian translations in addition to English. Patch provided by Artem Chebykin. (markt)
        fix	62676: Expand the CORS filter documentation to make it clear that explicit configuration is required to enable support for cross-origin requests. (markt)

    Tribes

        fix	Ensures that the specified rxBufSize is correctly set to receiver buffer size. (kfujino)

    Other

        fix	Fixed spelling. Patch provided by Jimmy Casey via GitHub. (violetagg)
        fix	Correct various spelling errors throughout the source code and documentation. Patch provided by Kazuhiro Sera. (markt)

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 25 22:03:30 2018 UTC (9 months, 3 weeks ago) by zafer
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)

Update to 7.0.90

Changelog:
Tomcat 7.0.90 (violetagg)
Catalina
	fix	62498: Correct a regression in the fix for CVE-2017-12617 that caused request failures for some requests when using the VirtualDirContext. (markt)
	fix	Delete reference to removed class that prevented Tomcat from starting when running under a security manager. (markt)

Tomcat 7.0.89 (violetagg)	not released
Catalina
	fix	JNDI resources that are defined with injection targets but no value are now treated as if the resource is not defined. (markt)
	fix	Ensure that JNDI names used for <lookup-name> entries in web.xml and for lookup elements of @Resource annotations specify a name with an explicit java: namespace. (markt)
	add	51953: Add the RemoteCIDRFilter and RemoteCIDRValve that can be used to allow/deny requests based on IPv4 and/or IPv6 client address where the IP ranges are defined using CIDR notation. Based on a patch by Francis Galiegue. (markt)
	fix	62343: Make CORS filter defaults more secure. This is the fix for CVE-2018-8014. (markt)
	fix	Make all loggers associated with Tomcat provided Filters non-static to ensure that log messages are not lost when a web application is reloaded. (markt)
	fix	Correct the manifest for the annotations-api.jar. The JAR implements the Common Annotations API 1.1 and the manifest should reflect that. (markt)
	fix	Switch to non-static loggers where there is a possibility of a logger becoming associated with a web application class loader causing log messages to be lost if the web application is stopped. (markt)
	add	62389: Add the IPv6 loopback address to the default internalProxies regular expression. Patch by Craig Andrews. (markt)
	fix	In the RemoteIpValve and RemoteIpFilter, correctly handle the case when the request passes through one or more trustedProxies but no internalProxies. Based on a patch by zhanhb. (markt)
	fix	Correct the logic in MBeanFactory.removeConnector() to ensure that the correct Connector is removed when there are multiple Connectors using different addresses but the same port. (markt)
	fix	Make JAASRealm mis-configuration more obvious by requiring the authenticated Subject to include at least one Principal of a type specified by userClassNames. (markt)
	fix	62476: Use GMT timezone for the value of Expires header as required by HTTP specification (RFC 7231, 7234). (kkolinko)

Revision 1.30 / (download) - annotate - [select for diffs], Fri Mar 23 13:00:17 2018 UTC (13 months, 4 weeks ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored)

Update to 7.0.85

Changelog:
Tomcat 7.0.85 (violetagg)

    Catalina
        fix	Prevent a stack trace being written to standard out when running on Java 10 due to changes in the LogManager implementation. (markt)
        fix	Avoid duplicate load attempts if one has been made already. (remm)
        fix	Avoid NPE in ThreadLocalLeakPreventionListener if there is no Engine. (remm)
        fix	58143: Fix calling classloading transformers broken in 7.0.70 by the fix for 59619. This was observed when using Spring weaving. (rjung)
        fix	62000: When a JNDI reference cannot be resolved, ensure that the root cause exception is reported rather than swallowed. (markt)
        fix	62036: When caching an authenticated user Principal in the session when the web application is configured with the NonLoginAuthenticator, cache the internal Principal object rather than the user facing Principal object as Tomcat requires the internal object to correctly process later authorization checks. (markt)
        fix	62067: Correctly apply security constraints mapped to the context root using a URL pattern of "". (markt)
        fix	When using Tomcat embedded, only perform Authenticator configuration once during web application start. (markt)
        fix	Process all ServletSecurity annotations at web application start rather than at servlet load time to ensure constraints are applied consistently. (markt)
        fix	Minor optimization when calling class tranformers. (rjung)

    Web applications
        add	48672: Add documentation for the Host Manager web application. Patch provided by Marek Czernek. (markt)

    Other
        update	Update the NSIS Installer used to build the Windows installer to version 3.03. (kkolinko)

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 31 23:27:43 2018 UTC (15 months, 2 weeks ago) by zafer
Branch: MAIN
Changes since 1.28: +5 -5 lines
Diff to previous 1.28 (colored)

Update to 7.0.84

Notable changes:
 - Use a loop to preload anonymous inner classes when running under a SecurityManager, to be safe for future changes in the code or using a different compiler. (kkolinko)
 -  Implement a small optimisation to how JAR URLs are processed to reduce the storage of duplicate String objects in memory. Patch provided by Dmitri Blinov. (markt)

Full changelog:
 https://tomcat.apache.org/tomcat-7.0-doc/changelog.html

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Fri Nov 10 07:08:38 2017 UTC (18 months, 1 week ago) by spz
Branch: pkgsrc-2017Q3
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Pullup ticket #5622 - requested by sevan
www/apache-tomcat7: security update

Revisions pulled up:
- www/apache-tomcat7/Makefile                                   1.34
- www/apache-tomcat7/distinfo                                   1.28

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   fhajny
   Date:           Tue Oct 31 14:31:10 UTC 2017

   Modified Files:
           pkgsrc/www/apache-tomcat7: Makefile distinfo

   Log Message:
   Update www/apache-tomcat7 to 7.0.82.

   Notable changes:

   - A fix for CVE-2017-12617.
   - Update the packaged version of the Tomcat Native Library to 1.2.14

   Full changelog:

     https://tomcat.apache.org/tomcat-7.0-doc/changelog.html


   To generate a diff of this commit:
   cvs rdiff -u -r1.33 -r1.34 pkgsrc/www/apache-tomcat7/Makefile
   cvs rdiff -u -r1.27 -r1.28 pkgsrc/www/apache-tomcat7/distinfo

Revision 1.28 / (download) - annotate - [select for diffs], Tue Oct 31 14:31:10 2017 UTC (18 months, 2 weeks ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (colored)

Update www/apache-tomcat7 to 7.0.82.

Notable changes:

- A fix for CVE-2017-12617.
- Update the packaged version of the Tomcat Native Library to 1.2.14

Full changelog:

  https://tomcat.apache.org/tomcat-7.0-doc/changelog.html

Revision 1.27 / (download) - annotate - [select for diffs], Mon Sep 4 13:54:39 2017 UTC (20 months, 2 weeks ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-
Branch point for: pkgsrc-2017Q3
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored)

Update to 7.0.81

Changelog:
Tomcat 7.0.81 (violetagg)

    Catalina

        fix	Correct regression in 7.0.80 that broke WebDAV. (markt)

Revision 1.26 / (download) - annotate - [select for diffs], Tue Aug 15 01:54:25 2017 UTC (21 months ago) by ryoon
Branch: MAIN
Changes since 1.25: +5 -5 lines
Diff to previous 1.25 (colored)

Update to 7.0.79

Changelog:
Tomcat 7.0.79 (violetagg)

    Catalina

        fix	61101: CORS filter should set Vary header in response. Submitted by Rick Riemer. (remm)
        add	61105: Add a new JULI FileHandler configuration for specifying the maximum number of days to keep the log files. (violetagg)
        fix	Improve the SSLValve so it is able to handle client certificate headers from Nginx. Based on a patch by Lucas Ventura Carro. (markt)
        fix	61154: Allow the Manager and Host Manager web applications to start by default when running under a security manager. This was accomplished by adding a custom permission, org.apache.catalina.security.DeployXmlPermission, that permits an application to use a META-INF/context.xml file and then granting that permission to the Manager and Host Manager. (markt)
        fix	61173: Polish the javadoc for o.a.catalina.startup.Tomcat. Patch provided by peterhansson_se. (violetagg)
        add	A new configuration property crawlerIps is added to the o.a.catalina.valves.CrawlerSessionManagerValve. Using this property one can specify a regular expression that will be used to identify crawlers based on their IP address. Based on a patch provided by Tetradeus. (violetagg)
        fix	61180: Log a warning message rather than an information message if it takes more than 100ms to initialised a SecureRandom instance for a web application to use to generate session identifiers. Patch provided by Piotr Chlebda. (markt)
        fix	61185: When an asynchronous request is dispatched via AsyncContext.dispatch() ensure that getRequestURI() for the dispatched request matches that of the original request. (markt)
        fix	61201: Ensure that the SCRIPT_NAME environment variable for CGI executables is populated in a consistent way regardless of how the CGI servlet is mapped to a request. (markt)
        fix	61215: Correctly define addConnectorPort and invalidAuthenticationWhenDeny in the mbean-descriptors.xml file for the org.apache.catalina.valves package so that the attributes are accessible via JMX. (markt)

    Coyote

        fix	61086: Explicitly signal an empty request body for HTTP 205 responses. (markt)
        fix	Revert a change introduced in the fix for bug 60718 that changed the status code recorded in the access log when the client dropped the connection from 200 to 500. (markt)
        fix	Make asynchronous error handling more robust. In particular ensure that onError() is called for any registered AsyncListeners after an I/O error on a non-container thread. (markt)

    Jasper

        fix	44787: Improve error message when JSP compiler configuration options are not valid. (markt)

    WebSocket

        fix	Correct the log message when a MessageHandler for PongMessage does not implement MessageHandler.Whole. (rjung)
        fix	Improve thread-safety of Futures used to report the result of sending WebSocket messages. (markt)
        fix	61183: Correct a regression in the previous fix for 58624 that could trigger a deadlock depending on the locking strategy employed by the client code. (markt)

    Web applications

        fix	Better document the meaning of the trimSpaces option for Jasper. (markt)
        fix	61150: Configure the Manager and Host-Manager web applications to permit serialization and deserialization of CRSFPreventionFilter related session objects to avoid warning messages and/or stack traces on web application stop and/or start when running under a security manager. (markt)

    Tribes

        add	Add JMX support for Tribes components. (kfujino)

    Other

        add	45832: Add HTTP DIGEST authentication support to the Catalina Ant tasks used to communicate with the Manager application. (markt)
        fix	45879: Add the RELEASE-NOTES file to the root of the installation created by the Tomcat installer for Windows to make it easier for users to identify the installed Tomcat version. (markt)
        fix	61076: Document the altDDName attribute for the Context element. (markt)
        fix	61145: Add missing @Documented annotation to annotations in the annotations API. Patch provided by Katya Todorova. (markt)
        fix	61146: Add missing lookup() method to @EJB annotation in the annotations API. Patch provided by Katya Todorova. (markt)
        fix	Correct typo in Context Container Configuration Reference. Patch provided by Katya Todorova. (violetagg)

Revision 1.25 / (download) - annotate - [select for diffs], Sat May 20 23:41:58 2017 UTC (2 years ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

Update to 7.0.78

Changelog:
Tomcat 7.0.78 (violetagg)

    General

        add	Allow to exclude JUnit test classes using the build property test.exclude and document the property in BUILDING.txt. (rjung)

    Catalina

        fix	Review those places where Tomcat re-encodes a URI or URI component and ensure that that correct encoding (path differs from query string) is applied and that the encoding is applied consistently. (markt)
        fix	Use a more reliable mechanism for the DefaultServlet when determining if the current request is for custom error page or not. (markt)
        fix	Ensure that when the Default or WebDAV servlets process an error dispatch that the error resource is processed via the doGet() method irrespective of the method used for the original request that triggered the error. (markt)
        fix	If a static custom error page is specified that does not exist or cannot be read, ensure that the intended error status is returned rather than a 404. (markt)
        fix	When the WebDAV servlet is configured and an error dispatch is made to a custom error page located below WEB-INF, ensure that the target error page is displayed rather than a 404 response. (markt)
        add	61047: Add MIME mapping for woff2 fonts in the default web.xml. Patch provided by Justin Williamson. (violetagg)
        fix	Correct the logic that selects the encoding to use to decode the query string in the SSIServletExternalResolver so that the useBodyEncodingForURI attribute of the Connector is correctly taken into account. (markt)
        fix	61072: Respect the documentation statements that allow using the platform default secure random for session id generation. (remm)
        fix	Correct the javadoc for o.a.c.connector.CoyoteAdapter#parseSessionCookiesId. Patch provided by John Andrew (XUZHOUWANG) via Github. (violetagg)

    Jasper

        fix	60925: Improve the handling of access to properties defined by interfaces when a BeanELResolver is used under a SecurityManager. (markt)

    WebSocket

        fix	61003: Ensure the flags for reading/writing in o.a.t.websocket.AsyncChannelWrapperSecure are correctly reset even if some exceptions occurred during processing. (markt/violetagg)

    Web applications

        add	Document the property test.excludePerformance in BUILDING.txt. (rjung)
        add	Add documents for maxIdleTime attribute to Channel Receiver docs. (kfujino)

    jdbc-pool

        code	Refactor the creating a constructor for a proxy class to reduce duplicate code. (kfujino)
        fix	In StatementFacade, the method call on the statements that have been closed throw SQLException rather than NullPointerException. (kfujino)

    Other

        fix	Correct comments about Java 8 in Jre8Compat. Patch provided by fibbers via Github. (violetagg)
        fix	60932: Correctly escape single quotes when used in i18n messages. Based on a patch by Michael Osipov. (markt)

Revision 1.24 / (download) - annotate - [select for diffs], Mon Apr 10 10:32:47 2017 UTC (2 years, 1 month ago) by ryoon
Branch: MAIN
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)

Update to 7.0.77

Changelog:
Tomcat 7.0.77 (violetagg)

    Catalina

        add	54618: Add support to the HttpHeaderSecurityFilter for the HSTS preload parameter. (markt)
        fix	60911: Ensure NPE will not be thrown when looking for SSL session ID. Based on a patch by Didier Gutacker. (violetagg)

    Coyote

        fix	When using the NIO2 connector, ensure a WebSocket close frame is processed before the end of stream is processed to ensure that the end of stream is processed correctly. (markt)
        fix	60852: Correctly spell compressible when used in configuration attributes and internal code. Based on a patch by Michael Osipov. (markt)
        fix	Improve sendfile handling when requests are pipelined. (markt)

    Jasper

        fix	Improve the error handling for simple tags to ensure that the tag is released and destroyed once used. (remm, violetagg)
        fix	60844: Correctly handle the error when fewer parameter values than required by the method are used to invoke an EL method expression. Patch provided by Daniel Gray. (markt)

    jdbc-pool

        fix	60764: Implement equals() and hashCode() in the StatementFacade in order to enable these methods to be called on the closed statements if any statement proxy is set. This behavior can be changed with useStatementFacade attribute. (kfujino)

Tomcat 7.0.76 (markt)	released 2017-03-16

    Catalina

        code	Make it easier for sub-classes of Tomcat to modify the default web.xml settings by over-riding getDefaultWebXmlListener(). Patch provided by Aaron Anderson. (markt)
        fix	Reduce the contention in the default InstanceManager implementation when multiple threads are managing objects and need to reference the annotation cache. (markt)
        code	60674: Remove final marker from CorsFilter to enable sub-classing. (markt)
        fix	60683: Security manager failure causing NPEs when doing IO on some JVMs. (csutherl)
        fix	60688: Update the internal fork of Apache Commons BCEL to r1782855 to add early access Java 9 support to the annotation scanning code. (markt)
        fix	60718: Improve error handling for asynchronous processing and correct a number of cases where the requestDestroyed() event was not being fired and an entry wasn't being made in the access logs. (markt)
        fix	60808: Ensure that the Map returned by ServletRequest.getParameterMap() is fully immutable. Based on a patch provided by woosan. (markt)
        fix	60824: Correctly cache the Subject in the session - if there is a session - when running under a SecurityManager. Patch provided by Jan Engehausen. (markt)
        fix	Ensure request and response facades are used when firing application listeners. (markt/remm)
        fix	When HTTP TRACE requests are disabled on the Connector, ensure that the HTTP OPTIONS response from the WebDAV servlet does not include TRACE in the returned Allow header. (markt)

    Coyote

        fix	Ensure that executor thread pools used with connectors pre-start the configured minimum number of idle threads. (markt)
        add	60594: Allow some invalid characters that were recently restricted to be processed in requests by using the system property tomcat.util.http.parser.HttpParser.requestTargetAllow. (csutherl)

    Jasper

        fix	Refactor code generated for JSPs to reduce the size of the code required for tags. (markt)

    Cluster

        add	Make the accessTimeout configurable in ClusterSingleSignOn. The accessTimeout is used as a timeout period for PING in replication map. (kfujino)
        fix	60806: To avoid ClassNotFoundException, make sure that the web application class loader is passed to ReplicatedContext. (kfujino)

    WebSocket

        fix	60617: Correctly create a CONNECT request when establishing a WebSocket connection via a proxy. Patch provided by Svetlin Zarev. (markt)

    Tribes

        fix	Ensure that NoRpcChannelReply messages are not received on RpcCallback. (kfujino)
        fix	60722: Take account of the dispatchersUseEncodedPaths setting on the current Context when generating paths for dispatches triggered by AsyncContext.dispatch(). (markt)

    Other

        fix	60620: Fix configuration of Eclipse projects, broken by introduction of SafeForkJoinWorkerThreadFactory helper class. This class cannot be built with Java 6. (kkolinko)
        update	Update the packaged version of the Tomcat Native Library to 1.2.12 to pick up the latest Windows binaries built with OpenSSL 1.0.2k. (violetagg)
        add	60784: Update all unit tests that test the HTTP status line to check for the required space after the status code. Patch provided by Michael Osipov. (markt)
        update	Update the NSIS Installer used to build the Windows installer to version 3.01. (markt)
        fix	Refactor the build script and the NSIS installer script so that either NSIS 2.x or NSIS 3.x can be used to build the installer. This is primarily to re-enable building the installer on the Linux based CI system where the combination of NSIS 3.x and wine leads to failed installer builds. (markt)

Tomcat 7.0.75 (violetagg)	released 2017-01-24

    Cluster

        add	Make the accessTimeout configurable in BackupManager. The accessTimeout is used as a timeout period for PING in replication map. (kfujino)

    Web applications

        fix	Ensure the ASF logo image is correctly displayed in docs and host-manager applications. (violetagg)

Tomcat 7.0.74 (violetagg)	not released

    Catalina

        add	53602: Add HTTP status code 451 (RFC 7725) to the list of HTTP status codes recognised by Tomcat. (markt)
        fix	Correctly handle the configClass attribute of a Host when embedding Tomcat. (markt)
        fix	60379: Dispose of the GSS credential once it is no longer required. Patch provided by Michael Osipov. (markt)
        fix	60380: Ensure that a call to HttpServletRequest#logout() triggers a call to TomcatPrincipal#logout(). Based on a patch by Michael Osipov. (markt)
        fix	60387: Correct the javadoc for o.a.catalina.AccessLog.setRequestAttributesEnabled. The default value is different for the different implementations. (violetagg)
        code	60393: Use consistent parameter naming in implementations of Realm#authenticate(GSSContext, boolean). (markt)
        fix	60395: Log when an Authenticator passes an incomplete GSSContext to a Realm since it indicates a bug in the Authenticator. Patch provided by Michael Osipov. (markt)
        update	Update the warnings that reference required options for running on Java 9 to use the latest syntax for those options. (markt)
        fix	60513: Fix thread safety issue with RMI cleanup code. (remm)
        add	60620: Extend thed memory leaks. (markt)

    Coyote

        fix	Ensure that the endpoint is able to unlock the acceptor thread during shutdown if the endpoint is configured to listen to any local address of a specific type such as 0.0.0.0 or ::. (markt)
        fix	Ensue is enabled by default for APR. (markt)
        fix	Prevent read time out when the file is deleted while serving the response. The issue was observed only with APR Connector and sendfile enabled. (violetagg)
        fix	Improve the logic that selects an  to unlock the Acceptor to take account of platforms what do not listen on all local addresses when configured with an address of 0.0.0.0 or ::. (markt)
        fix	60409: When unable to complete sendfile request, ensure the Processor will be added to the(markt)
        fix	60431: Improve handling of varargs in UEL expressions. Based on a patch by Ben Wolfe. (markt)
        fix	60497: Restore previous tag reuse behavior following the use of try/finally. (remm)
        fix	Improve the error handling for simple tags to ensure that the tag is released and destroyed once used. (remm)
        fix	60497: Follow up fix using a better variable name for the tag reuse flag. (remm)
        fix	Revert use of try/finally for simple tags. (remm)

    Web applications

        fix	Correct a typo in Host Configuration Reference. Issue reported via comments.apache.org. (violetagg)
        add	In the documentation web application, be explicit that clustering requires a secure network for all of the cluster network traffic. (markt)
        update	Update the ASF logos to the new versions.

    Tribes

        fix	Reduce the warning logs for a message received from a different domain in order to avoid excessive log outputs. (kfujino)
        add	Add log message that PING message has received beyond the timeout period. (kfujino)
        fix	When a PING message that beyond the time-out period has been received, make sure that valid member is added to the map membership. (kfujino)

    WebSocket

        fix	60437: Avoid possible handshake overflows in the websocket client. (remm)

    jdbc-pool

        add	58816: Implement the statistics of jdbc-pool. The stats infos are borrowedCount, returnedCount, createdCount, releasedCount, reconnectedCount, releasedIdleCount and removeAbandonedCount. (kfujino)
        fix	60194: If validationQuery is not specified, connection validation is done by calling the isValid() method. (kfujino)
        fix	60398: Fix testcase of TestSlowQueryReport. (kfujino)
        add	Enable reset the statistics without restarting the pool. (kfujino)

    Other

        fix	60366: Change catalina.bat to use directly LOGGING_MANAGER and LOGGING_CONFIG variables in order to configure logging, instead of modifying JAVA_OPTS. Patch provided by Petter Isberg. (violetagg)
        add	New property is added test.verbose in order to control whether the output of the tests is displayed on the console or not. Patch provided by Emmanuel Bourg. (violetagg)
        update	Update the ASF logos used in the Apache Tomcat installer for Windows to use the new versions.
        fix	Spelling corrections provided by Josh Soref. (violetagg)

Tomcat 7.0.73 (violetagg)	released 2016-11-14

    Catalina

        fix	60117: Ensure that the name of LogLevel is localized when using OneLineFormatter. Patch provided by Tatsuya Bessho. (kfujino)
        add	60151: Improve the exception error messages when a ResourceLink fails to specify the type, specifies an unknown type or specifies the wrong type. (markt)
        fix	60167: Ignore empty lines in /etc/passwd files when using the PasswdUserDatabase. (markt)
        fix	Improve the access checks for linked global resources to handle the case where the current class loader is a child of the web application class loader. (markt)
        fix	60199: Log a warning if deserialization issues prevent a session attribute from being loaded. (markt)
        fix	Correctly test for control characters when reading the provided shutdown password. (markt)
        fix	When configuring the JMX remote listener, specify the allowed types for the credentials. (markt)

    Coyote

        fix	60123: Avoid potential threading issues that could cause excessively large vales to be returned for the processing time of a current request. (markt)
        fix	60174: Log instances of HeadersTooLargeException during request processing. (markt)
        fix	Correct the HTTP header parser so that DEL is not treated as a valid token character. (markt)
        fix	60319: When using an Executor, disconnect it from the Connector attributes maxThreads, minSpareThreads and threadPriority to enable the configuration settings to be consistently reported. These Connector attributes will be reported as -1 when an Executor is in use. The values used by the executor may be set and obtained via the Executor. (markt)
        fix	If an I/O error occurs during async processing on a non-container thread, ensure that the onError() event is triggered. (markt)
        fix	Improve detection of I/O errors during async processing on non-container threads and trigger async error handling when they are detected. (markt)
        add	Add additional checks for valid characters to the HTTP request line parsing so invalid request lines are rejected sooner. (markt)

    Web applications

        add	Add an example of using the classesToInitialize attribute of the JreMemoryLeakPreventionListener to the documentation web application. Based on a patch by Cris Berneburg. (markt)
        fix	60192: Correct a typo in the status output of the Manager application. Patch provided by Radhakrishna Pemmasani. (markt)
        fix	Correct a typo in HTTP Connector How-To. Issue reported via comments.apache.org. (violetagg)
        fix	Fix default value of validationInterval attribute in jdbc-pool. (kfujino)
        fix	Correct a typo in CGI How-To. Issue reported via comments.apache.org. (violetagg)
        fix	60344: Add a note to BUILDING.txt regarding using the source bundle with the correct line endings. (markt)

    Tribes

        fix	When the proxy node sends a backup retrieve message, ensure that using the channelSendOptions that has been set rather than the default channelSendOptions. (kfujino)

    jdbc-pool

        fix	60099: Ensure that use all method arguments as a cache key when using StatementCache. (kfujino)
        fix	60139: Correct Javadocs for PoolConfiguration.getValidationInterval and setValidationInterval. Reported by Phillip Webb. (kfujino)

    Other

        add	Add documentation to the bin/catalina.bat script to remind users that environment variables don't affect the configuration of Tomcat when run as a Windows Service. Based upon a documentation patch by James H.H. Lampert. (schultz)

Tomcat 7.0.72 (violetagg)	released 2016-09-19

    Catalina

        fix	Ensure Digester.useContextClassLoader is considered in case the class loader is used. (violetagg)

    Jasper

        fix	60101: Remove preloading of the class that was deleted. (violetagg)

    jdbc-pool

        fix	Notify jmx when returning the connection that has been marked suspect. (kfujino)
        fix	Ensure that the POOL_EMPTY notification has been added to the jmx notification types. (kfujino)

    Other

        update	Update the packaged version of the Tomcat Native Library to 1.2.10 to pick up the latest Windows binaries built with OpenSSL 1.0.2j. (markt)

Tomcat 7.0.71 (violetagg)	not released

    Catalina

        fix	57705: Add debug logging for requests denied by the remote host and remote address valves and filters. Based on a patch by Graham Leggett. (markt)
        update	Change the default of the sessionCookiePathUsesTrailingSlash attribute of the Context element to false since the problems caused when a Servlet is mapped to /* are more significant than the security risk of not enabling this option by default. (markt)
        fix	59708: Modify the LockOutRealm logic. Valid authentication attempts during the lock out period will no longer reset the lock out timer to zero. (markt)
        fix	Improve error handling around user code prior to calling InstanceManager.destroy() to ensure that the method is executed. (markt)
        fix	Ensure that reading the singleThreadModel attribute of a StandardWrapper via JMX does not trigger initialisation of the associated servlet. With some frameworks this can trigger an unexpected initialisation thread and if initilisation is not thread-safe the initialisation can then fail. (markt)
        fix	By default, treat paths used to obtain a request dispatcher as encoded. This behaviour can be changed per web application via the dispatchersUseEncodedPaths attribute of the Context. (markt)
        fix	59839: Apply roleSearchAsUser to all nested searches in JNDIRealm. (fschumacher)
        add	Provide a mechanism that enables the container to check if a component (typically a web application) has been granted a given permission when running under a SecurityManager without the current execution stack having to have passed through the component. Use this new mechanism to extend SecurityManager protection to the system property replacement feature of the digester. (markt)
        add	When retrieving an object via a ResourceLink, ensure that the object obtained is of the expected type. (markt)
        fix	59866: When scanning WEB-INF/classes for annotations, don't scan the contents of WEB-INF/classes/META-INF (if present) since classes will never be loaded from that location. (markt)
        fix	59912: Fix an edge case in input stream handling where an IOException could be thrown when reading a POST body. (markt)
        fix	59966: Do not start the web application if the error page configuration in web.xml is invalid. (markt)
        fix	Switch the CGI servlet to the standard logging mechanism and remove support for the debug attribute. (markt)
        add	Add a new initialisation parameter, envHttpHeaders, to the CGI Servlet to mitigate httpoxy (CVE-2016-5388) by default and to provide a mechanism that can be used to mitigate any future, similar issues. (markt)
        add	When adding and removing ResourceLinks dynamically, ensure that the global resource is only visible via the ResourceLinkFactory when it is meant to be. (markt)
        fix	60008: When processing CORs requests, treat any origin with a URI scheme of file as a valid origin. (markt)
        fix	Improve handling of exceptions during a Lifecycle events triggered by a state transition. The exception is now caught and the component is now placed into the FAILED state. (markt)
        fix	Fix a file descriptor leak when reading the global web.xml. (markt)
        fix	60041: Better error message if a JAR is deleted while a web application is running. Note: Deleting a JAR while the application is running is not supported and errors are expected. Based on a patch by gehui. (markt)

    Coyote

        fix	Improve error handling around user code prior to calling InstanceManager.destroy() to ensure that the method is executed. (markt)
        fix	59904: Add a limit (default 200) for the number of cookies allowed per request. Based on a patch by gehui. (markt)
        fix	Make timing attacks against the Realm implementations harder. (schultz)
        add	Refactor the code that implements the requirement that a call to complete() or dispatch() made from a non-container thread before the container initiated thread that called startAsync() completes must be delayed until the container initiated thread has completed. Rather than implementing this by blocking the non-container thread, extend the internal state machine to track this. This removes the possibility that blocking the non-container thread could trigger a deadlock. (markt)

    Jasper

        fix	Improve error handling around user code prior to calling InstanceManager.destroy() to ensure that the method is executed. (markt)
        fix	Improve the error handling for custom tags to ensure that the tag is returned to the pool or released and destroyed once used. (markt)
        fix	Fixed StringIndexOutOfBoundsException. Based on a patch provided by wuwen via Github. (violetagg)

    WebSocket

        fix	Improve error handling around user code prior to calling InstanceManager.destroy() to ensure that the method is executed. (markt)
        fix	59868: Clarify the documentation for the Manager web application to make clearer that the host name and IP address in the server section are the primary host name and IP address. (markt)
        fix	59908: Ensure that a reason phrase is included in the close message if a session is closed due to a timeout. (markt)

    Web Applications

        fix	Do not log an additional case of IOExceptions in the error handler for the Drawboard WebSocket example when the root cause is the client disconnecting since the logs add no value. (markt)
        fix	59642: Mention the localDataSource in the DataSourceRealm section of the Realm How-To. (markt)
        fix	Follow-up to the fix for 59399. Ensure that the new attribute transportGuaranteeRedirectStatus is documented for all Realms. Also document the NullRealm and when it is automatically created for an Engine. (markt)
        fix	MBeans Descriptors How-To is moved to mbeans-descriptors-howto.html. Patch provided by Radoslav Husar. (violetagg)
        fix	60034: Correct a typo in the Manager How-To page of the documentation web application. (markt)

    Tribes

        add	Add log message when the ping has timed-out. (kfujino)
        fix	If the ping message has been received at the AbstractReplicatedMap#leftOver method, ensure that notify the member is alive than ignore it. (kfujino)

    jdbc-pool

        fix	Fix the duplicated connection release when connection verification failed. (kfujino)
        fix	Ensure that do not remove the abandoned connection that has been already released. (kfujino)
        fix	In order to avoid the unintended skip of PoolCleaner, remove the check code of the execution interval in the task that has been scheduled. (kfujino)
        fix	59849: Ensure that the connection verification is executed by initSQL (if required) if the borrowing PooledConnection has not been initialized. (kfujino)
        fix	59850: Ensure that the ResultSet is closed when enabling the StatementCache interceptor. (kfujino)
        fix	59923: Reduce the default value of validationInterval in order to avoid the potential issue that continues to return an invalid connection after database restart. (kfujino)
        fix	Ensure that the ResultSet is returned as Proxy object when enabling the StatementDecoratorInterceptor. (kfujino)
        fix	60043: Ensure that the suspectTimeout works without removing connection when the removeAbandoned is disabled. (kfujino)
        fix	Add log message of when returning the connection that has been marked suspect. (kfujino)
        fix	Correct Javadoc for ConnectionPool.suspect(). Based on a patch by Yahya Cahyadi. (markt)

    Other

        add	Use the mirror network rather than the ASF master site to download the current ASF dependencies. (markt)
        update	Update the packaged version of the Tomcat Native Library to 1.2.8 to pick up the latest fixes and make 1.2.8 the minimum recommended version. (markt)
        fix	Fixed typos in mbeans-descriptors.xml files. (violetagg)
        update	Update the internal fork of Commons BCEL to r1757132 to align with the BCEL 6 release. (markt)
        update	Update the internal fork of Commons Codec to r1757174. Code formatting changes only. (markt)
        update	Update the internal fork of Commons FileUpload to afdedc9. This pulls in a fix to improve the performance with large multipart boundaries. (markt)
        fix	Update the download location for Objenesis. (violetagg)

Tomcat 7.0.70 (violetagg)	released 2016-06-20

    Catalina

        fix	59219: Ensure AsyncListener.onError() is called if an Exception is thrown during async processing. (markt)
        fix	59220: Ensure that AsyncListener.onComplete() is called if the async request times out and the response is already committed. (markt)
        fix	59261: ServletRequest.getAsyncContext() now throws an IllegalStateException as required by the Servlet specification if the request is not in asynchronous mode when called. (markt)
        fix	59310: Do not add a Content-Length: 0 header for custom responses to HEAD requests that do not set a Content-Length value. (markt)
        fix	When normalizing paths, improve the handling when paths end with /. or /.. and ensure that input and output are consistent with respect to whether or not they end with /. (markt)
        fix	59317: Ensure that HttpServletRequest.getRequestURI() returns an encoded URI rather than a decoded URI after a dispatch. (markt)
        fix	Ensure that the value for the header X-Frame-Options is constructed correctly according to the specification when ALLOW-FROM option is used. (violetagg)
        add	59399: Add a new option to the Realm implementations that ship with Tomcat that allows the HTTP status code used for HTTP -> HTTPS redirects to be controlled per Realm. (markt)
        fix	59449: In ContainerBase, ensure that the process to remove a child container is the reverse of the process to add one. Patch provided by Huxing Zhang. (markt)
        fix	RMI Target related memory leaks are avoidable which makes them an application bug that needs to be fixed rather than a JRE bug to work around. Therefore, start logging RMI Target related memory leaks on web application stop. Add an option that controls if the check for these leaks is made. Log a warning if running on Java 9 with this check enabled but without the command line option it requires. (markt)
        fix	Fix a potential concurrency issue with the web application class loader and concurrent reads and writes of the resource cache. (markt)
        fix	59619: Within the web application class loader, always use path as the key for the resource cache to improve the hit ratio. This also fixes a problem exposed by the fix for 56777 that enabled file based configuration resources to be loaded from the class path. (markt)
        fix	Fix error message when failed to register MBean. (kfujino)

    Coyote

        fix	58970: Fix a connection counting bug in the NIO connector that meant some dropped connections were not removed from the current connection count. (markt)
        fix	59289: Do not recycle upgrade processors in unexpected close situations. (remm)
        fix	Ensure that requests with HTTP method names that are not tokens (as required by RFC 7231) are rejected with a 400 response. (markt)
        fix	When an asynchronous request is processed by the AJP connector, ensure that request processing has fully completed before starting the next request. (markt)
        fix	If an async dispatch results in the completion of request processing, ensure that any remaining request body is swallowed before starting the processing of the next request else the remaining body may be read as the start of the next request leading to a 400 response. (markt)

    Jasper

        fix	Fix a memory leak in the expression language implementation that caused the class loader of the first web application to use expressions to be pinned in memory. (markt)
        fix	59654: Enforce the requirements of section 7.3.1 of the JSP specification regarding the permitted locations for TLD files. Patch provided by Huxing Zhang. (markt)

    WebSocket

        fix	Ensure that a client disconnection triggers the error handling for the associated WebSocket end point. (markt)

    Web Applications

        fix	Correct a typo in SSL/TLS Configuration How-To. Issue reported via comments.apache.org. (violetagg)
        fix	58891: Update the SSL how-to. Based on a suggestion by Alexander Kjäll. (markt)

    Tribes

        fix	Fix potential NPE that depends on the setting order of attributes of static member when using the static cluster. (kfujino)
        add	Add get/set method for the channel that is related to ChannelInterceptorBase. (kfujino)
        fix	As with the multicast cluster environment, in the static cluster environment, the local member inherits properties from the cluster receiver. (kfujino)
        add	Add get/set method for the channel that is related to each Channel services. (kfujino)
        add	Add name to channel in order to identify channels. In tomcat cluster environment, it is set the cluster name + "-Channel" as default value. (kfujino)
        add	Add the channel name to the thread which is invoked by channel services in order to identify the associated channel. (kfujino)
        fix	Ensure that clear the channel instance from channel services when stopping channel. (kfujino)
        add	Implement map state in the replication map. (kfujino)
        fix	Ensure that the ping is not executed during the start/stop of the replication map. (kfujino)
        fix	In ping processing in the replication map, send not the INIT message but the newly introduced PING message. (kfujino)

    jdbc-pool

        fix	Fix a memory leak with the pool cleaner thread that retained a reference to the web application class loader for the first web application to use a connection pool. (markt)

    Other

        update	Update the packaged version of the Tomcat Native Library to 1.2.7 to pick up the Windows binaries that are based on OpenSSL 1.0.2h and APR 1.5.2. (violetagg/markt)
        update	Remove native code (Windows Service Wrapper, APR/native connector) support for Windows Itanium. (markt)
        update	Update the internal fork of Commons File Upload to r1743698 (1.3.1 plus additional fixes). (markt)
        fix	58626: Add support for a new environment variable (USE_NOHUP) that causes nohup to be used when starting Tomcat. It is disabled by default except on HP-UX where it is enabled by default since it is required when starting Tomcat at boot on HP-UX. (markt)

Revision 1.23 / (download) - annotate - [select for diffs], Sun May 1 00:41:29 2016 UTC (3 years ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored)

Update to 7.0.69

Changelog:
Tomcat 7.0.69 (violetagg)

    Catalina

        fix	Fix the type of InstanceManager attribute of mbean definition of StandardContext. (kfujino)
        add	58351: Make the server build date and server version number accessible via JMX. Patch provided by Huxing Zhang. (markt)
        fix	59001: Correctly handle the case when Tomcat is installed on a path where one of the segments ends in an exclamation mark. (markt)
        fix	Expand the fix for 59001 to cover the special sequences used in Tomcat's custom jar:war: URLs. (markt)
        fix	59043: Avoid warning while expiring sessions associated with a single sign on if HttpServletRequest.logout() is used. (markt)
        fix	59054: Ensure that using the CrawlerSessionManagerValve in a distributed environment does not trigger an error when the Valve registers itself in the session. (markt)
        add	Log a warning message if a user tries to configure the default session timeout via the deprecated (and ignored) Manager.setMaxInactiveInterval() method. (markt)
        fix	Correct a regression introduced in 7.0.68 where the deprecated Manager.getMaxInactiveInterval() method returned the current default session timeout in minutes rather than seconds. (markt)
        fix	When a Host is configured with an appBase that does not exist, create the appBase before trying to expand an external WAR file into it. (markt)
        fix	59115: When using the Servlet 3.0 file upload, the submitted file name may be provided as a token or a quoted-string. If a quoted-string, unquote the string before returning it to the user. (markt)
        fix	59123: Close NamingEnumeration objects used by the JNDIRealm once they are no longer required. (fschumacher/markt)
        fix	59138: Correct a false positive warning for ThreadLocal related memory leaks when the key class but not the value class has been loaded by the web application class loader. (markt)
        fix	59145: Don't log an invalid warning when a user logs out of a session associated with SSO. (markt)
        fix	59151: Fix a regression in the fix for 56917 that added additional (and arguably unnecessary) validation to the provided redirect location. (markt)
        fix	59206: Ensure NPE will not be thrown by o.a.tomcat.util.file.ConfigFileLoader when catalina.base is not specified. (violetagg)
        fix	59213: Async dispatches should be based off a wrapped request. (remm)
        fix	59217: Remove duplication in the recycling of the path in o.a.tomcat.util.http.ServerCookie. Patch is provided by Kyohei Nakamura. (violetagg)
        fix	Ensure that javax.servlet.ServletRequest and javax.servlet.ServletResponse provided during javax.servlet.AsyncListener registration are made available via javax.servlet.AsyncEvent.getSuppliedRequest and javax.servlet.AsyncEvent.getSuppliedResponse (violetagg)
        fix	Clarify the log message that specifying both urlPatterns and value attributes in WebServlet and WebFilter annotations is not allowed. (violetagg)
        fix	Ensure the exceptions caused by Valves will be available in the log files so that they can be evaluated when o.a.catalina.valves.ErrorReportValve.showReport is disabled. Patch is provided by Svetlin Zarev. (violetagg)
        fix	59247: Preload ResourceEntry as a workaround for security manager issues on some JVMs. (kkolinko/remm)
        fix	59269: Correct the implementation of PersistentManagerBase so that minIdleSwap functions as designed and sessions are swapped out to keep the active session count below maxActiveSessions. (markt)

Coyote

    fix	58646: Correct a problem with sendfile that resulted in a Processor being added to the cache twice leading to broken responses. (markt)
    fix	59015: Fix potential cause of endless APR Poller loop during shutdown if the Poller experiences an error during the shutdown process. (markt)
    fix	Limit the default TLS ciphers for JSSE (BIO, NIO) and OpenSSL (APR) to those currently considered secure. (markt)
    add	Add a new environment variable JSSE_OPTS that is intended to be used to pass JVM wide configuration to the JSSE implementation. The default value is -Djdk.tls.ephemeralDHKeySize=2048 which protects against weak Diffie-Hellman keys. (markt)

WebSocket

    fix	59014: Ensure that a WebSocket close message can be sent after a close message has been received. (markt)
    fix	Correctly handle compression of partial messages when the final message fragment has a zero length payload. (markt)
    add	Extend the WebSocket programmatic echo endpoint provided in the examples to handle binary messages and also partial messages. This aligns the code with Tomcat 8 and makes it easier to run the Autobahn testsuite against the WebSocket implementation. (markt)
    fix	59119: Correct read logic for WebSocket client when using secure connections. (markt)
    fix	59134: Correct client connect logic for secure connections made through a proxy. (markt)
    fix	59189: Explicitly release the native memory held by the Inflater and Deflater when using PerMessageDeflate and the WebSocket session ends. Based on a patch by Henrik Olsson. (markt)

Web Applications

    fix	Correct the description of the ServletRequest.getServerPort() in Proxy How-To. Issue reported via comments.apache.org. (violetagg)
    fix	Fix a potential indefinite wait in the Comet Chat servlet in the examples web application. (markt)
    fix	59229: Fix error in HTTP docs and make clear the the HTTP NIO connector uses non-blocking I/O to read the HTTP request headers. (markt)
    fix	Update in the documentation the link to the maven repository where Tomcat snapshot artifacts are deployed. (markt/violetagg)
    fix	Clarify in the documentation that calls to ServletContext.log(String, Throwable) or GenericServlet.log(String, Throwable) are logged at the SEVERE level. (violetagg)

Tribes

    fix	If promoting a proxy node to a primary node when getting a session, notify the change of the new primary node to the original backup node. (kfujino)
    fix	Avoid NPE when a proxy node failed to retrieve a backup entry. (kfujino)
    add	Add log of when received an unexpected messages. (kfujino)
    add	Add the flag indicating that member is a localMember. (kfujino)

Other

    fix	58283: Change the default download location for libraries during the build process from /usr/share/java to ${user.home}/tomcat-build-libs. Patch provided by Ahmed Hosni. (markt)
    fix	59031: When using the Windows uninstaller, do not remove the contents of any directories that have been symlinked into the Tomcat directory structure. (markt)
    update	Modify the default tomcat-users.xml file to make it harder for users to configure the entries intended for use with the examples web application for the Manager application. (markt)
    fix	59211: Add hamcrest to Eclipse classpath. Patch is provided by Huxing Zhang. (violetagg)
    update	59280: Update the NSIS Installer used to build the Windows Installers to version 2.51. (kkolinko)

Revision 1.22 / (download) - annotate - [select for diffs], Sun Feb 28 10:17:13 2016 UTC (3 years, 2 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored)

Update to 7.0.68

Changelog:
Tomcat 7.0.68 (violetagg)

    General

        add	Allow to configure multiple JUnit test class patterns with the build property test.name and document the property in BUILDING.txt. (rjung)

    Catalina

        fix	Correct implementation of validateClientProvidedNewSessionId so client provided session IDs may be rejected if validation is enabled. (markt)
        fix	56785: Avoid NullPointerException if directory exists on the class path that is not readable by the Tomcat user. (kkolinko)
        fix	57906: Suppress WebappClassLoader log messages when running with a security manager on Java 6, caused by java.beans.Introspector.findExplicitBeanInfo() calls during evaluation of EL expressions. (kkolinko)
        fix	58692: Make StandardJarScanner more robust. Log a warning if a class path entry cannot be scanned rather than triggering the failure of the web application. (markt)
        fix	58701: Reset the instanceInitialized field in StandardWrapper when unloading a Servlet so that a new instance may be correctly initialized. (markt)
        fix	58702: Ensure an access log entry is generated if the client aborts the connection. (markt)
        fix	Fixed various issues reported by Findbugs. (violetagg)
        fix	58735: Add support for the X-XSS-Protection header to the HttpHeaderSecurityFilter. Patch provided by Jacopo Cappellato. (markt)
        fix	58751: Correctly handle the case where an AsyncListener dispatches to a Servlet on an asynchronous timeout and the Servlet uses sendError() to trigger an error page. Includes a test case based on code provided by Andy Wilkinson.(markt)
        fix	58765: Change default for mapperContextRootRedirectEnabled to true since this is required for correct session management because of the default for sessionCookiePathUsesTrailingSlash. (markt)
        fix	Add the StatusManagerServlet to the list of Servlets that can only be loaded by privileged applications. (markt)
        fix	Simplify code and fix messages in org.apache.catalina.core.DefaultInstanceManager class. (kkolinko)
        fix	Ensure that the proper file encoding if specified will be used when a readme file is served by DefaultServlet. (violetagg)
        fix	Fix declaration of localPort attribute of Connector MBean: it is read-only. (kkolinko)
        fix	58766: Make skipping non-class files during annotation scanning faster by checking the file name first. Improve debug logging. (kkolinko)
        fix	58768: Log a warning if a redirect fails because of an invalid location. (markt)
        fix	58836: Correctly merge query string parameters when processing a forwarded request where the target includes a query string that contains a parameter with no value. (markt/kkolinko)
        fix	Make sure that shared Digester is reset in an unlikely error case in HostConfig.deployWAR(). (kkolinko)
        fix	Fix a potential JDBC resource leak in DataSourceRealm. (schultz)
        fix	58900: Correctly undeploy symlinked resources and prevent an infinite cycle of deploy / undeploy. (markt)
        fix	Protect initialization of ResourceLinkFactory when running with a SecurityManager. (kkolinko)
        add	Extend the feature available in the cluster session manager implementations that enables session attribute replication to be filtered bases on attribute name to all session manager implementations. Note that configuration attribute name has changed from sessionAttributeFilter to sessionAttributeNameFilter. Apply the filter on load as well as unload to ensure that configuration changes made while the web application is stopped are applied to any persisted data. (markt)
        add	Extend the session attribute filtering options to include filtering based on the implementation class of the value and optional WARN level logging if an attribute is filtered. These options are available for all of the Manager implementations that ship with Tomcat. When a SecurityManager is used filtering will be enabled by default. (markt)
        fix	58905: Ensure that Tomcat.silence() silences the correct logger and respects the current setting. (markt)
        fix	58946: Ensure that the request parameter map remains immutable when processing via a RequestDispatcher. (markt)

    Coyote

        add	New configuration option ajpFlush for the AJP connectors to disable the sending of AJP flush packets. (rjung)

    Jasper

        fix	Fix handling of missing messages in org.apache.el.util.MessageFactory. (violetagg)

    Cluster

        fix	In order to avoid that the heartbeat thread and the background thread to run Channel.heartbeat simultaneously, if heartbeatBackgroundEnabled of SimpleTcpCluster set to true, ensure that the heartbeat thread does not start. (kfujino)

    WebSocket

        fix	57489: Ensure onClose() is called when a WebSocket connection is closed even if the sending of the close message fails. Includes test cases by Barry Coughlan. (markt)
        fix	Fix a timing issue on session close that could result in an exception being thrown for an incomplete message even through the message was completed. (markt)

    Web Applications

        fix	Correct some typos in the JNDI resources How-To. (markt)
        fix	Don't create sessions unnecessarily in the Manager application. (markt)
        fix	Don't create sessions unnecessarily in the Host Manager application. (markt)
        fix	58723: Clarify documentation and error messages for the text interface of the manager to make clear that version must be used with path when referencing contexts deployed using parallel deployment. (markt)
        fix	Correct an error in the documentation of the extory will always be deleted and recreated by expanding the WAR if unpackWARs is true. (markt)
        fix	58935: Remove incorrect references in the documentation to using jar:file: URLs with the Manager application. (markt)

    Tribes

        fix	Add sun the static cluster. (kfujino)
        fix	Ignore the unnecessary member remove operation from different domain. (kfujino)
        fix	Add support for the shutdown notification of local members in the static cluster. (kfujino)
        fix	Ensure that asynchronous session replication thread is a daemon thread. (kfujino)

    Other

        update	Update the NSIS Installer used to build the Windows Installers to version 2.50. (markt/kkolinko)

Revision 1.21 / (download) - annotate - [select for diffs], Mon Dec 21 17:03:26 2015 UTC (3 years, 4 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

Update to 7.0.67

Changelog:
Tomcat 7.0.67 (violetagg)

    Catalina

        add	56917: As per RFC7231 (HTTP/1.1), allow HTTP/1.1 and later redirects to use relative URIs. This is controlled by a new attribute useRelativeRedirects on the Context and defaults to true. (markt)
        fix	58660: Correct a regression in 7.0.66 caused by the change that moved the redirection for context roots from the Mapper to the Default Servlet. (markt)
        fix	Fixed potential NPE in HostConfig while deploying an application. Issue reported by coverity scan. (violetagg)
        fix	58655: Fix an IllegalStateException when calling HttpServletResponse.sendRedirect() with the RemoteIpFilter. This was caused by trying to correctly generate the absolute URI for the redirect. With the fix for 56917, redirects may now be relative making the sendRedirect() implementation for the RemoteIpFilter much simpler. This also addresses issues where the redirect may not have behaved as expected when redirecting from http to https to from https to http. (markt)

    WebSocket

        fix	58658: Correct a regression in 7.0.66 that prevented Tomcat from starting on Java 6 unless the WebSocket JARs (that require Java 7) were removed. (markt)

    Web Applications

        add	Add a description of the default value of heartbeatSleeptime attribute and optionCheck attribute in the cluster channel docs. (kfujino)

    Tribes

        fix	Fix potential NPE in AbstractReplicatedMap.breakdown(). (kfujino)

Tomcat 7.0.66 (violetagg)	not released

    General

        update	58596: Clarify the description in RUNNING.txt of how environment variables are used. (markt)

    Catalina

        fix	34319: Only load those keys in StoreBase.processExpire from JDBCStore, that are old enough, to be expired. Based on a patch by Tom Anderson. (fschumacher)
        fix	56777: Allow file based configuration resources (user database, certificate revocation lists, keystores and trust stores) to be configured using URLs as well as files. Back-port provided by Huxing Zhang. (markt/violetagg)
        add	57741: Enable the CGI servlet to use the standard error page mechanism. Note that if the CGI servlet's debug init parameter is set to 10 or higher then the standard error page mechanism will be bypassed and a debug response generated by the CGI servlet will be returned instead. (markt)
        add	58486: Protect against two further possible memory leaks associated with XML parsing. (markt)
        code	58497: Make AbstractHttp11Processor easy to extend. (markt)
        fix	58508: Escape role names when generating associated MBeans in case the role name contains characters not permitted in an MBean name. (markt)
        fix	58522: Fixed concurrency issue when iterating web application's resources. (violetagg)
        fix	58534: Removed repeated conditional tests in o.a.tomcat.websocket.pojo.PojoMethodMapping and o.a.tomcat.util.net.AprEndpoint Patch provided by Anthony Whitford. (violetagg)
        fix	58535: Use Collections.reverseOrder when a reverse ordering is needed. (violetagg)
        fix	58537: Some of the inner classes in o.a.catalina.valves.ExtendedAccessLogValve are made static. Patch provided by Anthony Whitford. (violetagg)
        fix	58540: Removed unused code from o.a.catalina.connector.Request. Patch provided by Anthony Whitford. (violetagg)
        fix	58541, 58544: It is more efficient to call Integer.toString(int) instead of Integer.valueOf(int).toString() when only a string representation of a primitive is needed. Based on a patch provided by Anthony Whitford. (violetagg)
        fix	58541, 58547: It is more efficient to call valueOf(...) instead of Number constructor. Based on a patch provided by Anthony Whitford. (violetagg)
        fix	58545: In some use cases it is more efficient to use Map.entrySet() instead of Map.keySet() Based on a patch provided by Anthony Whitford. (violetagg)
        add	Add a new RestCsrfPreventionFilter that provides basic CSRF protection for REST APIs. (violetagg)
        fix	58581: If a custom error page fails, fall back to the standard error page rather than throwing an NPE. Based on a patch by Huxing Zhang. (markt)
        fix	58582: Combined realm should perform background processing on its sub-realms. Based upon a patch provided by Aidan. (kkolinko)
        fix	Handle the unlikely case where different versions of a web application are deployed with different session settings. (markt)
        add	Add a new Context option, enabled by default, that enables an additional check that a client provided session ID is in use in at least one other web application before allowing it to be used as the ID for a new session in the current web application. (markt)
        add	Add support for DIGEST authentication to the JNDIRealm. Based on a patch by Alexis Hassler. (markt)
        fix	58603: Ensure that HttpServletRequest.getRequestURL() returns the correct value when using the RemoteIpFilter. (markt)
        fix	Ensure that in an embedded Tomcat the logging configuration is not lost during garbage collection. (violetagg)
        add	Move the functionality that provides redirects for context roots and directories where a trailing / is added from the Mapper to the DefaultServlet. This enables such requests to be processed by any configured Valves and Filters before the redirect is made. This behaviour is configurable via the mapperContextRootRedirectEnabled and mapperDirectoryRedirectEnabled attributes of the Context which may be used to restore the previous behaviour. (markt)
        fix	58635: Enable break points to be set within agent code when running Tomcat with a Java agent. Based on a patch by Huxing Zhang. (markt)

    Jasper

        fix	57136#c25: Implement a setting that controls what quoting rule is used when parsing EL expressions in attributes on a JSP page (chapter JSP.1.6 of specification). The setting name is quoteAttributeEL and it is configured as initialisation parameter of JSP Servlet (per web application configuration is possible) and as a command line option for JspC. The default value was changed to true, which restores behaviour implemented in Tomcat 7.0.64. It means that attribute quoting is applied on top of EL quoting. This provides better compatibility with older versions of Tomcat and other implementations. (kkolinko)

    Cluster

        fix	Optimize the session lock range in DeltaManager.requestCompleted. (kfujino)
        fix	Enable an explicit configuration of local member in the static cluster membership. (kfujino)
        fix	Fix potential integer overflow in DeltaSession. Reported by coverity scan. (fschumacher)

    Tribes

        code	Distinguish the handling of the shutdown payload and member verification clearly. When handling shutdown payload, verification completion message is not required. (kfujino)
        fix	When starting the StaticMembershipInterceptor, StaticMembershipInterceptor checks the required Interceptors. If the required Interceptor does not exist, it issues warning logs. (kfujino)
        fix	Ensure that the static member is registered to the add suspect list even if the static member that is registered to the remove suspect list has disappeared. (kfujino)
        fix	Correct the warning log of when the member that is not registered in the membership is detected. (kfujino)
        fix	When using a static cluster, add the members that have been cached in the membership service to the map members list in order to ensure that the map member is a static member. (kfujino)

    WebSocket

        fix	Use instance manager for server endpoint instances. (remm)
        add	55006: The WebSocket client now honors the java.net.java.net.ProxySelector configuration (using the HTTP type) when establishing WebSocket connections to servers. Based on a patch by Niki Dokovski. (markt)
        fix	58624: Correct a thread safety issue that meant that blocking message writes could block indefinitely if the WebSocket connection was closed while a message write was in progress. (markt)

    Web applications

        add	Make it clear in the documentation for the CGI servlet that the debug page is not considered secure and should not be used in production. (markt)
        fix	The domain attribute of StaticMember is not required but optional. (kfujino)
        fix	58631: Correct the continuation character use in the Windows Service How-To page of the documentation web application. (markt)

    jdbc-pool

        fix	58489: Correct QueryStatsComparator to hold up the general contract for Comparator. (fschumacher)
        fix	When creating a QueryStats object, ensure that maxQueries is checked. If maxQueries is a value less than or equal to 0, QueryStats are never created. (kfujino)
        fix	Fix potential integer overflow in ConnectionPool and PooledConnection. Reported by coverity scan. (fschumacher)

Tomcat 7.0.65 (violetagg)	released 2015-10-19

    Catalina

        add	57681: Add a web application class loader implementation that supports the parallel loading of web application classes. Use of this feature requires a Java 7 or later JRE. Based on a patch by Huxing Zhang. (markt)
        fix	58187: Correct a regression in the fix for 57765 that meant that deployment of web applications deployed via the Manager application was delayed until the next execution of the automatic deployment background process. (markt)
        fix	58284: Correctly implement session serialization so non-serializable attributes are skipped with a warning. Patch provided by Andrew Shore. (markt)
        fix	58313: Fix concurrent access of encoders map when clearing encoders prior to switch to async. (markt)
        fix	58320: Fix concurrent access of request attributes which is possible during asynchronous processing. (markt)
        code	In preparation for implementing enhancement 57681, replace the use of the StandardClassLoader with URLClassLoader. This removes the server class loader from JMX. (markt)
        fix	58352: Always trigger a thread dump if Tomcat fails to stop gracefully from catalina.sh even if using -force. Patch provided by Alexandre Garnier. (markt)
        fix	58416: Correctly detect when a forced stop fails to stop Tomcat because the Tomcat process is waiting on some system call or is uninterruptible. (markt)
        fix	58436: Fix some rare data races in JULI's ClassLoaderLogManager during shutdown. (markt)

    Coyote

        fix	Correct some edge cases in RequestUtil.normalize(). (markt)
        fix	58275: The IBM JREs accept cipher suite names starting with TLS_ or SSL_ but when listing the supported cipher suites only the SSL_ version is reported. This can break Tomcat's check that at least one requested cipher suite is supported. Tomcat now includes a work-around so either form of the cipher suite name can be used when running on an IBM JRE. (markt)
        fix	58357: For reasons not currently understood when the APR/native connector is used with OpenSSL reads can return an error code when there is no apparent error. This was work-around for HTTP upgrade connections by treating this as EAGAIN. The same fix has now been applied to the standard HTTP connector. (markt)
        fix	57799: Remove useless sendfile check for NIO SSL. (remm)

    Jasper

        fix	57136: Correct a regression in the previous fix for this issue. \${ should only be an escape for ${ within an EL expression. Within a JSP page \$ should be an escape for $. The EL specification applies when parsing the expression delimited by ${ and }. Parsing of the delimiting ${ and } is the responsibility of the JSP specification. (markt)
        fix	58296: Fix a memory leak in the JSP unloading feature that meant that using a value other than -1 for maxLoadedJsps triggered a memory leak once the limit was reached. (markt)
        fix	58340: Improve error reporting for tag files packaged in JARs. (markt)
        fix	58444: Ensure that JSPs work with any custom base class that meets the requirements defined in the JSP specification without requiring that base class to implement Tomcat specific code. (markt)

    Cluster

        fix	Fix a default clusterListeners in SimpleTcpCluster. The optimal default value is different for each session manager. ClusterSessionListener is never used in BackupManager. (kfujino)
        fix	Correct log messages in case of using BackupManager. (kfujino)

    WebSocket

        fix	58342: Fix a copy and paste error that meant MessageHandler removal could fail for binary and pong MessageHandlers. Patch provided by DJ. (markt)
        fix	58414: Correctly handle sending zero length messages when using per message deflate. (markt)

    Web applications

        fix	Correct documentation for cluster-howto. (kfujino)

    Extras

        fix	Ensure JULI adapters does not include the LogFactoryImpl class. Patch provided by Benjamin Gandon. (markt)

    Tribes

        add	Add support for configurations of ChannelListener and MembershipListener in server.xml. (kfujino)
        fix	Correct log messages in case of using ReplicatedMap. (kfujino)

    jdbc-pool

        fix	Make sure the pool has been properly configured when attributes that related to the pool size are changed via JMX. (kfujino)

Revision 1.20 / (download) - annotate - [select for diffs], Wed Nov 4 02:46:49 2015 UTC (3 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

Add SHA512 digests for distfiles for www category

Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Aug 30 11:32:35 2015 UTC (3 years, 8 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

Update to 7.0.64

Changelog:
Tomcat 7.0.64 (violetagg)

    Catalina

        add	55317: Facilitate weaving by allowing ClassFileTransformer to be added to WebappClassLoader. Patch by Nick Williams. (markt)
        fix	58031: Make the (first) reason parameter parsing failed available as a request attribute and then use it to provide a better status code via the FailedRequstFilter (if configured). (markt)
        fix	58086: Ensure that WAR URLs are handled properly when using Apache Ant for web application deployment. (violetagg)
        fix	58094: Fix cosmetic error log when using non standard non cacheable resources, like with the empty resources used in some tests. (remm)
        fix	58096: Classes loaded from /WEB-INF/classes/ should use that directory as their code base. (markt)
        fix	Fix possible resource leaks by closing streams properly. Issues reported by Coverity Scan. (violetagg)
        fix	58116: Fix a regression in the fix for 57281 that broke Comet support when running under a security manager. Based on a patch provided by Johno Crawford. (markt)
        fix	58179: Fix a thread safety issues that could mean concurrent threads setting the same attribute on a ServletContext could both see null as the old value. (markt)
        fix	58192: Correct a regression in the previous fix for 58023. Ensure that classes are associated with their manifest even if the class file is first read (and cached) without the manifest. (markt)
        fix	Fix thread safety issue in the AsyncContext implementation that meant a sequence of start();dispatch(); calls using non-container threads could result in a previous dispatch interfering with a subsequent start. (markt)

    Coyote

        fix	57943: Prevent the same socket being added to the cache twice. Patch based on analysis by Ian Luo / Sun Qi. (markt)
        fix	Add text/javascript,application/javascript to the default list of compressable MIME types. (violetagg)
        fix	58103: When pipelining requests, and the previous request was an async request, ensure that the socket is removed from the waiting requests so that the async timeout thread doesn't process it during the next request. (markt)
        fix	Fix a concurrency issue that meant that a change in socket timeout (e.g. when switching to asynchronous I/O) did not always take effect immediately. (markt)
        fix	In the AJP and HTTP NIO connectors, ensure that the socket timeout is correctly set before adding the socket back to the poller for read. (markt)
        fix	58157: Ensure that the handling of async timeouts does not result in an unnecessary dispatch to a container thread that could result in the current socket being added to the Poller multiple times with multiple attempts to process the same event for the same socket. (markt)
        fix	Correct a coupe of edge cases in RequestUtil.normalize(). (markt)

    Jasper

        fix	58110: Like scriptlet sections, declaration sections of JSP pages have a one-to-one mapping of lines to the generated .java file. Use this information to provide more accurate error messages if a compilation error occurs in a declaration section. (markt)
        fix	58119: When tags are compiled they must be placed in the org/apache/jsp/tag/web directory. Correct a regression in the fix for 52725. (violetagg)
        fix	58178: Expressions in a tag file should use the tag file's PageContext rather than that of the containing page. (markt)

    WebSocket

        fix	58166: Allow applications to send close codes in the range 3000-4999 inclusive. (markt)
        fix	58232: Avoid possible NPE when adding endpoints programmatically to the javax.websocket.server.ServerContainer. Based on a patch provided by bastian.(violetagg)

    Web applications

        fix	Correct the incorrect document of QueryTimeoutInterceptor. The setting value is not in milliseconds but in seconds. (kfujino)
        fix	58112: Update the documentation for using the Catalina tasks in an Apache Ant build file. (markt)
        fix	Improve the Javadoc for some of the APR socket read functions that have inconsistent behaviour for return values. (markt)
        add	58255: Document the Semaphore valve. Patch provided by Kyohei Nakamura. (markt)

    jdbc-pool

        fix	Fix potential NPE in QueryTimeoutInterceptor. (kfujino)
        fix	Add support for stopping the pool cleaner via JMX. (kfujino)
        fix	The fairness attribute and ignoreExceptionOnPreLoad attribute do not allow a change via JMX. (kfujino)
        fix	If the timeBetweenEvictionRunsMillis attribute is changed via jmx, it should restart the pool cleaner because this attribute affects the execution interval of the pool cleaner. (kfujino)
        fix	Eliminate the dependence on maxActive of busy queues and idle queue in order to enable the expansion of the pool size via JMX. (kfujino)

    Other

        fix	Update sample Eclipse IDE configuration to exclude test/webapp* and similar paths from compiler sourcepath. (kkolinko)



Tomcat 7.0.63 (violetagg)	released 2015-07-06

    Catalina

        fix	57938: Correctly handle empty form fields when a form is submitted as multipart/form-data, the maxPostSize attribute of the Connector has been set to a negative value and the Context has been configured with a value of true for allowCasualMultipartParsing. The meaning of the value zero for the maxPostSize has also been changed to mean a limit of zero rather than no limit to align it with maxSavePostSize and to be more intuitive. (markt)
        add	54618: Add a new HttpHeaderSecurityFilter that adds the Strict-Transport-Security, X-Frame-Options and X-Content-Type-Options HTTP headers to the response. (markt)
        fix	Add a workaround for issues with SPNEGO authentication when running on Java 8 update 40 and later. The workaround should be safe for earlier Java versions but it can be disabled with the applyJava8u40Fix attribute of the SPNEGO authenticator if necessary. (markt)
        add	57154: Add support for web applications (Context elements) that do not have a docBase. This is primarily for use when embedding but it also fixes a rare issue when running the unit test. Patch provided by Huxing Zhang. (markt)
        fix	57959: Fixed deadlock in org.apache.juli.FileHandler when log is rotated. (violetagg)
        fix	57977: Correctly bind and unbind the web application class loader during execution of the PersistentValve. (markt)
        fix	58023: Fix potentially excessive memory usage due to unnecessary caching of JAR manifests in the web application class loader. (markt)
        fix	57700: Ensure that Container event ADD_CHILD_EVENT will be sent in all cases. (violetagg)
        fix	Add configuration fields for header names in SSLValve. (remm)

    Coyote

        fix	57265: Further fix to address a potential threading issue for NIO when sendfile is used in conjunction with TLS. (markt)
        fix	57931: Ensure that TLS connections with the NIO HTTP connector that experience issues during the handshake (e.g. missing or invalid client certificate) are closed cleanly and that the client receives the correct error code rather than simply closing the connection. (markt)
        add	57943: Added a work-around to catch ConcurrentModificationExceptions during Poller timeout processing that were causing the Poller thread to stop. The root cause of these exceptions is currently unknown. (markt)
        fix	Fix possible very long (1000 seconds) timeout with APR/native connector. (markt)
        add	Support "-" separator in the SSLProtocol configuration of the APR/native connector for protocol exclusion. (rjung)

    Cluster

        fix	Make sure that stream is closed after using it in DeltaSession.applyDiff(). (kfujino)

    WebSocket

        add	57676: List conflicting WebSocket endpoint classes when there is a path conflict. Based upon a patch proposed by yangkun. (schultz)
        add	Extend support for the permessage-deflate extension to the client implementation.
        fix	57969: Provide path parameters to POJO via per session javax.websocket.server.ServerEndpointConfig as they vary between different requests. (violetagg)
        fix	57974: Session.getOpenSessions should return all sessions associated with a given endpoint instance, rather than all sessions from the endpoint class. (remm)

    Web applications

        fix	57282: Update request processing sequence diagrams. Updated diagrams provided by Stephen Chen. (markt)
        fix	57971: Correct the documentation for the cluster configuration setting recoverySleepTime. (markt)
        add	57758: Add document of testOnConnect attribute in jdbc-pool doc. (kfujino)
        add	Add description of validatorClassName attribute to testXXXX attributes in jdbc-pool docs. (kfujino)

    Tribes

        fix	Ensure that the state transfer flag is updated to true only when the map states have been transferred correctly from existing map members. (kfujino)
        fix	Do not set the nodes that failed to replication to the backup nodes. Ensure that the nodes that the data has been successfully replicated are set to the backup node. (kfujino)
        fix	When failed to replication, rather than all member is handled as a failed member, exclude the failure members from backup members. (kfujino)

    jdbc-pool

        fix	Refactoring of the removeOldest method in SlowQueryReport to behave as expected. (kfujino)
        fix	57783: Fix NullPointerException in SlowQueryReport. To avoid this NPE, Refactor SlowQueryReport#removeOldest and handle the abandoned connection properly. (kfujino)

    Other

        update	Update package renamed Apache Commons BCEL to r1682271 to pick up some some code clean up. (markt)
        update	Update package renamed Apache Commons File upload to r1682322 to pick up the post 1.3.1 fixes. (markt)
        update	Update package renamed Apache Commons Codec to r1682326. No functional changes. Javadoc only. (markt)

Revision 1.18 / (download) - annotate - [select for diffs], Wed May 27 12:19:30 2015 UTC (3 years, 11 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

Update to 7.0.62

Changelog:
Tomcat 7.0.62 (violetagg)

    Catalina

        add	Allow logging of the remote port in the access log using the format pattern %{remote}p. (rjung)
        fix	57765: When checking last modified times as part of the automatic deployment process, account for the fact that File.lastModified() has a resolution of one second to ensure that if a file has been modified within the last second, the latest version of the file is always used. Note that a side-effect of this change is that files with modification times in the future are treated as if they are unmodified. (markt)
        fix	Align redeploy resource modification checking with reload modification checking so that now, in both cases, a change in modification time rather than an increase in modification time is used to determine if the resource has changed. (markt)
        fix	Cleanup o.a.tomcat.util.digester.Digester from debug messages that do not give any valuable information. Patch provided by Polina Genova. (violetagg)
        fix	57772: When reloading a web application and a directory representing an expanded WAR needs to be deleted, delete the directory after the web application has been stopped rather than before to avoid potential ClassNotFoundExceptions. (markt)
        fix	57801: Improve the error message in the start script in case the PID read from the PID file is already owned by a process. (rjung)
        fix	57824: Correct a regression in the fix for 57252 that broke request listeners for non-async requests that triggered an error that was handled by the ErrorReportingValve. (markt/violetagg)
        fix	57841: Improve error logging during web application start. (markt)
        fix	57856: Ensure that any scheme/port changes implemented by the RemoteIpFilter also affect HttpServletResponse.sendRedirect(). (markt)
        fix	57896: Support defensive copying of "cookie" header so that unescaping double quotes in a cookie value does not corrupt original value of "cookie" header. This is an opt-in feature, enabled by org.apache.tomcat.util.http.ServerCookie.PRESERVE_COOKIE_HEADER system property. (kkolinko)

    Coyote

        fix	57779: When an I/O error occurs on a non-container thread only dispatch to a container thread to handle the error if using Servlet 3+ asynchronous processing. This avoids potential deadlocks if an application is performing I/O on a non-container thread without using the Servlet 3+ asynchronous API. (markt)
        fix	57833: When using JKS based keystores for NIO, ensure that the key alias is always converted to lower caes since that is what JKS key stores expect. Based on a patch by Santosh Giri Govind M. (markt)
        fix	57837: Add text/css to the default list of compressable MIME types. (markt)

    Jasper

        fix	57845: Ensure that, if the same JSP is accessed directly and via a <jsp-file> declaration in web.xml, updates to the JSP are visible (subject to the normal rules on re-compilation) regardless of how the JSP is accessed. (markt)
        fix	57855: Explicitly handle the case where a MethodExpression is invoked with null or the wrong number of parameters. Rather than failing with an ArrayIndexOutOfBoundsException or a NullPointerException throw an IllegalArgumentException with a useful error message. (markt)

    Cluster

        add	Add new attribute that send all actions for session across Tomcat cluster nodes. (kfujino)
        fix	Remove unused pathname attribute in mbean definition of BackupManager. (kfujino)
        fix	57338: Improve the ability of the ClusterSingleSignOn valve to handle nodes being added and removed from the Cluster at run time. (markt)
        fix	Avoid unnecessary call of DeltaRequest.addSessionListener() in non-primary nodes. (kfujino)

    WebSocket

        fix	57762: Ensure that the WebSocket client correctly detects when the connection to the server is dropped. (markt)
        fix	57776: Revert the 8.0.21 fix for the permessage-deflate implementation and incorrect op-codes since the fix was unnecessary (the bug only affected trunk) and the fix broke rather than fixed permessage-deflate if an uncompressed message was converted into more than one compressed message. (markt)
        fix	Fix log name typo in WsRemoteEndpointImplServer class, caused by a copy-paste. (markt/kkolinko)
        fix	57788: Avoid NPE when looking up a class hierarchy without finding anything. (remm)

    Web applications

        add	57759: Add information to the keyAlias documentation to make it clear that the order keys are read from the keystore is implementation dependent. (markt)
        fix	57864: Update the documentation web application to make it clearer that hex values are not valid for cluster send options. Based on a patch by Kyohei Nakamura. (markt)

    Tribes

        fix	Fix a concurrency issue when a backup message that has all session data and a backup message that has diff data are processing at the same time. This fix ensures that MapOwner is set to ReplicatedMapEntry. (kfujino)
        fix	Clarify the handling of Copy message and Copy nodes. (kfujino)
        fix	Copy node does not need to send the entry data. It is enough to send only the node information of the entry. (kfujino)
        fix	ReplicatedMap should send the Copy message when replicating. (kfujino)
        fix	Fix behavior of ReplicatedMap when member has disappeared. If map entrprimary, rebuild the backup members. If primary node of map entry has disappeared, backup node is promoted to primary. (kfujino)
        fix	When a map member has been added to ReplicatedMap, make sure to add it to backup nodes list of all other members.

Revision 1.17 / (download) - annotate - [select for diffs], Tue May 5 13:21:42 2015 UTC (4 years ago) by ryoon
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

Update to 7.0.61

* Remove PKG_DESTDIR_SUPPORT=destdir.
  It seems that this package works fine with user-destdir.

Changelog:
    Add support for Java 8 JSSE server-preferred TLS cipher suite ordering. This feature requires Java 8.
    Update to Tomcat Native Library version 1.1.33 to pick up the Windows binaries that are based on OpenSSL 1.0.1m and APR 1.5.1.
    Implement a new feature for AJP connectors - Tomcat Authorization. If enabled Tomcat, will take an authenticated user name from the AJP protocol and use the appropriate Realm for the request to authorize (i.e. add roles) to that user.
    Update the Eclipse JDT compiler to version 4.4.2.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Feb 17 14:03:30 2015 UTC (4 years, 3 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

Update to 7.0.59

Changelog:
Tomcat 7.0.59 (violetagg)
Jasper
	fix	57504: Initialize TLD locations cache when creating the ServletContext. (jboynes)

Tribes
	fix	Fix a possible deadlock when receiver thread invokes mapMemberAdded() while ping thread invokes memberAlive(). (kfujino)

Revision 1.15 / (download) - annotate - [select for diffs], Sat Dec 20 07:49:26 2014 UTC (4 years, 5 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

Update to 7.0.57

Changelog:
Tomcat 7.0.57 (violetagg)

    Catalina

        add	47919: Extend the information logged when Tomcat starts to optionally log the values of command line arguments (enabled by default) and environment variables (disabled by default). Note that the values added to CATALINA_OPTS and JAVA_OPTS environment variables will be logged, as they are used to build up the command line. (markt)
        add	56401: Log version information when Tomcat starts. (markt/kkolinko)
        fix	57022: Ensure SPNEGO authentication continues to work with the JNDI Realm using delegated credentials with recent Oracle JREs. (markt)
        fix	Correct a couple of NPEs in the JNDI Realm that could be triggered with when not specifying a roleBase and enabling roleSearchAsUser. (markt)
        fix	Remove the unnecessary registration of context.xml as a redeploy resource. The context.xml having an external docBase has already been registered as a redeploy resources at first. (kfujino)
        fix	Improve the previous fix for 56401. Avoid logging version information in the constructor since it then gets logged at undesirable times such as when using StoreConfig. (markt)
        fix	57105: When parsing web.xml do not limit the buffer element of the jsp-property-group element to integer values as the allowed values are <number>kb or none. (markt)
        update	Update the minimum required version of the Tomcat Native library (if used) to 1.1.32. (markt)
        update	57144: Improve ClientAbortException to provide non-null message. (kkolinko)

    Coyote

        add	53952: Add support for TLSv1.1 and TLSv1.2 for APR connector. Based upon a patch by Marcel Šebek. This feature requires Tomcat Native library 1.1.32 or later. (schultz/jfclere)
        add	Disable SSLv3 by default for JSSE based HTTPS connectors (BIO and NIO). The change also ensures that SSLv2 is disabled for these connectors although SSLv2 should already be disabled by default by the JRE. (markt)
        add	Disable SSLv3 by default for the APR/native HTTPS connector. (markt)
        fix	Do not increase remaining counter at end of stream in IdentityInputFilter. (kkolinko)

    Jasper

        fix	57099: Ensure that semi-colons are not permitted in JSP import page directives. (markt)

    Cluster

        fix	Avoid possible integer overflows reported by Coverity Scan. (fschumacher)

    WebSocket

        fix	57054: Correctly handle the case in the WebSocket client when the HTTP response to the upgrade request can not be read in a single pass; either because the buffer is too small or the server sent the response in multiple packets. (markt)
        fix	Fix client subprotocol handling. (remm)
        fix	Add null checks for arguments in remote endpoint. (remm/kkolinko)
        fix	57091: Work around the behaviour of the Oracle JRE when creating new threads in an applet environment that breaks the WebSocket client implementation. Patch provided by Niklas Hallqvist. (markt)
        fix	57118: Ensure that that an EncodeException is thrown by RemoteEndpoint.Basic.sendObject(Object) rather than an IOException when no suitable Encoder is configured for the given Object. (markt)

    Web applications

        fix	Correct documentation for ServerCookie.ALLOW_NAME_ONLY system property. (kkolinko)
        fix	57049: Clarified that jvmRoute can be set in <Engine>'s jvmRoute or in a system property. (schultz)
        fix	Correct version of Java WebSocket mentioned in documentation (s/1.0/1.1/). (markt/kkolinko)
        update	In examples web application move Async and Comet examples from JSP to Servlet examples page. (kkolinko)
        update	Suppress timestamp comments and enable charset header in Javadoc. (kkolinko)

    jdbc-pool

        fix	57079: Use Tomcat version number for jdbc-pool module when building and shipping the module as part of Tomcat. (markt/kkolinko)
        fix	Fix broken overview page in javadoc generated via "javadoc" task in jdbc-pool build.xml file. (kkolinko)

    Other

        update	56079: The Apache Tomcat Windows service and the Apache Tomcat Windows service monitor application are now digitally signed. (markt)
        fix	Fix timestamps in Tomcat build and jdbc-pool to use 24-hour format instead of 12-hour one and use UTC timezone. (markt/kkolinko)
        update	Improve Tomcat build script to ensure that only one ecj-nn.jar file is present in Tomcat lib directory when Eclipse JDT Compiler is updated to a new version. (kkolinko)
        update	56596: Update to Tomcat Native Library version 1.1.32 to pick up the Windows binaries that are based on OpenSSL 1.0.1j and APR 1.5.1. (markt)
        code	In Tomcat tests: log name of the current test method at start time. (kkolinko)

Revision 1.14 / (download) - annotate - [select for diffs], Sat Oct 25 15:19:45 2014 UTC (4 years, 6 months ago) by ryoon
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

Update to 7.0.56

Changelog:
Tomcat 7.0.56 Released, 2014-10-06

The Apache Tomcat Project is proud to announce the release of version 7.0.56 of Apache Tomcat. This release contains a number of bug fixes and improvements compared to version 7.0.55. The notable changes since 7.0.55 include:

    Update the Java WebSocket support to version 1.1 of the Java WebSocket specification.
    Add support for the WebSocket permessage-deflate extension.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jun 7 00:24:30 2014 UTC (4 years, 11 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

Update to 7.0.54

* Fix CVE-2014-0119

Changelog:
Tomcat 7.0.54 (violetagg)

    Catalina

        fix	Fix custom UTF-8 decoder so that a byte of value 0xC1 is always rejected immediately as it is never valid in a UTF-8 byte sequence. Update UTF-8 decoder tests to account for UTF-8 decoding improvements in Java 8. The custom UTF-8 decoder is still required due to bugs in the UTF-8 decoder provided by Java. Java 8's decoder is better than Java 7's but it is still buggy. (markt)
        fix	56027: Add more options for managing FIPS mode in the AprLifecycleListener. (schultz/kkolinko)
        fix	56321: When a WAR is modified, undeploy the web application before deleting any expanded directory as the undeploy process may refer to classes that need to be loaded from the expanded directory. If the expanded directory is deleted first, any attempt to load a new class during undeploy will fail. (markt)
        fix	56339: Avoid an infinite loop if an application calls session.invalidate() from the session destroyed event for that session. (markt)
        update	56365: Simplify file name pattern matching code in StandardJarScanner. Ignore leading and trailing whitespace and empty strings when configuring patterns. Improve documentation. (kkolinko)
        fix	56369: Ensure that removing an MBean notification listener reverts all the operations performed when adding an MBean notification listener. (markt)
        add	56382: Information about finished deployment and its execution time is added to the log files. Patch is provided by Danila Galimov. (violetagg)
        add	56383: Properties for disabling server information and error report are added to the org.apache.catalina.valves.ErrorReportValve. Based on the patch provided by Nick Bunn. (violetagg/kkolinko)
        fix	Only create XML parsing objects if required and fix associated potential memory leak in the default Servlet. (markt)
        fix	Modify generic exception handling so that StackOverflowError is not treated as a fatal error and can handled and/or logged as required. (markt)
        fix	56409: Avoid StackOverflowError on non-Windows systems if a file named \ is encountered when scanning for TLDs. (markt)
        add	56430: Extend checks for suspicious URL patterns to include patterns of the form *.a.b which are not valid patterns for extension mappings. (markt)
        add	Extend XML factory, parser etc. memory leak protection to cover some additional locations where, theoretically, a memory leak could occur. (markt)
        fix	Ensure that a TLD parser obtained from the cache has the correct value of blockExternal. (markt)
        fix	56441: Raise the visibility of exceptions thrown when a problem is encountered calling a getter or setter on a component attribute. The logging level is raised from debug to warning. (markt)
        fix	56451: Make resources accessed via a context alias accessible via JNDI in the same way standard resources are available. (markt)
        add	56463: Property for disabling server information is added to the DefaultServlet. Server information is presented in the response sent to the client when directory listings is enabled. (violetagg)
        add	Add the org.apache.naming package to the packages requiring code to have the defineClassInPackage permission when running under a security manager. (markt)
        add	Add the org.apache.naming.resources package to the packages requiring code to have the accessClassInPackage permission when running under a security manager. (markt)
        fix	Make the naming context tokens for containers more robust. Require RuntimePermission when introducing a new token. (markt/kkolinko)
        fix	56472: Allow NamingContextListener to clean up on stop if its start failed. (kkolinko)
        add	56492: Avoid eclipse debugger pausing on uncaught exceptions when tomcat renews its threads. (slaurent)
        fix	Minor fixes to ThreadLocalLeakPreventionListener. Do not trigger threads renewal for failed contexts. Do not ignore threadRenewalDelay setting. Improve documentation. (kkolinko)
        fix	Correct regression introduced in r797162 that broke authentication of users when using the JAASMemoryLoginModule. (markt)
        fix	56501: HttpServletRequest.getContextPath() should return the undecoded context path used by the user agent. (markt)
        fix	56523: When using SPNEGO authentication, log the exceptions associated with failed user logins at debug level rather than error level. (markt)
        fix	56536: Ensure that HttpSessionBindingListener.valueUnbound() uses the correct class loader when the SingleSignOn valve is used. (markt)

    Coyote

        add	56399: Assert that both Coyote and Catalina request objects have been properly recycled. (kkolinko)
        fix	56416: Correct documentation for default value of socket linger for the AJP and HTTP connectors. (markt)

    Jasper

        fix	56334: Fix a regression in the handling of back-slash escaping introduced by the fix for 55735. (markt/kkolinko)
        fix	56425: Improve method matching for EL expressions. When looking for matching methods, an exact match between parameter types is preferred followed by an assignable match followed by a coercible match. (markt)
        fix	Correct the handling of back-slash escaping in the EL parser and no longer require that \$ or \# must be followed by { in order for the back-slash escaping to take effect. (markt)
        fix	56529: Avoid NoSuchElementException while handling attributes with empty string value in custom tags. Patch provided by Hariprasad Manchi. (violetagg)

    Cluster

        fix	Remove cluster and replicationValve from cluster manager template. These instance are not necessary to template. (kfujino)
        fix	Add support for cross context session replication to org.apache.catalina.ha.session.BackupManager. (kfujino)
        fix	Remove the unnecessary cross context check. It does not matter whether the context that is referenced by other context is set to crossContext=true. The context that refers to the different context must be set to crossContext=true. (kfujino)
        code	Move to org.apache.catalina.ha.session.ClusterManagerBase common logics of org.apache.catalina.ha.session.BackupManager and org.apache.catalina.ha.session.DeltaManager. (kfujino)
        code	Simplify the code of o.a.c.ha.tcp.SimpleTcpCluster. In order to add or remove cluster valve to Container, use pipeline instead of IntrospectionUtils. (kfujino)
        fix	There is no need to set cluster instance when SimpleTcpCluster.unregisterClusterValve is called. Set null than cluster instance for cleanup. (kfujino)
        code	Backport refactoring of AbstractReplicatedMap to implement Map rather than extend ConcurrentHashMap to enable Tomcat 7 to be built with Java 8. (markt)

    WebSocket

        fix	56343: Avoid a NPE if Tomcat's Java WebSocket 1.0 implementation is used with the Java WebSocket 1.0 API JAR from the reference implementation. (markt)
        fix	Increase the default maximum size of the executor used by the WebSocket implementation for call backs associated with asynchronous writes from 10 to 200. (markt)
        add	Add a warning if the thread group created for WebSocket asynchronous write call backs can not be destroyed when the web application is stopped. (markt)
        fix	Ensure that threads created to support WebSocket clients are stopped when no longer required. This will happen automatically for WebSocket client connections initiated by web applications but stand alone clients must call WsWebSocketContainer.destroy(). (markt)
        fix	56449: When creating a new session, add the message handlers to the session before calling Endpoint.onOpen() so the message handlers are in place should the onOpen() method trigger the sending of any messages. (markt)
        fix	56458: Report WebSocket sessions that are created over secure connections as secure rather than as not secure. (markt)
        fix	Stop threads used for secure WebSocket client connections when they are no longer required and give them better names for easier debugging while they are running. (markt)

    Web applications

        fix	Add Support for copyXML attribute of Host to Host Manager. (kfujino)
        fix	Ensure that "name" request parameter is used as a application base of host if "webapps" request parameter is not set when adding host in HostManager Application. (kfujino)
        fix	Correct documentation on Windows service options, aligning it with Apache Commons Daemon documentation. (kkolinko)
        update	55215: Improve log4j configuration example. Clarify access logging documentation. Based on patches provided by Brian Burch. (kkolinko)
        update	55383: Backport improved HTML markup for tables and code fragments from Tomcat 8 documentation. (kkolinko)
        fix	56418: Ensure that the Manager web application does not report success for a web application deployment that fails. (slaurent)
        fix	Fix target and rel attributes on links in documentation. They were lost during XSLT transformation. (kkolinko)
        update	Improve valves documentation. Split valves into groups. (kkolinko)

    Other

        fix	Align DisplayName of Tomcat installed by service.bat with one installed by the *.exe installer. Print a warning in case if neither server nor client jvm is found by service.bat. (kkolinko)
        update	56363: Update to version 1.1.30 of Tomcat Native library. (schultz)
        update	Update package renamed Apache Commons BCEL to r1593495 to pick up some additional changes for Java 7 support and some code clean up. (markt)
        add	In tests: allow to configure directory where JUnit reports and access log are written to. (kkolinko)

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Wed Apr 9 14:10:59 2014 UTC (5 years, 1 month ago) by tron
Branch: pkgsrc-2014Q1
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Pullup ticket #4361 - requested by ryoon
www/apache-tomcat7: security update

Revisions pulled up:
- www/apache-tomcat7/Makefile                                   1.18
- www/apache-tomcat7/PLIST                                      1.10
- www/apache-tomcat7/distinfo                                   1.12

---
   Module Name:	pkgsrc
   Committed By:	ryoon
   Date:		Tue Apr  8 20:14:55 UTC 2014

   Modified Files:
   	pkgsrc/www/apache-tomcat7: Makefile PLIST distinfo

   Log Message:
   Update to 7.0.53

   * Fix CVE-2014-0050 and CVE-2013-4590,

   Changelog:
   Tomcat 7.0.53 (violetagg)

       Catalina

           add	Make it easier for applications embedding and/or extending =
   Tomcat to modify the javaseClassLoader attribute of the WebappClassLoad=
   er. (markt)
           fix	Improve the robustness of web application undeployment base=
   d on some code analysis triggered by the report for 54315. (markt)
           fix	56219: Improve merging process for web.xml files to take ac=
   count of the elements and attributes supported by the Servlet version o=
   f the merged file. (markt)
           fix	56190: The response should be closed (i.e. no further outpu=
   t is permitted) when a call to AsyncContext.complete() takes effect. (m=
   arkt)
           fix	56236: Enable Tomcat to work with alternative Servlet and J=
   SP API JARs that package the XML schemas in such as way as to require a=
    dependency on the JSP API before enabling validation for web.xml. Tomc=
   at has no such dependency. (markt)
           fix	56246: Fix NullPointerException in MemoryRealm when authent=
   icating an unknown user. (markt)
           fix	56248: Allow the deployer to update an existing WAR file wi=
   thout undeploying the existing application if the update flag is set. T=
   his allows any existing custom context.xml for the application to be re=
   tained. To update an application and remove any existing context.xml si=
   mply undeploy the old version of the application before deploying the n=
   ew version. (markt)
           fix	Redefine the globalXsltFile initialisation parameter of the=
    DefaultServlet as relative to CATALINA_BASE/conf or CATALINA_HOME/conf=
   . Prevent user supplied XSLTs used by the DefaultServlet from defining =
   external entities. (markt)
           add	Add a work around for validating XML documents (often TLDs)=
    that use just the file name to refer to refer to the JavaEE schema on =
   which they are based. (markt)
           fix	56293: Cache resources loaded by the class loader from /MET=
   A-INF/services/ for better performance for repeated look ups. (markt)

       Coyote

           fix	53119: Make sure the NIO AJP output buffer is cleared on an=
   y error to prevent any possible overflow if it is written to again befo=
   re the connection is closed. This extends the original fix for the APR/=
   native output buffer to the NIO connector. (kkolinko)
           fix	56172: Avoid possible request corruption when using the AJP=
    NIO connector and a request is sent using more than one AJP message. P=
   atch provided by Amund Elstad. (markt)
           fix	56213: Reduce garbage collection when the NIO connector is =
   under heavy load. (markt)
           fix	Improve processing of chuck size from chunked headers. Avoi=
   d overflow and use a bit shift instead of a multiplication as it is mar=
   ginally faster. (markt/kkolinko)
           fix	Fix possible overflow when parsing long values from a byte =
   array. (markt)

       Jasper

           fix	54475: Add Java 8 support to SMAP generation for JSPs. Patc=
   h by Robbie Gibson. (markt)
           fix	55483: Improve handing of overloaded methods and constructo=
   rs in expression language implementation. (markt)
           fix	56208: Restore the validateXml option to Jasper that was pr=
   eviously renamed validateTld. Both options are now supported. validateX=
   ml controls the validation of web.xml files when Jasper parses them and=
    validateTld controls the validation of *.tld files when Jasper parses =
   them. (markt)
           fix	56223: Throw an IllegalStateException if a call is made to =
   ServletContext.setInitParameter() after the ServletContext has been ini=
   tialized. (markt)
           fix	56265: Do not escape values of dynamic tag attributes conta=
   ining EL expressions. (kkolinko)
           fix	Make the default compiler source and target versions for JS=
   Ps Java 6 since Tomcat 7 requires Java 6 as a minimum. (markt)
           update	56283: Update to the Eclipse JDT Compiler P20140317-1600=
    which adds support for Java 8 syntax to JSPs. Add support for value "1=
   .8" for the compilerSourceVM and compilerTargetVM options. (markt)

       WebSocket

           fix	Avoid a possible deadlock when one thread is shutting down =
   a connection while another thread is trying to write to it. (markt)
           fix	Call onError if an exception is thrown calling onClose when=
    closing a session. (remm)

       Web applications

           code	In the documentation: add support for several documentatio=
   n tags from Tomcat 8. Such as <version-major/>. (kkolinko)
           add	56093: Add the SSL Valve to the documentation web applicati=
   on. (markt)
           fix	56217: Improve readability by using left alignment for the =
   table cell containing the request information on the Manager applicatio=
   n status page. (markt)
           fix	Fixed java.lang.NegativeArraySizeException when using "Expi=
   re sessions" command in the manager web application on a context where =
   the session timeout is disabled. (kfujino)
           fix	Add support for LAST_ACCESS_AT_START system property to Man=
   ager web application. (kfujino)
           fix	Add definition of org.apache.catalina.ant.FindLeaksTask. (k=
   fujino)
           fix	56273: If the Manager web application does not perform an o=
   peration because the web application is already being serviced, report =
   an error rather than reporting success. (markt)
           fix	56304: Add a note to the documentation about not using WebS=
   ocket with BIO HTTP in production. (markt)

       Other

           fix	56143: Improve service.bat so that it can be launched from =
   a non-UAC console. This includes using a single call to tomcat7.exe to =
   install the Windows service rather than three calls, and using command =
   line arguments instead of environment variables to pass the settings. (=
   markt/kkolinko)
           fix	Fix regression in 7.0.52: when using service.bat install to=
    install the service the values for --StdOutput, --StdError options wer=
   e passed as blank instead of "auto". (kkolinko)
           fix	Align options between service.bat and exe Windows installer=
   . For service.bat the changes are in --Classpath, --DisplayName, --Star=
   tPath, --StopPath. For exe installer the changes are in --JvmMs, --JvmM=
   x options, which are now 128 Mb and 256 Mb respectively instead of bein=
   g empty. Explicitly specify --LogPath path when uninstalling Windows se=
   rvice, avoiding default value for that option. (kkolinko)
           code	Simplify Windows *.bat files: remove %OS% checks, as java =
   6 does not run on ancient non-NT operating systems. (kkolinko)
           fix	56137: Explicitly use the BIO connector in the SSL example =
   in server.xml so it doesn't break if APR is enabled. (markt)
           fix	56139: Avoid a web application class loader leak in some un=
   it tests when running on Windows. (markt)
           fix	Correct build script to avoid building JARs with empty pack=
   ages. (markt)
           add	Allow to limit JUnit test run to a number of selected test =
   case methods. (kkolinko)
           fix	56189: Remove used file cpappend.bat from the distribution.=
    (markt)

   Tomcat 7.0.52 (violetagg)	released 2014-02-17

       Catalina

           fix	Generate a valid root element for the effective web.xml for=
    a web application for all supported versions of web.xml. (markt)

       Coyote

           code	Pull up SocketWrapper to AbstractProcessor. (markt)
           fix	In some circumstances asynchronous requests could time out =
   too soon. (markt)

   Tomcat 7.0.51 (violetagg)	not released

       Catalina

           fix	55287: ServletContainerInitializer defined in the container=
    may not be found. (markt/jboynes)
           fix	55855: Provide a per Context option (containerSciFilter) to=
    exclude container SCIs. (markt)
           fix	55937: When deploying applications, treat a context path of=
    /ROOT as equivalent to /. (markt)
           fix	55943: Improve the implementation of the class loader check=
    that prevents web applications from trying to override J2SE implementa=
   tion classes. As part of this fix, refactor the way a null parent class=
    loader is handled which enables a number of null checks and object cre=
   ation calls to be removed. (markt)
           fix	55958: Differentiate between foo.war the WAR file and foo.w=
   ar the directory. (markt)
           fix	55960: Improve the single sign on (SSO) unit tests. Patch p=
   rovided by Brian Burch. (markt)
           fix	55974: Retain order when reporting errors and warnings whil=
   e parsing XML configuration files. (markt)
           fix	56013: Fix issue with SPNEGO authentication when using IBM =
   JREs. IBM JREs only understand the option of infinite lifetime for Kerb=
   eros credentials. Based on a patch provided by Arunav Sanyal. (markt)
           fix	56016: When loading resources for XML schema validation, ta=
   ke account of the possibility that servlet-api.jar and jsp-api.jar may =
   not be loaded by the same class loader. Patch by Juan Carlos Estibariz.=
    (markt)
           fix	56025: When creating a WebSocket connection, always call Se=
   rverEndpointConfig.Configurator.getNegotiatedSubprotocol() and always c=
   reate the EndPoint instance after calling ServerEndpointConfig.Configur=
   ator.modifyHandshake(). (markt)
           fix	56032: Ensure that the WebSocket connection is closed after=
    an IO error or an interrupt while sending a WebSocket message. (markt)=

           fix	56042: If a request in async mode has an error but has alre=
   ady been dispatched don't generate an error page in the ErrorReportValv=
   e so the dispatch target can handle it. (markt)
           fix	Add missing javax.annotation.sql.* classes to annotations-a=
   pi.jar. (markt)
           fix	The type of logger attribute of Context MBean should be not=
    org.apache.commons.logging.Log but org.apache.juli.logging.Log. (kfuji=
   no)
           fix	56082: Fix a concurrency bug in JULI's LogManager implement=
   ation. (markt)
           fix	56096: When the attribute rmiBindAddress of the JMX Remote =
   Lifecycle Listener is specified it's value will be used when constructi=
   ng the address of a JMX API connector server. Patch is provided by Jim =
   Talbut. (violetagg)
           fix	When environment entry with one and the same name is define=
   d in the web deployment descriptor and with annotation then the one spe=
   cified in the web deployment descriptor is with priority. (violetagg)
           fix	Change default value of xmlBlockExternal attribute of Conte=
   xt. It is true now. (kkolinko)

       Coyote

           fix	Avoid possible NPE if a content type is specified without a=
    character set. (markt)
           fix	55956: Make the forwarded remote IP address available to th=
   e Connectors via a request attribute. (markt)
           fix	55976: Fix sendfile support for the HTTP NIO connector. (ma=
   rkt)
           fix	55996: Ensure Async requests timeout correctly when using t=
   he NIO HTTP connector. (markt)
           add	56021: Make it possible to use the Windows-MY key store wit=
   h the BIO and NIO connectors for SSL configuration. It requires a keyst=
   oreFile=3D"" keystoreType=3D"Windows-My" to be set on the connector. Ba=
   sed on a patch provided by Asanka. (markt)

       Jasper

           fix	Correct a regression in the XML refactoring that meant that=
    errors in TLD files were swallowed. (markt)
           fix	55671: Correct typo in the log message for a wrong value of=
    genStringAsCharArray init-param of JspServlet. This parameter had a di=
   fferent name in Tomcat 6. (kkolinko)
           fix	55973: Fix processing of XML schemas when validation is ena=
   bled in Jasper. (kkolinko)
           fix	56010: Don't throw an IllegalArgumentException when JspFact=
   ory.getPageContext is used with JspWriter.DEFAULT_BUFFER. Based on a pa=
   tch by Eugene Chung. (markt)
           fix	56012: When using the extends attribute of the page directi=
   ve do not import the super class if it is in an unnamed package as impo=
   rts from unnamed packages are now explicitly illegal. (markt)
           fix	56029: A regression in the fix for 55198 meant that when EL=
    containing a ternary expression was used in an attribute a compilation=
    error would occur for some expressions. (markt)
           fix	Correct several errors in jspxml Schema and DTD. (kkolinko)=

           fix	Change default value of the blockExternal attribute of JspC=
    task. The default value is true. Add support for -no-blockExternal swi=
   tch when JspC is run as a standalone application. (kkolinko)

       Cluster

           code	Simplify the code of o.a.c.ha.tcp.SimpleTcpCluster.createM=
   anager(String). Remove unnecessary class cast. (kfujino)

       WebSocket

           fix	Do not return an empty string for the Sec-WebSocket-Protoco=
   l HTTP header when no sub-protocol has been requested or no sub-protoco=
   l could be agreed as RFC6455 requires that no Sec-WebSocket-Protocol he=
   ader is returned in this case. (markt)

       Web applications

           fix	Add index.xhtml to the welcome files list for the examples =
   web application. (kkolinko)
           fix	Clarify that the connectionTimeout may also be used as the =
   read timeout when reading a request body (if any) in the documentation =
   web application. (markt)
           fix	Clarify the behaviour of the maxConnections attribute for a=
    connector in the documentation web application. (markt)
           fix	55888: Update the documentation web application to make it =
   clearer that a Container may define no more than one Realm. (markt)
           fix	55956: Where available, displayed the forwarded remote IP a=
   ddress available on the status page of the Manager web application. (ma=
   rkt)
           fix	Correct links to the Tomcat mailing lists in the ROOT web a=
   pplication. (kkolinko)
           fix	In Manager web application improve handling of file upload =
   errors. Display a message instead of error 500 page. Simplify parts han=
   dling code, as it is known that Tomcat takes care of them when recyclin=
   g a request. (kkolinko)

       Extras

           fix	55166, 56045: Copy the XML schemas used for validation that=
    are packaged in jsp-api.jar to servlet-api.jar so that an embedded Tom=
   cat instance can start without Jasper being available. This also enable=
   s validation to work without Jasper being available. (markt/kkolinko)
           fix	56039: Enable the JmxRemoteLifecycleListener to work over S=
   SL. Patch by esengstrom. (markt)

       Other

           fix	55743: Enable the stop script to work when the shutdown por=
   t is disabled and a PID file is defined. This is only available on plat=
   forms that use catalina.sh. (markt)
           fix	55986: When forcing Tomcat to stop via kill -9 $CATALINA_PI=
   D, the catalina.sh script could incorrectly report that Tomcat had not =
   yet completely stopped when it had. Based on a patch by jess. (markt)
           fix	Package correct license and notice files with embedded JARs=
   . (markt)
           code	Remove svn keywords (such as $Id) from source files and do=
   cumentation. (kkolinko)
           fix	Fix CVE-2014-0050, a denial of service with a malicious, ma=
   lformed Content-Type header and multipart request processing. Fixed by =
   merging latest code (r1565163) from Commons FileUpload. (markt)
           fix	56115: Expose the httpusecaches property of Ant's get task =
   as some users may need to change the default. Based on a suggestion by =
   Anthony. (markt)

   Tomcat 7.0.50 (violetagg)	released 2014-01-08

       Catalina

           fix	Handle the case where a context.xml file is added to a web =
   application deployed from a directory. Previously the file was ignored =
   until Tomcat was restarted. Now (assuming automatic deployment is enabl=
   ed) it will trigger a redeploy of the web application. (markt)
           fix	Fix string comparison in HostConfig.setContextClass(). (kko=
   linko)
           code	Streamline handling of WebSocket messages when no handler =
   is configured for the message currently being received. (markt)
           fix	Handle the case where a WebSocket annotation configures a m=
   essage size limit larger than the default permitted by Tomcat. (markt)
           fix	55855: This is a partial fix that bypasses the relatively e=
   xpensive check for a WebSocket upgrade request if no WebSocket endpoint=
   s have been registered. (markt)
           fix	55905: Prevent a NPE when web.xml references a taglib file =
   that does not exist. Provide better error message. (violetagg)

       Coyote

           fix	When using the BIO connector with an internal executor, do =
   not display a warning that the executor has not shutdown as the default=
    configuration for BIO connectors is not to wait. This is because threa=
   ds in keep-alive connections cannot be interrupted and therefore the wa=
   rning was nearly always displayed. (markt)

       Jasper

           fix	JspC uses servlet context initialization parameters to pass=
    configuration so ensure that the servlet context used supports initial=
   ization parameters. (markt)

       Cluster

           fix	In AbstractReplicatedMap#finalize, remove rpcChannel from c=
   hannel Listener of group channel before sending MapMessage.MSG_STOP mes=
   sage. This prevents that the node that sent the MapMessage.MSG_STOP by =
   normal shutdown is added to member map again by ping at heartbeat threa=
   d in the node that received the MapMessage.MSG_STOP. (kfujino)
           fix	Add time stamp to GET_ALL_SESSIONS message. (kfujino)

       Web applications

           fix	Fix the sample configuration of StaticMembershipInterceptor=
    in order to prevent warning log. uniqueId must be 16 bytes. (kfujino)

       Extras

           update	Update dependencies that are used to build tomcat-juli e=
   xtras component. Apache Avalon Framework is updated to version 4.1.5, A=
   pache Log4J to version 1.2.17. (rjung)

   Tomcat 7.0.49 (violetagg)	not released

       Catalina

           fix	Correct a regression in the new XML local resolver that tri=
   ggered false failures when XML validation was configured. (markt)
           fix	Prevent a NPE when destroying HTTP upgrade handler for WebS=
   ocket connections. (violetagg)

   Tomcat 7.0.48 (violetagg)	not released

       Catalina

           add	51294: Add support for unpacking WARs located outside of th=
   e Host's appBase in to the appBase. (markt)
           fix	55656: Configure the Digester to use the server class loade=
   r when parsing server.xml rather than the class loader that loaded Stan=
   dardServer. Patch provided by Roberto Benedetti. (markt)
           fix	55664: Correctly handle JSR 356 WebSocket Encoder, Decoder =
   and MessageHandler implementations that use a generic type such as Enco=
   der.Text<List<String>>. Includes a test case by Niki Dokovski. (markt)
           fix	Correctly handle WebSocket Encoders, Decoders and MessageHa=
   ndlers that use arrays of generic types. (markt)
           fix	55681: Ensure that the WebSocket session is made available =
   to MessageHandler method calls. (markt)
           fix	Updated servlet spec version and documentation section-numb=
   er reported when JAR files are rejected for containing a trigger class =
   (e.g. javax.servlet.Servlet). (schultz)
           add	Modify the WebSocket handshake process so that the user pro=
   perties Map exposed by the ServerEndpointConfig during the call to Conf=
   igurator.modifyHandshake() is unique to the connection rather than shar=
   ed by all connections associated with the Endpoint. This allows for eas=
   ier configuration of per connection properties from within modifyHandsh=
   ake(). (markt)
           fix	55684: Log a warning but continue if the memory leak detect=
   ion code is unable to access all threads to check for possible memory l=
   eaks when a web application is stopped. (markt)
           fix	Define the web-fragment.xml in tomcat7-websocket.jar as a S=
   ervlet 3.0 web fragment rather than as a Servlet 3.1 web fragment. (mar=
   kt)
           fix	55715: Add a per web application executor to the WebSocket =
   implementation and use it for calling SendHandler.onResult() when there=
    is a chance that the current thread also initiated the write. (markt)
           fix	Prevent file descriptors leak and ensure that files are clo=
   sed when configuring the web application. (violetagg)
           fix	Fixed the name of the provider-configuration file located i=
   n tomcat7-websocket.jar!/META-INF/services that exposes information for=
    javax.websocket.server.ServerEndpointConfig$Configurator implementatio=
   n. (violetagg)
           fix	55760: Remove the unnecessary setting of the javax.security=
   .auth.useSubjectCredsOnly system property in the SpnegoAuthenticator as=
    in addition to it being unnecessary, it causes problems with using SPN=
   EGO with IBM JDKs. Patch provided by Arunav Sanyal. (markt)
           fix	55772: Ensure that the request and response are recycled af=
   ter an error during asynchronous processing. Includes a test case based=
    on code contributed by Todd West. (markt)
           fix	55778: Add an option to the JNDI Realm to control the QOP u=
   sed for the connection to the LDAP server after authentication when usi=
   ng SPNEGO with delegated credentials. This value is used to set the jav=
   ax.security.sasl.qop environment property for the LDAP connection. (mar=
   kt)
           fix	55798: Log an error if the MemoryUserDatabase is unable to =
   find the specified user database file. (markt)
           fix	55799: Correctly enforce the restriction in JSR356 that no =
   more than one data message may be sent to a remote WebSocket endpoint a=
   t a time. (markt)
           fix	When Catalina parses TLD files, always use a namespace awar=
   e parser to be consistent with how Jasper parses TLD files. The tldName=
   spaceAware attribute of the Context is now ignored. (markt)
           fix	Deprecate the tldNamespaceAware Context attribute as TLDs a=
   re always parsed with a namespace aware parser. (markt)
           fix	Correct a logic error that meant that unpackWARs was ignore=
   d and the WAR was always expanded if a WAR failed to deploy. (markt)
           add	Add support for defining copyXML on a per Context basis. (m=
   arkt)
           fix	Define the expected behaviour of the automatic deployment a=
   nd align the implementation to that definition. (markt)
           add	When running under a security manager, change the default v=
   alue of the Host's deployXML attribute to false. (markt)
           add	If a Host is configured with a value of false for deployXML=
   , a web application has an embedded descriptor at META-INF/context.xml =
   and no explicit descriptor has been defined for this application, do no=
   t allow the application to start. The reason for this is that the embed=
   ded descriptor may contain configuration necessary for secure operation=
    such as a RemoteAddrValve. (markt)
           fix	Prevent an NPE in the WebSocket ServerContainer when proces=
   sing an HTTP session end event. (markt)
           add	55801: Add the ability to set a custom SSLContext to use fo=
   r client wss connections. Patch provided by Maciej Lypik. (markt)
           fix	55804: If the GSSCredential for the cached Principal expire=
   s when using SPNEGO authentication, force a re-authentication. (markt)
           add	55811: If the main web.xml contains an empty absolute-order=
   ing element and validation of web.xml is not enabled, skip parsing any =
   web-fragment.xml files as the result is never used. (markt)
           fix	55839: Extend support for digest prefixes {MD5}, {SHA} and =
   {SSHA} to all Realms rather than just the JNDIRealm. (markt)
           fix	55842: Ensure that if a larger than default response buffer=
    is configured that the full buffer is used when a Servlet outputs via =
   a Writer. (markt)
           fix	55851: Further fixes to enable SPNEGO authentication to wor=
   k with IBM JDKs. Based on a patch by Arunav Sanyal. (markt)
           add	Fix CVE-2013-4590: Add an option to the Context to control =
   the blocking of XML external entities when parsing XML configuration fi=
   les and enable this blocking by default when a security manager is used=
   . The block is implemented via a custom resolver to enable the logging =
   of any blocked entities. (markt)

       Coyote

           code	Implement a number of small refactorings to the APR/native=
    handler for upgraded HTTP connections. (markt)
           fix	Fix an issue with upgraded HTTP connections over HTTPS (e.g=
   . secure WebSocket) when using the APR/native connector that resulted i=
   n the unexpected closure of the connection. (markt)
           fix	Ensure that the application class loader is used when calli=
   ng the ReadListener and WriteListener methods when using non-blocking I=
   O. A side effect of not doing this was that JNDI was not available when=
    processing WebSocket events. (markt)
           add	Make the time that the internal executor (if used) waits fo=
   r request processing threads to terminate before continuing with the co=
   nnector stop process configurable. (markt)
           fix	55749: Improve the error message when SSLEngine is disabled=
    in the AprLifecycleListener and SSL is configured for an APR/native co=
   nnector. (markt)
           add	If a request that includes an Expect: 100-continue header r=
   eceives anything other than a 2xx response, close the connection This p=
   rotects against misbehaving clients that may not sent the request body =
   in that case and send the next request instead. (markt)
           fix	Improve the parsing of trailing headers in HTTP requests. (=
   markt)

       Jasper

           fix	55735: Fix a regression caused by the fix to 55198. When pr=
   ocessing JSP documents, attributes in XML elements that are template co=
   ntent should have their text xml-escaped, but output of EL expressions =
   in them should not be escaped. (markt)
           fix	55807: The JSP compiler used a last modified time of -1 for=
    TLDs in JARs expanded in to WEB-INF/classes (IDEs often do this expans=
   ion) when creating the dependency list for JSPs that used that TLD. Thi=
   s meant JSPs using that TLD were recompiled on every access. (markt)

       Cluster

           add	Add log message that initialization of AbstractReplicatedMa=
   p has been completed. (kfujino)
           fix	The logger of AbstractReplicatedMap should be non-static in=
    order to enable logging of each application. Side-effects of this chan=
   ge is to throw RuntimeException in MapMessage#getKey() and getValue() i=
   nstead of Null return and error log. (kfujino)
           code	Simplify the code of DeltaManager#startInternal(). Reduce =
   unnecessary nesting for acquisition of cluster instance. (kfujino)
           fix	Remove unnecessary attributes of stateTransferCreateSendTim=
   e and receiverQueue from cluster manager template. These attributes sho=
   uld not be defined as a template. (kfujino)
           fix	Fix MBean attribute definition of stateTransfered. The meth=
   od name is not isStateTransfered() but getStateTransfered(). (kfujino)
           fix	Correct stop failure log of cluster. Failure cause is not o=
   nly Valve. (kfujino)
           fix	Remove unnecessary sleep when sending session blocks on ses=
   sion sync phase. (kfujino)
           fix	Expose stateTimestampDrop of org.apache.catalina.ha.session=
   .DeltaManager via JMX. (kfujino)
           fix	When the ping timeouted, make sure that memberDisappeared m=
   ethod is not called by specifying the members that has already been rem=
   oved. (kfujino)
           add	Add log message of session relocation when member disappear=
   ed. (kfujino)
           fix	If ping message fails, prevent wrong timeout detection of n=
   ormal member that is no failure members. (kfujino)

       Web applications

           add	Add some documentation on the SSL configuration options for=
    WebSocket clients. (markt)
           add	Add to cluster document a description of notifyLifecycleLis=
   tenerOnFailure and heartbeatBackgroundEnabled. (kfujino)
           fix	Update the documentation with information for WebSocket 1.0=
    specification and javadoc. (violetagg)
           fix	55703: Clarify the role of the singleton attribute for JNDI=
    resource factories. (markt)
           fix	55746: Add documentation on the allRolesMode to the Combine=
   dRealm and LockOutRealm. Patch by C=E9dric Couralet. (markt)
           add	Expand the information on web applications that ship as par=
   t of Tomcat in the security how-to section of the documentation web app=
   lication. (markt)
           fix	Expand the description of the WebSocket buffers in the docu=
   mentation web application to clarify their purpose. (markt)
           add	Correct the documentation for Cluster manager. (kfujino)
           add	Add information on how to configure integrated Windows auth=
   entication when Tomcat is running on a non-Windows host. (markt)

       Extras

           update	Update commons-logging to version 1.1.3. (rjung)

       Other

           add	52323: Add support for the Cobertura code coverage tool whe=
   n running the unit tests. Based on a patch by mhasko. (markt/kkolinko)
           update	Update sample Eclipse IDE project. Explicitly use a Java=
    6 SE JDK. Exclude JSR356 WebSocket classes from build path, as they ca=
   nnot be compiled with Java 6. (kkolinko)
           update	Update the Eclipse compiler to 4.3.1. (kkolinko/markt)

Revision 1.12 / (download) - annotate - [select for diffs], Tue Apr 8 20:14:55 2014 UTC (5 years, 1 month ago) by ryoon
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

Update to 7.0.53

* Fix CVE-2014-0050 and CVE-2013-4590,

Changelog:
Tomcat 7.0.53 (violetagg)

    Catalina

        add	Make it easier for applications embedding and/or extending Tomcat to modify the javaseClassLoader attribute of the WebappClassLoader. (markt)
        fix	Improve the robustness of web application undeployment based on some code analysis triggered by the report for 54315. (markt)
        fix	56219: Improve merging process for web.xml files to take account of the elements and attributes supported by the Servlet version of the merged file. (markt)
        fix	56190: The response should be closed (i.e. no further output is permitted) when a call to AsyncContext.complete() takes effect. (markt)
        fix	56236: Enable Tomcat to work with alternative Servlet and JSP API JARs that package the XML schemas in such as way as to require a dependency on the JSP API before enabling validation for web.xml. Tomcat has no such dependency. (markt)
        fix	56246: Fix NullPointerException in MemoryRealm when authenticating an unknown user. (markt)
        fix	56248: Allow the deployer to update an existing WAR file without undeploying the existing application if the update flag is set. This allows any existing custom context.xml for the application to be retained. To update an application and remove any existing context.xml simply undeploy the old version of the application before deploying the new version. (markt)
        fix	Redefine the globalXsltFile initialisation parameter of the DefaultServlet as relative to CATALINA_BASE/conf or CATALINA_HOME/conf. Prevent user supplied XSLTs used by the DefaultServlet from defining external entities. (markt)
        add	Add a work around for validating XML documents (often TLDs) that use just the file name to refer to refer to the JavaEE schema on which they are based. (markt)
        fix	56293: Cache resources loaded by the class loader from /META-INF/services/ for better performance for repeated look ups. (markt)

    Coyote

        fix	53119: Make sure the NIO AJP output buffer is cleared on any error to prevent any possible overflow if it is written to again before the connection is closed. This extends the original fix for the APR/native output buffer to the NIO connector. (kkolinko)
        fix	56172: Avoid possible request corruption when using the AJP NIO connector and a request is sent using more than one AJP message. Patch provided by Amund Elstad. (markt)
        fix	56213: Reduce garbage collection when the NIO connector is under heavy load. (markt)
        fix	Improve processing of chuck size from chunked headers. Avoid overflow and use a bit shift instead of a multiplication as it is marginally faster. (markt/kkolinko)
        fix	Fix possible overflow when parsing long values from a byte array. (markt)

    Jasper

        fix	54475: Add Java 8 support to SMAP generation for JSPs. Patch by Robbie Gibson. (markt)
        fix	55483: Improve handing of overloaded methods and constructors in expression language implementation. (markt)
        fix	56208: Restore the validateXml option to Jasper that was previously renamed validateTld. Both options are now supported. validateXml controls the validation of web.xml files when Jasper parses them and validateTld controls the validation of *.tld files when Jasper parses them. (markt)
        fix	56223: Throw an IllegalStateException if a call is made to ServletContext.setInitParameter() after the ServletContext has been initialized. (markt)
        fix	56265: Do not escape values of dynamic tag attributes containing EL expressions. (kkolinko)
        fix	Make the default compiler source and target versions for JSPs Java 6 since Tomcat 7 requires Java 6 as a minimum. (markt)
        update	56283: Update to the Eclipse JDT Compiler P20140317-1600 which adds support for Java 8 syntax to JSPs. Add support for value "1.8" for the compilerSourceVM and compilerTargetVM options. (markt)

    WebSocket

        fix	Avoid a possible deadlock when one thread is shutting down a connection while another thread is trying to write to it. (markt)
        fix	Call onError if an exception is thrown calling onClose when closing a session. (remm)

    Web applications

        code	In the documentation: add support for several documentation tags from Tomcat 8. Such as <version-major/>. (kkolinko)
        add	56093: Add the SSL Valve to the documentation web application. (markt)
        fix	56217: Improve readability by using left alignment for the table cell containing the request information on the Manager application status page. (markt)
        fix	Fixed java.lang.NegativeArraySizeException when using "Expire sessions" command in the manager web application on a context where the session timeout is disabled. (kfujino)
        fix	Add support for LAST_ACCESS_AT_START system property to Manager web application. (kfujino)
        fix	Add definition of org.apache.catalina.ant.FindLeaksTask. (kfujino)
        fix	56273: If the Manager web application does not perform an operation because the web application is already being serviced, report an error rather than reporting success. (markt)
        fix	56304: Add a note to the documentation about not using WebSocket with BIO HTTP in production. (markt)

    Other

        fix	56143: Improve service.bat so that it can be launched from a non-UAC console. This includes using a single call to tomcat7.exe to install the Windows service rather than three calls, and using command line arguments instead of environment variables to pass the settings. (markt/kkolinko)
        fix	Fix regression in 7.0.52: when using service.bat install to install the service the values for --StdOutput, --StdError options were passed as blank instead of "auto". (kkolinko)
        fix	Align options between service.bat and exe Windows installer. For service.bat the changes are in --Classpath, --DisplayName, --StartPath, --StopPath. For exe installer the changes are in --JvmMs, --JvmMx options, which are now 128 Mb and 256 Mb respectively instead of being empty. Explicitly specify --LogPath path when uninstalling Windows service, avoiding default value for that option. (kkolinko)
        code	Simplify Windows *.bat files: remove %OS% checks, as java 6 does not run on ancient non-NT operating systems. (kkolinko)
        fix	56137: Explicitly use the BIO connector in the SSL example in server.xml so it doesn't break if APR is enabled. (markt)
        fix	56139: Avoid a web application class loader leak in some unit tests when running on Windows. (markt)
        fix	Correct build script to avoid building JARs with empty packages. (markt)
        add	Allow to limit JUnit test run to a number of selected test case methods. (kkolinko)
        fix	56189: Remove used file cpappend.bat from the distribution. (markt)

Tomcat 7.0.52 (violetagg)	released 2014-02-17

    Catalina

        fix	Generate a valid root element for the effective web.xml for a web application for all supported versions of web.xml. (markt)

    Coyote

        code	Pull up SocketWrapper to AbstractProcessor. (markt)
        fix	In some circumstances asynchronous requests could time out too soon. (markt)

Tomcat 7.0.51 (violetagg)	not released

    Catalina

        fix	55287: ServletContainerInitializer defined in the container may not be found. (markt/jboynes)
        fix	55855: Provide a per Context option (containerSciFilter) to exclude container SCIs. (markt)
        fix	55937: When deploying applications, treat a context path of /ROOT as equivalent to /. (markt)
        fix	55943: Improve the implementation of the class loader check that prevents web applications from trying to override J2SE implementation classes. As part of this fix, refactor the way a null parent class loader is handled which enables a number of null checks and object creation calls to be removed. (markt)
        fix	55958: Differentiate between foo.war the WAR file and foo.war the directory. (markt)
        fix	55960: Improve the single sign on (SSO) unit tests. Patch provided by Brian Burch. (markt)
        fix	55974: Retain order when reporting errors and warnings while parsing XML configuration files. (markt)
        fix	56013: Fix issue with SPNEGO authentication when using IBM JREs. IBM JREs only understand the option of infinite lifetime for Kerberos credentials. Based on a patch provided by Arunav Sanyal. (markt)
        fix	56016: When loading resources for XML schema validation, take account of the possibility that servlet-api.jar and jsp-api.jar may not be loaded by the same class loader. Patch by Juan Carlos Estibariz. (markt)
        fix	56025: When creating a WebSocket connection, always call ServerEndpointConfig.Configurator.getNegotiatedSubprotocol() and always create the EndPoint instance after calling ServerEndpointConfig.Configurator.modifyHandshake(). (markt)
        fix	56032: Ensure that the WebSocket connection is closed after an IO error or an interrupt while sending a WebSocket message. (markt)
        fix	56042: If a request in async mode has an error but has already been dispatched don't generate an error page in the ErrorReportValve so the dispatch target can handle it. (markt)
        fix	Add missing javax.annotation.sql.* classes to annotations-api.jar. (markt)
        fix	The type of logger attribute of Context MBean should be not org.apache.commons.logging.Log but org.apache.juli.logging.Log. (kfujino)
        fix	56082: Fix a concurrency bug in JULI's LogManager implementation. (markt)
        fix	56096: When the attribute rmiBindAddress of the JMX Remote Lifecycle Listener is specified it's value will be used when constructing the address of a JMX API connector server. Patch is provided by Jim Talbut. (violetagg)
        fix	When environment entry with one and the same name is defined in the web deployment descriptor and with annotation then the one specified in the web deployment descriptor is with priority. (violetagg)
        fix	Change default value of xmlBlockExternal attribute of Context. It is true now. (kkolinko)

    Coyote

        fix	Avoid possible NPE if a content type is specified without a character set. (markt)
        fix	55956: Make the forwarded remote IP address available to the Connectors via a request attribute. (markt)
        fix	55976: Fix sendfile support for the HTTP NIO connector. (markt)
        fix	55996: Ensure Async requests timeout correctly when using the NIO HTTP connector. (markt)
        add	56021: Make it possible to use the Windows-MY key store with the BIO and NIO connectors for SSL configuration. It requires a keystoreFile="" keystoreType="Windows-My" to be set on the connector. Based on a patch provided by Asanka. (markt)

    Jasper

        fix	Correct a regression in the XML refactoring that meant that errors in TLD files were swallowed. (markt)
        fix	55671: Correct typo in the log message for a wrong value of genStringAsCharArray init-param of JspServlet. This parameter had a different name in Tomcat 6. (kkolinko)
        fix	55973: Fix processing of XML schemas when validation is enabled in Jasper. (kkolinko)
        fix	56010: Don't throw an IllegalArgumentException when JspFactory.getPageContext is used with JspWriter.DEFAULT_BUFFER. Based on a patch by Eugene Chung. (markt)
        fix	56012: When using the extends attribute of the page directive do not import the super class if it is in an unnamed package as imports from unnamed packages are now explicitly illegal. (markt)
        fix	56029: A regression in the fix for 55198 meant that when EL containing a ternary expression was used in an attribute a compilation error would occur for some expressions. (markt)
        fix	Correct several errors in jspxml Schema and DTD. (kkolinko)
        fix	Change default value of the blockExternal attribute of JspC task. The default value is true. Add support for -no-blockExternal switch when JspC is run as a standalone application. (kkolinko)

    Cluster

        code	Simplify the code of o.a.c.ha.tcp.SimpleTcpCluster.createManager(String). Remove unnecessary class cast. (kfujino)

    WebSocket

        fix	Do not return an empty string for the Sec-WebSocket-Protocol HTTP header when no sub-protocol has been requested or no sub-protocol could be agreed as RFC6455 requires that no Sec-WebSocket-Protocol header is returned in this case. (markt)

    Web applications

        fix	Add index.xhtml to the welcome files list for the examples web application. (kkolinko)
        fix	Clarify that the connectionTimeout may also be used as the read timeout when reading a request body (if any) in the documentation web application. (markt)
        fix	Clarify the behaviour of the maxConnections attribute for a connector in the documentation web application. (markt)
        fix	55888: Update the documentation web application to make it clearer that a Container may define no more than one Realm. (markt)
        fix	55956: Where available, displayed the forwarded remote IP address available on the status page of the Manager web application. (markt)
        fix	Correct links to the Tomcat mailing lists in the ROOT web application. (kkolinko)
        fix	In Manager web application improve handling of file upload errors. Display a message instead of error 500 page. Simplify parts handling code, as it is known that Tomcat takes care of them when recycling a request. (kkolinko)

    Extras

        fix	55166, 56045: Copy the XML schemas used for validation that are packaged in jsp-api.jar to servlet-api.jar so that an embedded Tomcat instance can start without Jasper being available. This also enables validation to work without Jasper being available. (markt/kkolinko)
        fix	56039: Enable the JmxRemoteLifecycleListener to work over SSL. Patch by esengstrom. (markt)

    Other

        fix	55743: Enable the stop script to work when the shutdown port is disabled and a PID file is defined. This is only available on platforms that use catalina.sh. (markt)
        fix	55986: When forcing Tomcat to stop via kill -9 $CATALINA_PID, the catalina.sh script could incorrectly report that Tomcat had not yet completely stopped when it had. Based on a patch by jess. (markt)
        fix	Package correct license and notice files with embedded JARs. (markt)
        code	Remove svn keywords (such as $Id) from source files and documentation. (kkolinko)
        fix	Fix CVE-2014-0050, a denial of service with a malicious, malformed Content-Type header and multipart request processing. Fixed by merging latest code (r1565163) from Commons FileUpload. (markt)
        fix	56115: Expose the httpusecaches property of Ant's get task as some users may need to change the default. Based on a suggestion by Anthony. (markt)

Tomcat 7.0.50 (violetagg)	released 2014-01-08

    Catalina

        fix	Handle the case where a context.xml file is added to a web application deployed from a directory. Previously the file was ignored until Tomcat was restarted. Now (assuming automatic deployment is enabled) it will trigger a redeploy of the web application. (markt)
        fix	Fix string comparison in HostConfig.setContextClass(). (kkolinko)
        code	Streamline handling of WebSocket messages when no handler is configured for the message currently being received. (markt)
        fix	Handle the case where a WebSocket annotation configures a message size limit larger than the default permitted by Tomcat. (markt)
        fix	55855: This is a partial fix that bypasses the relatively expensive check for a WebSocket upgrade request if no WebSocket endpoints have been registered. (markt)
        fix	55905: Prevent a NPE when web.xml references a taglib file that does not exist. Provide better error message. (violetagg)

    Coyote

        fix	When using the BIO connector with an internal executor, do not display a warning that the executor has not shutdown as the default configuration for BIO connectors is not to wait. This is because threads in keep-alive connections cannot be interrupted and therefore the warning was nearly always displayed. (markt)

    Jasper

        fix	JspC uses servlet context initialization parameters to pass configuration so ensure that the servlet context used supports initialization parameters. (markt)

    Cluster

        fix	In AbstractReplicatedMap#finalize, remove rpcChannel from channel Listener of group channel before sending MapMessage.MSG_STOP message. This prevents that the node that sent the MapMessage.MSG_STOP by normal shutdown is added to member map again by ping at heartbeat thread in the node that received the MapMessage.MSG_STOP. (kfujino)
        fix	Add time stamp to GET_ALL_SESSIONS message. (kfujino)

    Web applications

        fix	Fix the sample configuration of StaticMembershipInterceptor in order to prevent warning log. uniqueId must be 16 bytes. (kfujino)

    Extras

        update	Update dependencies that are used to build tomcat-juli extras component. Apache Avalon Framework is updated to version 4.1.5, Apache Log4J to version 1.2.17. (rjung)

Tomcat 7.0.49 (violetagg)	not released

    Catalina

        fix	Correct a regression in the new XML local resolver that triggered false failures when XML validation was configured. (markt)
        fix	Prevent a NPE when destroying HTTP upgrade handler for WebSocket connections. (violetagg)

Tomcat 7.0.48 (violetagg)	not released

    Catalina

        add	51294: Add support for unpacking WARs located outside of the Host's appBase in to the appBase. (markt)
        fix	55656: Configure the Digester to use the server class loader when parsing server.xml rather than the class loader that loaded StandardServer. Patch provided by Roberto Benedetti. (markt)
        fix	55664: Correctly handle JSR 356 WebSocket Encoder, Decoder and MessageHandler implementations that use a generic type such as Encoder.Text<List<String>>. Includes a test case by Niki Dokovski. (markt)
        fix	Correctly handle WebSocket Encoders, Decoders and MessageHandlers that use arrays of generic types. (markt)
        fix	55681: Ensure that the WebSocket session is made available to MessageHandler method calls. (markt)
        fix	Updated servlet spec version and documentation section-number reported when JAR files are rejected for containing a trigger class (e.g. javax.servlet.Servlet). (schultz)
        add	Modify the WebSocket handshake process so that the user properties Map exposed by the ServerEndpointConfig during the call to Configurator.modifyHandshake() is unique to the connection rather than shared by all connections associated with the Endpoint. This allows for easier configuration of per connection properties from within modifyHandshake(). (markt)
        fix	55684: Log a warning but continue if the memory leak detection code is unable to access all threads to check for possible memory leaks when a web application is stopped. (markt)
        fix	Define the web-fragment.xml in tomcat7-websocket.jar as a Servlet 3.0 web fragment rather than as a Servlet 3.1 web fragment. (markt)
        fix	55715: Add a per web application executor to the WebSocket implementation and use it for calling SendHandler.onResult() when there is a chance that the current thread also initiated the write. (markt)
        fix	Prevent file descriptors leak and ensure that files are closed when configuring the web application. (violetagg)
        fix	Fixed the name of the provider-configuration file located in tomcat7-websocket.jar!/META-INF/services that exposes information for javax.websocket.server.ServerEndpointConfig$Configurator implementation. (violetagg)
        fix	55760: Remove the unnecessary setting of the javax.security.auth.useSubjectCredsOnly system property in the SpnegoAuthenticator as in addition to it being unnecessary, it causes problems with using SPNEGO with IBM JDKs. Patch provided by Arunav Sanyal. (markt)
        fix	55772: Ensure that the request and response are recycled after an error during asynchronous processing. Includes a test case based on code contributed by Todd West. (markt)
        fix	55778: Add an option to the JNDI Realm to control the QOP used for the connection to the LDAP server after authentication when using SPNEGO with delegated credentials. This value is used to set the javax.security.sasl.qop environment property for the LDAP connection. (markt)
        fix	55798: Log an error if the MemoryUserDatabase is unable to find the specified user database file. (markt)
        fix	55799: Correctly enforce the restriction in JSR356 that no more than one data message may be sent to a remote WebSocket endpoint at a time. (markt)
        fix	When Catalina parses TLD files, always use a namespace aware parser to be consistent with how Jasper parses TLD files. The tldNamespaceAware attribute of the Context is now ignored. (markt)
        fix	Deprecate the tldNamespaceAware Context attribute as TLDs are always parsed with a namespace aware parser. (markt)
        fix	Correct a logic error that meant that unpackWARs was ignored and the WAR was always expanded if a WAR failed to deploy. (markt)
        add	Add support for defining copyXML on a per Context basis. (markt)
        fix	Define the expected behaviour of the automatic deployment and align the implementation to that definition. (markt)
        add	When running under a security manager, change the default value of the Host's deployXML attribute to false. (markt)
        add	If a Host is configured with a value of false for deployXML, a web application has an embedded descriptor at META-INF/context.xml and no explicit descriptor has been defined for this application, do not allow the application to start. The reason for this is that the embedded descriptor may contain configuration necessary for secure operation such as a RemoteAddrValve. (markt)
        fix	Prevent an NPE in the WebSocket ServerContainer when processing an HTTP session end event. (markt)
        add	55801: Add the ability to set a custom SSLContext to use for client wss connections. Patch provided by Maciej Lypik. (markt)
        fix	55804: If the GSSCredential for the cached Principal expires when using SPNEGO authentication, force a re-authentication. (markt)
        add	55811: If the main web.xml contains an empty absolute-ordering element and validation of web.xml is not enabled, skip parsing any web-fragment.xml files as the result is never used. (markt)
        fix	55839: Extend support for digest prefixes {MD5}, {SHA} and {SSHA} to all Realms rather than just the JNDIRealm. (markt)
        fix	55842: Ensure that if a larger than default response buffer is configured that the full buffer is used when a Servlet outputs via a Writer. (markt)
        fix	55851: Further fixes to enable SPNEGO authentication to work with IBM JDKs. Based on a patch by Arunav Sanyal. (markt)
        add	Fix CVE-2013-4590: Add an option to the Context to control the blocking of XML external entities when parsing XML configuration files and enable this blocking by default when a security manager is used. The block is implemented via a custom resolver to enable the logging of any blocked entities. (markt)

    Coyote

        code	Implement a number of small refactorings to the APR/native handler for upgraded HTTP connections. (markt)
        fix	Fix an issue with upgraded HTTP connections over HTTPS (e.g. secure WebSocket) when using the APR/native connector that resulted in the unexpected closure of the connection. (markt)
        fix	Ensure that the application class loader is used when calling the ReadListener and WriteListener methods when using non-blocking IO. A side effect of not doing this was that JNDI was not available when processing WebSocket events. (markt)
        add	Make the time that the internal executor (if used) waits for request processing threads to terminate before continuing with the connector stop process configurable. (markt)
        fix	55749: Improve the error message when SSLEngine is disabled in the AprLifecycleListener and SSL is configured for an APR/native connector. (markt)
        add	If a request that includes an Expect: 100-continue header receives anything other than a 2xx response, close the connection This protects against misbehaving clients that may not sent the request body in that case and send the next request instead. (markt)
        fix	Improve the parsing of trailing headers in HTTP requests. (markt)

    Jasper

        fix	55735: Fix a regression caused by the fix to 55198. When processing JSP documents, attributes in XML elements that are template content should have their text xml-escaped, but output of EL expressions in them should not be escaped. (markt)
        fix	55807: The JSP compiler used a last modified time of -1 for TLDs in JARs expanded in to WEB-INF/classes (IDEs often do this expansion) when creating the dependency list for JSPs that used that TLD. This meant JSPs using that TLD were recompiled on every access. (markt)

    Cluster

        add	Add log message that initialization of AbstractReplicatedMap has been completed. (kfujino)
        fix	The logger of AbstractReplicatedMap should be non-static in order to enable logging of each application. Side-effects of this change is to throw RuntimeException in MapMessage#getKey() and getValue() instead of Null return and error log. (kfujino)
        code	Simplify the code of DeltaManager#startInternal(). Reduce unnecessary nesting for acquisition of cluster instance. (kfujino)
        fix	Remove unnecessary attributes of stateTransferCreateSendTime and receiverQueue from cluster manager template. These attributes should not be defined as a template. (kfujino)
        fix	Fix MBean attribute definition of stateTransfered. The method name is not isStateTransfered() but getStateTransfered(). (kfujino)
        fix	Correct stop failure log of cluster. Failure cause is not only Valve. (kfujino)
        fix	Remove unnecessary sleep when sending session blocks on session sync phase. (kfujino)
        fix	Expose stateTimestampDrop of org.apache.catalina.ha.session.DeltaManager via JMX. (kfujino)
        fix	When the ping timeouted, make sure that memberDisappeared method is not called by specifying the members that has already been removed. (kfujino)
        add	Add log message of session relocation when member disappeared. (kfujino)
        fix	If ping message fails, prevent wrong timeout detection of normal member that is no failure members. (kfujino)

    Web applications

        add	Add some documentation on the SSL configuration options for WebSocket clients. (markt)
        add	Add to cluster document a description of notifyLifecycleListenerOnFailure and heartbeatBackgroundEnabled. (kfujino)
        fix	Update the documentation with information for WebSocket 1.0 specification and javadoc. (violetagg)
        fix	55703: Clarify the role of the singleton attribute for JNDI resource factories. (markt)
        fix	55746: Add documentation on the allRolesMode to the CombinedRealm and LockOutRealm. Patch by Cédric Couralet. (markt)
        add	Expand the information on web applications that ship as part of Tomcat in the security how-to section of the documentation web application. (markt)
        fix	Expand the description of the WebSocket buffers in the documentation web application to clarify their purpose. (markt)
        add	Correct the documentation for Cluster manager. (kfujino)
        add	Add information on how to configure integrated Windows authentication when Tomcat is running on a non-Windows host. (markt)

    Extras

        update	Update commons-logging to version 1.1.3. (rjung)

    Other

        add	52323: Add support for the Cobertura code coverage tool when running the unit tests. Based on a patch by mhasko. (markt/kkolinko)
        update	Update sample Eclipse IDE project. Explicitly use a Java 6 SE JDK. Exclude JSR356 WebSocket classes from build path, as they cannot be compiled with Java 6. (kkolinko)
        update	Update the Eclipse compiler to 4.3.1. (kkolinko/markt)

Revision 1.11 / (download) - annotate - [select for diffs], Sun Nov 24 04:44:51 2013 UTC (5 years, 5 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2013Q4-base, pkgsrc-2013Q4
Branch point for: pkgsrc-2014Q1
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

Update to 7.0.47

Changelog:
 The Apache Tomcat Project is proud to announce the release of version 7.0.47 of Apache Tomcat. This release contains a number of bug fixes and improvements compared to version 7.0.42. The notable changes include:

    Back-port the JSR-356 Java WebSocket 1.0 implementation from Apache Tomcat 8. Note that use of this functionality requires Java 7.
    Deprecate the Apache Tomcat proprietary WebSocket API in favour of the new JSR-356 implementation.
    Add a drawing board example to the WebSocket examples.
    The minimum required APR/native library version required if the APR/native connector is used is now 1.1.29.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jul 8 14:26:15 2013 UTC (5 years, 10 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Updte to 7.0.42

Changelog:
    Add support for time to first byte in the AccessLogValve. Patch provided by Jeremy Boynes.
    Correct a regression introduced in 7.0.39 (refactoring of base 64 encoding and decoding) that broke the JNDI Realm when userPassword was set and passwords were hashed with MD5 or SHA1.
    Ensure that the build process produces Javadoc that is not vulnerable to CVE-2013-1571. Based on a patch by Uwe Schindler.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 17 15:07:54 2013 UTC (5 years, 11 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

Updte to 7.0.41

Changelog:
    Add a Servlet Filter that implements CORS. Patch provided by Mohit Soni.
    Ensure that when Tomcat's anti-resource locking features are used that the temporary copy of the web application and not the original is removed when the web application stops.
    Add support for the version attribute to the deploy command of the Ant tasks for interfacing with the text based Manager application. Patch provided by Sergey Tcherednichenko.

Revision 1.8 / (download) - annotate - [select for diffs], Sun May 19 13:05:46 2013 UTC (6 years ago) by ryoon
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

Update to 7.0.40

Changelog:
Tomcat 7.0.40 Released	2013-05-09

    The Apache Tomcat Project is proud to announce the release of version 7.0.40 of Apache Tomcat. This release contains a security fix and a number of bug fixes and improvements compared to version 7.0.39. The notable changes include:

        A fix for CVE-2013-2071 (bug 54178) an information disclosure issue.
        Various fixes to stop Tomcat attempting to parse text that looks like an EL expression in a JSP document as an EL expression when EL expressions are either not permitted or not enabled.
        Improved handling and reporting if a ConcurrentModificationException occurs while checking for memory leaks when a web application is being stopped.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Apr 25 14:30:35 2013 UTC (6 years ago) by ryoon
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Update to 7.0.39

Changelog:
    There have been multiple improvements in the bytes to/from characters conversion process. The core conversion process has been refactored to use the NIO APIs. This has resulted in a number of improvements including invalid UTF-8 byte sequences at the end of a series of bytes now trigger a conversion error rather than being silently swallowed. Errors detected in request URIs will be replaced with the replacement character (allowing the application to respond to the invalid URI as it wishes) and errors in request bodies will trigger an IOException. The use of the JVM provided UTF-8 decoder has been replaced by a better UTF-8 decoder derived from Apache Harmony. This improved decoder has earlier detection of error conditions and more closely follows the Unicode specification regarding the use of replacement characters.

    The annotation scanning process now provides more information if the scan fails due to broken class dependencies. There is now enough information to identify the class(es) at fault. The JAR scanning process that supports annotation scanning has also seen multiple improvements and fixes including the exclusion by default of the Bootstrap class path from the scan.

    Upgraded a number of Tomcat's dependencies including Commons Daemon to 1.0.14, Commons IO to 2.4 and Commons FileUpload to r1458500. A new dependency on Commons Codec was added to replace Tomcat's internal Base64 encoder/decoder.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 25 21:09:26 2013 UTC (6 years, 3 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

Update to 7.0.35

Changelog:
Tomcat 7.0.35 (markt)

    Catalina
        fix	54247: Prevent ClassNotFoundExceptions on stop when running as a service. (markt)
        fix	54249: Ensure resource properties are available when the context path contains encoded characters such as a space. This triggered compilation issues in Jasper. Patch provided by Polina Genova. (markt)
        fix	54256: Improve error reporting when a JAR file fails extension validation by including the name of the JAR file in the exception. (markt)
        fix	Allow web applications to be stopped cleanly even if filters throw exceptions when their destroy() method is called. (markt/kkolinko)
        fix	Fix memory leak of servlet instances when running with a SecurityManager and either init() or destroy() methods fail or the servlet is a SingleThreadModel one. (kkolinko)
        code	Cleanup method cache lookup code in SecurityUtil class. (kkolinko)
        add	Make the Tomcat 7 non-JSR356 WebSocket implementation non-blocking (where supported by the connector) between the HTTP upgrade and the first WebSocket message from the client to the server. (markt)
        fix	54262: Ensure that an empty <absolute-ordering /> element in the main web.xml file disables scanning for web fragments. Based on a patch by Violeta Georgieva. (markt)
        fix	54284: As per clarification from the Servlet EG, anonymous Filters and Servlets are not permitted. Patch by Violeta Georgieva. (markt)
        fix	54371: Prevent exceptions when processing web fragments for unexpanded WAR files when the context path contains characters that need to be encoded in URLs such as spaces. Based on a patch by Polina Genova. (markt)
        add	54372: Make HTTP Digest authentication header parsing tolerant of invalid headers sent by known buggy clients. (markt)
        fix	54377: Correctly set request attributes for AccessLog in RemoteIpFilter. Patch by Violeta Georgieva. (markt)
        fix	54379: Implement support for post-construct and pre-destroy elements in web.xml. Patch by Violeta Georgieva. (markt)
        fix	54380: Do not try to register servlets or contexts into the mapper too early (which just caused a warning to be logged). (kkolinko)
        fix	Fix NPE in WebappLoader.stopInternal when stop is called after a failed start. (kkolinko)
        add	54381: Add support for receiving WebSocket pong messages. (markt)
        fix	54382: Fix NPE when SSI processing is enabled and an empty SSI directive is present. (markt)
        fix	Fix ArrayIndexOutOfBoundsException in HttpParser when parsing incorrect HTTP headers. (kkolinko)
        fix	54387: Deployment must fail when multiple servlets are mapped to the same url-pattern. (markt)
        fix	54391: Provide a value for the javax.servlet.context.orderedLibs attribute. (markt)

    Coyote
        fix	54248: Ensure that byte order marks are swallowed when using a Reader to read a request body with a BOM for those encodings that require byte order marks. (markt)
        fix	Fix release of processors in AjpNioProtocol. Wrong object was used as a key in the connections map. (kkolinko)

    Jasper
        add	54240: Add support for auto-detection and configuration of JARs on the classpath that provide tag plug-in implementations. Based on a patch by Sheldon Shao. (markt)
        fix	54241: Revert the fix for 35410 as it was not compliant with the JSP specification, specifically that <%= obj %> must be translated to out.print(obj) which in turn becomes out.write(String.valueOf(obj)). This will trigger a NullPointerException if obj.toString() returns null. The fix for 35410 incorrectly suppressed the NullPointerException in this case. (markt)
        fix	54242: Correct handle null iterations with in the JSTL ForEach tag plug-in implementation. Patch provided by Sheldon Shao. (markt)
        fix	54260: Avoid NullPointerException when using JSP unloading and tag files. (markt)
        fix	54370: Improve handling of nulls when trying to match sets of parameters to a method in EL. (markt)
        fix	54338: Correctly coerce the value to the expected type when using the tag plug-in for the JSTL set tag. Patch provided by Sheldon Shao. (markt)

    Web applications
        fix	54244: Clarify the documentation for the BIO and NIO SSL configuration attributes sslEnabledProtocols and sslProtocol within the documentation web application. (markt)
        add	Integrate documentation of Tomcat 7 with Apache Comments System. People can leave their comments when reading documentation online at the tomcat.apache.org site. (rjung)

    Other
        fix	54390: Use 'java_home' on Mac OS X to auto-detect JAVA_HOME. (schultz)

Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 16 10:37:32 2012 UTC (6 years, 5 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

Update to 7.0.34

* CVE-2012-4431 is fixed in 7.0.32

Changelog:
Tomcat 7.0.34 (markt)	2012-12-12

    Catalina

        fix	53871: Improve error message if annotation scanning fails during web application start due to poor configuration or illegal cyclic inheritance with the application's classes. (markt)
        fix	Fix unit test for AccessLogValve when using non-GMT time zone. (rjung)
        fix	54170: Ensure correct registration of Filters and Servlets in the JMX registry if the Filter or Servlet name includes a character that must be quoted if used in an ObjectName value. (markt)
        add	Add new attribute renameOnRotate to the AccessLogValve. (rjung)
        fix	54190: Correct unit tests for BASIC authentication so that session timeout is correctly tested. Also refactor unit test to make it easier to add additional tests. Patch by Brian Burch. (markt)
        fix	54220: Ensure the ErrorReportValve only generates an error report if the error flag on the response has been set. (markt)
        fix	Simplify time zone handling in the access log valve and correctly handle various edge cases for non-standard DST changes. (markt)

    Web applications

        fix	54198: Clarify that HttpServletResponse.sendError(int) results in an HTML response by default. (markt)
        fix	54207: Correct JNDI factory package name in Javadoc for org.apache.naming.java.javaURLContextFactory. (markt)

    jdbc-pool

        code	Fix a handful of Eclipse warnings in the JDBC pool source code including the warnings reported in 53565. (markt)
        fix	54150: Make sure that SlowQueryReportJmx mbean deregistered during webapp shutdown. Reported by Alex Franken. (kfujino)
        fix	54194: Make sure that connection pool mbean is not registered when jmxEnabled is false. Patch provided by tobias.gierke. (kfujino)

    Other

        update	Update to Eclipse JDT Compiler 4.2.1. (markt)

Tomcat 7.0.33 (markt)	2012-11-21

    Catalina

        add	53960, 54115: Extensions to HttpClient test helper class. Patches by Brian Burch. (markt/kkolinko)
        fix	53993: Avoid a possible NPE in the AccessLogValve when the session ID is logged and a session is invalidated. (markt)
        fix	Add support for LAST_ACCESS_AT_START system property to PersistentManager. (kfujino)
        add	Update MIME type mapping with additional / updated mime.types from the Apache web server. (markt)
        fix	54007: Fix a memory leak that prevented deletion of a context.xml file associated with a Context that had failed to deploy. Also fix the problems uncovered with undeploying such a Context once the leak had been fixed and the file could be deleted. (markt)
        fix	54044: Correct bug in timestamp cache used by logging (including the access log valve) that meant entries could be made with an earlier timestamp than the true timestamp. (markt)
        fix	54054: Do not share shell environment variables between multiple instances of the CGI servlet. (markt)
        fix	54060: Use a simple parser rather than a regular expression to parse HTTP Digest authentication headers so the header is correctly parsed. The new approach is also faster and generates less garbage. (markt)
        fix	54068: Rewrite the web fragment ordering algorithm to resolve multiple issues that resulted in incorrect ordering or failure to find a correct, valid order. (markt)
        update	The HTTP header parser added to address 52811 has been removed and replaced with the light-weight HTTP header parser created to address 54060. The new parser includes a work-around for a bug in the Adobe Acrobat Reader 9.x plug-in for Microsoft Internet Explorer that was identified when the old parser was introduced (53814).
        fix	54076: Add an alternative work-around for clients that use SPNEGO authentication and expect the authenticated user to be cached per connection (Tomcat only does this if an HTTP session is available). (markt)
        fix	54087: Correctly handle (ignore) invalid If-Modified-Since header rather than throwing an exception. (markt)
        fix	54096: In web.xml, <env-entry> should accept any type that has a constructor that takes a single String or char. (markt)
        add	54127: Add support for sending a WebSocket Ping. Patch provided by Sean Winterberger. (markt)
        fix	In FormAuthenticator: If it is configured to change Session IDs, do the change before displaying the login form. (kkolinko)
        fix	Ensure AsyncListener.timeout() and AsyncListener.complete() are called with the correct thread context class loader. (fhanik)
        fix	54123: If an asynchronous request times out without any AsyncListeners defined, a 500 error will be triggered. (markt)
        fix	54124: Correct provided value of request attribute javax.servlet.async.request_uri and add missing request attribute javax.servlet.async.path_info. (markt)
        add	Add denyStatus initialization parameter to CsrfPreventionFilter, allowing to customize the HTTP status code used for denied requests. (kkolinko)
        fix	54141: Increase the permitted number of nested Realm levels from 2 to 3 by default and make the limit configurable via a system property. (markt)
        fix	Revert occasional API change in BaseDirContext class that was done in 7.0.32. Methods should not be final. (kkolinko)
        fix	Prevent failures in the AccessLogValve when running under a SecurityManager and the first request received is an asynchronous one. (markt)

    Coyote

        fix	Correct an issue that prevented WebSockets from being used over SSL when using the HTTP NIO connector. (markt)
        fix	54022: Ensure the Comet END event is triggered on client disconnect with APR/native on Windows Vista/2k8 or later. Patch provided by Douglas Beachy. (markt)
        fix	54067: Ensure responses with 1xx response codes are correctly marked as not containing an entity body. This caused an issue for some WebSocket clients when an Transfer-Encoding header was sent with the 101 (HTTP upgrade) response. (markt)

    Jasper

        code	53867: Optimise the XML escaping provided by the PageContext implementation. Based on a patch by Sheldon Shao. (markt)
        code	53896: Use an optimised CompositeELResolver for Jasper that skips resolvers that are known to be unable to resolve the value. Patch by Jarek Gawor. (markt)
        fix	53986: Correct a regression introduced by the fix for 53713. JSP comments that ended with the sequence ---%> (or any similar sequence with a odd number of - characters) was not correctly parsed. (markt)
        fix	54011: Fix a bug in the tag plug-in for <c:out> that triggered a JSP compilation error if the escapeXml attribute was used. Patch provided by Sheldon Shao. (markt)
        code	Follow up to 5401. Simplify generated code for <c:out>. Based on a patch by Sheldon Shao. (markt)
        fix	54012: Fix a bug in the tag plug-in infrastructure that meant the <c:set> triggered a JSP compilation error when used in a tag file. Based on a patch provided byx	54144: Fix a bug in the tag plug-in for <c:out> that meant that if the value of the tag evaluated to a java.io.Reader object then it was not correctly handled. (markt)

    Cluster

        fix	Add getSessionIdsFull operation to mbeans-descriptor. listSpplications

        add	54143: Add display of the memory pools usage (including PermGen) to the Status page of the Manager web application. (kkolinko)

    Tribes

        fix	54045: Make sure getMembers() returns available member when TcpFailureDetector   fix	Revert multiple operation support for the JMXProxyServlet pending further discussion. (schultz)
        fix	CVE-2012-4431: Fix bypass of CsrfPreventionFilter when there is no session. Improve session management in the filter. (kkolinko)

    Web apit servlets (JSP and default) are marked as override-able when using embedded mode. (markt)
        fix	When the DefaultServlet is under heavy load, the HTTP header parser added to address 52811 generates large amounts of garbage and uses significant CPU time. A cache has been added that significantly reduces the overhead of this parser. (markt)
        fix	53854: Make directory listings work correctly when aliases are used. (markt)

    Jasper

        code	53713: Performance improvement of up to four times faster parsing of JSP pages. Patch provided by Sheldon Shao. (markt)

    Cluster

        add	Make the cluster members and the cluster deployer associated with the cluster accessible via JMX. (markt)
        fix	Fix a behavior of TcpPingInterceptor#uhread. If set to false, ping thread is never started. (kfujino)

    Web applications

        add	Improve the documentation web application to clarify the difference between the tag and version parameters when using text interface of the Manager web application. (markt)
        add	Make sessions saved in the Store associated with a Manager that extends PersistentManager optionally visible (via the showProxySessions Servlet initialisation parameter in web.xml) to the Manager web application. (markt)

Revision 1.4 / (download) - annotate - [select for diffs], Sat Oct 6 12:05:24 2012 UTC (6 years, 7 months ago) by ryoon
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

Update to 7.0.30

Changelog:
The Apache Tomcat Project is proud to announce the release of version 7.0.30
of Apache Tomcat. This release contains numerous bug fixes and improvements
compared to version 7.0.29. The notable changes include:

* Significantly reduced memory footprint during web application start while
  Servlet 3.0 annotation and SCI scanning is in progress.
* Adds support for scanning of classes that use Java 7 specific byte code
  for Servlet 3.0 annotation and SCI scanning.
* Improvements to DIGEST and FORM authentication.

Full details of these changes, and all the other changes, are available in the
http://tomcat.apache.org/tomcat-7.0-doc/changelog.html .

Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 5 11:18:17 2012 UTC (7 years, 2 months ago) by abs
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

Updated www/apache-tomcat7 to 7.0.26

 Tomcat 7.0.26 (markt)
   Catalina
     code Provide constants for commonly used Charset objects
          and use these constants where appropriate. (markt)
          Refactor the fix for 52184 to correct two issues (a
     fix  missing class and incorrect class/method names) when
          using the extras logging packages. (markt)
          52444: Only load classes during HandlesTypes
     fix  processing if the class is a match. Previously,
          every class in the web application was loaded
          regardless of whether it was a match or not. (markt)
     fix  52488: Correct typo: exipre -> expire. (markt)
     add  Add a unit test for SSO authentication. Patch
          provided by Brian Burch. (markt)
          52511: Correct regression in the fix for 51741 that
     fix  caused a harmless exception to be logged when
          scanning for annotations and WEB-INF/classes did not
          exist. (markt)
     code Refactor to remove a circular dependency between
          org.apache.catalina and org.apache.naming. (markt)
          Remove some initialisation code from the standard
     code start process (i.e. via the scripts) that was
          intended for embedding but is not required when
          performing a standard start.(markt)
          Add new method to MBeanFactory that allows any Valve
     add  to be created and deprecate the methods to create
          specific Valves. (markt)
     add  Partial sync of MIME type mapping with mime.types
          from the Apache web server. (rjung)
          52577: Fix a regression in the fix for 52328.
     fix  Prevent output truncation when reset() is called on
          a response. (mark)
          52586: Remove an old and now unnecessary hack that
     fix  modified the path info reported via the
          javax.servlet.forward.path_info request attribute
          when forwarding to an error page. (markt)
          52587: Ensure that if it is necessary to fall back
     fix  to the default NullRealm, the NullRealm instance is
          created early enough for it to be correctly
          initialised. (markt)
     fix  Fix millisecond output in AccessLogValve when using
          a SimpleDateFormat based time pattern. (rjung)
          52591: When dumping MBean data, skip attributes
     fix  where getters throw UnsupportedOperationException.
          (markt)
          52607: Ensure that the extension validator checks
     fix  the JARs in the shared and common class loaders for
          extensions. (markt)
          Correct a threading issue in the generation of the
          list of standard authenticators during Context
     fix  initialization that could lead to a web application
          failing to start if Contexts were started in
          parallel. (markt)
          52669: Correct regression that broke annotation
          processing in /WEB-INF/classes for web applications
     fix  deployed as WARs, packageless classes and some
          embedding scenarios. The regression was introduced
          by the invalid assumptions made in the fix for
          51741. (markt)
     fix  52671: When dumping MBean data, skip attributes
          where getters throw NullPointerException. (markt)

 Javadocs
   Coyote
          51543: Provide a meaningful error message when
     add  writing more response headers than permitted.
          (markt)
          52547: Ensure that bytes written (which is used by
     fix  the access log) is correctly reset after an HTTP 1.0
          request has been processed. (markt)
     code Minor refactoring to reduce code duplication in the
          HTTP connectors. (markt)
          52606: Ensure that POST bodies are available for
     fix  reply after FORM authentication when using the AJP
          connectors. (markt)
 * Building
   Jasper
         52474: Ensure that leading and trailing white space
     fix is removed from listener class names when parsing TLD
         files. (markt)
         52480: When converting class path entries from URLs
         to files/directories, ensure that any URL encoded
     fix characters are converted. Fixes JSP compilation with
         javac when Tomcat is installed at a path that
         includes spaces. (markt)
     fix 52666: Correct coercion order in EL when processing
         the equality and inequality operators. (markt)

   Web applications
            Improve BUILDING.txt. Update instructions for
     update building. Add instructions for using Checkstyle
            and running the tests. (kkolinko)
            38216: Improve handling of null return values in
     add    the JMX proxy servlet which is part of the Manager
            application. (kkolinko)
            52515: Make it clear in the Realm how-to in the
     fix    documentation web application that digested
            password storage when using DIGEST authentication
            requires that MD5 digests are used. (markt)
     fix    52634: Fix typos in JSP examples. Patch provided
            by Felix Schumacher. (rjung)
     fix    52641: Remove mentioning of ldap.jar from docs.
            Patch provided by Felix Schumacher. (rjung)

   jdbc-pool
         Fix code style issues and enable Checkstyle checks
     fix for jdbc-pool when it is built within Tomcat.
         (kkolinko)
     fix 51582 Correct set and reset the query cache to avoid
         NPE (fhanik)

   Other
         Update Commons Daemon to 1.0.9 to resolve 52548 which
     fix meant that services created with service.bat did not
         set the catalina.home and catalina.base system
         properties. (markt)
         Implement check for correct end-of-line characters in
     add the source files. It is run as separate target in
         build.xml. (kkolinko)

Revision 1.2 / (download) - annotate - [select for diffs], Sun Feb 5 15:29:18 2012 UTC (7 years, 3 months ago) by ryoon
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

Update to 7.0.25

Changelog:
* Improvements.
* Bugfixes

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sat Nov 19 17:11:11 2011 UTC (7 years, 6 months ago) by ryoon
Branch: TNF
CVS Tags: pkgsrc-base, pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import apache-tomcat-7.0.22 as www/apache-tomcat7

Apache Tomcat is an implementation of the Java Servlet and JavaServer Pages
technologies. The Java Servlet and JavaServer Pages specifications are
developed under the Java Community Process.

Apache Tomcat is developed in an open and participatory environment and
released under the Apache Software License. Apache Tomcat is intended to
be a collaboration of the best-of-breed developers from around the world.
We invite you to participate in this open development project.

Apache Tomcat powers numerous large-scale, mission-critical web applications
across a diverse range of industries and organizations.


I have tested some war apps and they works. But not fully tested.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Nov 19 17:11:11 2011 UTC (7 years, 6 months ago) by ryoon
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>