-- 作者:hongjunli
-- 发布时间:5/30/2007 10:09:00 PM
-- Apache Tomcat 6.0.13 Available
最近三个版本的变化如下: Tomcat 6.0.13 (remm) Catalina More accurate available() method. (remm) Add recycle check in the event object, since it is a facade like the others. (remm) When processing a read event, enforce that the servlet consumes all available bytes. (remm) Add a flag in ContainerBase which could be used in embedded scenarios to avoid a double start of contexts (this problem generally occurs when adding contexts to a started host). (remm) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=42309]42309[/URL]: Ability to create a connector using a custom protocol specification for embedded. (fhanik) Add SSL engine flag to AprLifecycleListener. (fhanik) Improve event processing, so that an END event is generated when encountering EOF, and an ERROR is always generated on client disconnects. (remm) Add declarations for the new XSD files. (remm) Coyote Add heartbeatBackgroundEnabled flag to SimpleTcpCluster. Enable this flag don't forget to disable the channel heartbeat thread (pero) Possible memory leak when using comet, caused by adding the socket to the poller before cleaning up the connection tracking structure. (remm) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=42308]42308[/URL]: nextRequest recycles the request, which caused issues with statistics. (remm) Fix non recycled comet flag in the APR connector. (remm) Cluster Add heartbeatBackgroundEnabled flag to SimpleTcpCluster. Enable this flag don't forget to disable the channel heartbeat thread (pero) Method name cleanup. (fhanik) Webapps Some examples webapp fixes. Submitted by Frank McCown. (remm) Tomcat 6.0.12 (remm) General License source headers. Submitted by Niall Pemberton. (remm) Catalina [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=42039]42039[/URL] Log a stack trace if a servlet throws an UnavailableException. Patch provided by Kawasima Kazuh. (markt) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41990]41990[/URL] Add some additional mime-type mappings. (markt) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41655]41655[/URL] Fix message translations. Japanese translations provided by Suzuki Yuichiro. (markt) Add enabled attribute to AccessLogValve (pero) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=42085]42085[/URL]: Avoid adding handlers for the root logger twice when they are explicitly specified. (remm) Reduce thread local manipulation in the request dispatcher. Submitted by Arvind Srinivasan. (remm) Avoid keeping references to loggers tied to the webapp classloaders after a reload in a couple more places. (remm) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=42202]42202[/URL]: Fix container parsing of TLDs in webapps when Tomcat is installed in a URL encodable path. (remm) Coyote [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=42119]42119[/URL] Fix return value for request.getCharacterEncoding() when Content-Type headers contain parameters other than charset. Patch by Leigh L Klotz Jr. (markt) Move away from using a thread local processor for the APR and java.io connectors, as this does not work well when using an executor. (remm) Remove Comet timeout hack in the APR connector. Comet connections will now use the regular timeout or the keepalive timeout if specified. (remm) Webapps [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=42025]42025[/URL]: Update valve documentation to refer to correct regular expression implementation. (markt) Fix various paths in the manager webapps (remm) Session viewer and editor for the HTML manager. Submitted by Cédrik Lime. (remm) Session handling tools for the manager. Submitted by Rainer Jung. (remm) Jasper [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41869]41869[/URL] TagData.getAttribute() should return TagData.REQUEST_TIME_VALUE when the attribute value is an EL expression. (markt) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=42071]42071[/URL] Fix IllegalStateException on multiple requests to an unavailable JSP. Patch provided by Kawasima Kazuh. (markt) After a JSP throws an UnavailableException allow it to be accessed once the unavailable period has expired. (markt) Cluster Add toString method to better logging session replication message at tribes MESSAGES (pero) Tomcat 6.0.11 (remm) General Update DBCP to 1.2.2, pool to 1.3, JDT to 3.2.2 and remove collections build dependency (pero, remm) Catalina Don't log pattern subtoken at ExtendedAccesLogValve (pero) Add some missing JMX attributes for new AccessLogValve (pero) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41786]41786 [/URL]Incorrect reference to catalina_home in catalina.sh/bat Patch provided by Mike Hanafey (fhanik) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41703]41703[/URL] SingleSignOnMessage invalid setter, patch provided by Nils Hammar (fhanik) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41682]41682[/URL] ClassCastException when logging is turned on (fhanik) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41530]41530 [/URL]Don't log error messages when connector is stopped (fhanik) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41166]41166[/URL] Invalid handling when using replicated context (fhanik) Added SENDFILE support for the NIO connector. (fhanik) Added support for shared thread pools by adding in the <Executor> element as a nested element to the <Service> element. (fhanik) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41666]41666[/URL] Correct handling of boundary conditions for If-Unmodified-Since and If-Modified-Since headers. Patch provided by Suzuki Yuichiro. (markt) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41739]41739[/URL] Correct handling of servlets with a load-on-startup value of zero. These are now the first servlets to be started. (markt) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41747]41747[/URL] Correct example ant script for deploy task. (markt) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41752]41752[/URL] Correct error message on exception in MemoryRealm. (markt) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=39883]39883[/URL] Add documentation warning about using antiResourceLocking on a webapp outside the Host's appBase. (yoavs) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=40150]40150[/URL] Ensure user and roll classnames are validated on startup. Patch by Tom. (yoavs) Refactor extend access log valve using the optimized access log valve. Submitted by Takayuki Kaneko. (remm) Possible deadlock in classloading when defining packages. (remm) Remove excessive syncing from listener support. (remm) Web services support. The actual factory implementations are implemented in the extras. Submitted by Fabien Carrion. (remm) Add logging to display APR capabilities on the platform. (remm) Expose executors in JMX. (remm) CRLF inside a URL pattern is always invalid. (remm) Tweak startup time display. (remm) Adjustments to handling exceptions with Comet. (remm) If the event is closed asynchronously, generate an end event for cleanup on the next event. (remm) Cleanup hello webapp from the docs and fix a XSS issue in the JSP. (remm) Examples webapp cleanup. Submitted by Takayuki Kaneko and Markus Schönhaber. (remm) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41289]41289[/URL]: Create configBase, since it is no longer created elsewhere. Submitted by Shiva Kumar H R. (remm) Coyote Fixed NIO memory leak caused by the NioChannel cache not working properly. Added flag to enable/disable the usage of the pollers selector instead of a Selector pool when the serviet is reading/writing from the input/output streams The flag is -Dorg.apache.tomcat.util.net.NioSelectorShared=true Requests with multiple content-length headers are now rejected. (markt) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41675]41675[/URL] Add a couple of DEBUG-level logging statements to Http11Processors when sending error responses. Patch by Ralf Hauser. (yoavs) Reuse digester used by the modeler. (remm) When the platform does not support deferred accept, put accepted sockets in the poller. (remm) Fix problem with blocking reads for keepalive when using an executor (the number of busy threads is always 0). (remm) The poller now has good performance, so remove firstReadTimeout. (remm) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=42119]42119[/URL] Fix return value for request.getCharacterEncoding() when Content-Type headers contain parameters other than charset. Patch by Leigh L Klotz Jr. (markt) Webapps Fix previous update to servlet 2.5 xsd to use correct declaration. (markt) Update host configuration document for new behaviour for directories in appBase. (markt) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=39540]39540[/URL] Add link to httpd 2.2 mod_proxy_ajp docs in AJP connector doc. (yoavs) Jasper [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41227]41227[/URL] Add a bit of DEBUG-level logging to JspC so users know which file is being compiled. (yoavs) Remove some dead utility code, and refactor stream capture as part of the Ant compiler. (remm) Support the trim directive of JSP 2.1 as an equivalent of Jasper's own parameter. (remm) [URL=http://issues.apache.org/bugzilla/show_bug.cgi?id=41790]41790[/URL]: Close file stream used to read the Java source. (remm) Fix reporting of errors which do not correspond to a portion of the JSP source. (remm) Remove try/catch usage for annotation processing in classic tags. The usage of the log method might have been questionable as well. (remm) Cleanup of the message that is displayed for compilation errors. (remm) Skip BOM when reading a JSP file. (remm)
|