Cookies op Tweakers

Tweakers maakt gebruik van cookies, onder andere om de website te analyseren, het gebruiksgemak te vergroten en advertenties te tonen. Door gebruik te maken van deze website, of door op 'Ga verder' te klikken, geef je toestemming voor het gebruik van cookies. Wil je meer informatie over cookies en hoe ze worden gebruikt, bekijk dan ons cookiebeleid.

Meer informatie

Door , , 1 reactie
Bron: Apache Tomcat Project, submitter: Cristan

Apache Tomcat is een Webcontainer die is ontwikkeld door de Apache Software Foundation. Tomcat voert Java Servlets en JavaServer Pages uit en biedt een http-webomgeving aan waarop Java-code direct kan worden gedraaid. Voor meer informatie verwijzen we naar deze pagina. De ontwikkelaars hebben enkele dagen geleden versie 7.0.6 uitgebracht, voorzien van de volgende aankondiging en lijst met veranderingen:

Tomcat 7.0.6 Released

The Apache Tomcat Project is proud to announce the release of version 7.0.6 of Apache Tomcat. This is the first stable release of the Tomcat 7 branch. This release contains a number of bug fixes, further performance improvements in session management and several enhancements to the memory leak detection and prevention features.

General
  • Update to Commons Daemon 1.0.5. (mturk)
Catalina
  • 8705: org.apache.catalina.SessionListener now extends java.util.EventListener. (markt)
  • 10526: Add an option to the Authenticators to force the creation of a session on authentication which may offer some performance benefits. (markt)
  • 10972: Improve error message if the className attribute is missing on an element in server.xml where it is required. (markt)
  • 48692: Provide option to parse application/x-www-form-urlencoded PUT requests. (schultz)
  • 48822: Include context name in case of error while stopping or starting a context during its reload. Patch provided by Marc Guillemot. (slaurent)
  • 48837: Extend thread local memory leak detection to include classes loaded by subordinate class loaders to the web application's class loader such as the Jasper class loader. Based on a patch by Sylvain Laurent. (markt)
  • 48973: Avoid creating a SESSIONS.ser file when stopping an application if there's no session. Patch provided by Marc Guillemot. (slaurent)
  • 49000: No longer accept specification invalid name only cookies by default. This behaviour can be restored using a system property. (markt)
  • 49159: Improve memory leak protection by renewing threads of the pool when a web application is stopped. (slaurent)
  • 49372: Re-fix after connector re-factoring. If connector initialisation fails (e.g. if a port is alreasy in use) do not trigger an LifecycleException for an invalid state transition. (markt)
  • 49543 Allow Tomcat to use shared data sources with per application credentials. (fhanik)
  • 49650: Remove unnecessary entries package.access property defined in catalina.properties. Patch provided by Owen Farrell. (markt)
  • 50106: Correct several MBean descriptors. Patch provided by Eiji Takahashi. (markt)
  • Further performance improvements to session ID generation. Remove legacy configuration options that are no longer required. Provide additional options to control the SecureRandom instances used to generate session IDs. (markt)
  • 50201: Update the access log reference in StandardEngine when the ROOT web application is redeployed, started, stopped or defaultHost is changed. (markt/kkolinko)
  • 50282: Load javax.security.auth.login.Configuration with JreMemoryLeakPreventionListener to avoid memory leak when stopping a web application that would use JAAS. (slaurent)
  • 50351: Fix the regression that broke BeanFactory resources caused by the previous fix for 50159. (markt)
  • 50352: Ensure that AsyncListener.onComplete() is fired when AsyncContext.complete() is called. (markt)
  • 50358: Set the correct LifecycleState when stopping instances of the deprecated Embedded class. (markt)
  • Further Lifecycle refactoring for Connectors and associated components. (markt)
  • Correct handling of versioned web applications in deployer. (markt)
  • Correct removal of LifeCycleListenters from Containers via JMX. (markt)
  • Don't use nulls to construct log messages. (markt)
  • Code clean-up. Replace use of inefficient constructors with more efficient alternatives. (markt)
  • 50411: Ensure sessions are removed from the Store associated with a PersistentManager. (markt)
  • 50413: Ensure 304 responses are not returned when using static files as error pages. (markt/kkolinko)
  • 50448: Fix possible IllegalStateException caused by recent session management refactoring. (markt)
  • Ensure aliases settings for a context are retained after a context is reloaded. (markt)
  • Log a warning if context.xml files define values for properties that do not exist (e.g. if there is a typo in a property name). (markt)
  • 50453: Correctly handle multiple X-Forwarded-For headers in the RemoteIpFilter and RemoteIpValve. Patch provided by Jim Riggs. (markt)
  • 50541: Add support for setting the size limit and time limit for LDAP seaches when using the JNDI Realm with userSearch. (markt)
  • All configuration options that use regular expression now require a single regular expression (using java.util.regex) rather than a list of comma-separated or semi-colon-separated expressions. (markt)
  • 50496: Bytes sent in the access log are now counted after compression, chunking etc rather than before. (markt)
  • 50550: When a new directory is created (e.g. via WebDAV) ensure that a subsequent request for that directory does not result in a 404 response. (markt)
  • 50554: Code clean up. (markt)
  • 50556: Improve JreMemoryLeakPreventionListener to prevent a potential class loader leak caused by a thread spawned when the class com.sun.jndi.ldap.LdapPoolManager is initialized and the system property com.sun.jndi.ldap.connect.pool.timeout is set to a value greater than 0. (slaurent)
Coyote
  • 47319: Return the client's IP address rather than null for calls to getRemoteHost() when the APR connector is used with enableLookups="true" but the IP address is not resolveable. (markt)
  • 50108: Add get/set methods for Connector property minSpareThreads. Patch provided by Eiji Takahashi. (markt)
  • 50360: Provide an option to control when the socket associated with a connector is bound. By default, the socket is bound on Connector.init() and released on Connector.destroy() as per the current behaviour but this can be changed so that the socket is bound on Connector.start() and released on Connector.stop(). This fix also includes further Lifecycle refactoring for Connectors and associated components. (markt)
  • Remove a huge memory leak in the NIO connector introduced by the fix for 49884. (markt)
  • 50467: Protected against NPE triggered by a race condition that causes the NIO poller to fail, preventing the processing of further requests. (markt)
Jasper
  • 13731: Make variables in _jspService() method final where possible. (markt)
  • 50408: Fix NoSuchMethodException when using scoped variables with EL method invocation. (markt)
  • 50460: Avoid leak caused by using a cached exception instance in JspDocumentParser and ProxyDirContext. (kkolinko)
  • 50500: Use correct coercions (as per the EL spec) for arithmetic operations involving string values containing '.', 'e' or 'E'. Based on a patch by Brian Weisleder. (markt)
Cluster
  • 50185: Add additional trace level logging to Tribes to assist with fault diagnosis. Based on a patch by Ariel. (markt)
  • Don't try and obtain session data from the cluster if the current node is the only node in the cluster. Log requesting session data as INFO rather than WARNING. (markt)
  • 50503: When web application has a version, Engine level Clustering works correctly. (kfujino)
  • 50547: Add time stamp for CHANGE_SESSION_ID message and SESSION_EXPIRED message. (kfujino)
Web applications
  • 21157: Ensure cookies are written before the response is commited in the Cookie example. Patch provided by Stefan Radzom. (markt)
  • 50294: Add more information to documentation regarding format of configuration files. Patch provided by Luke Meyer. (markt)
  • Correctly validate provided context path so sessions for the ROOT web application can be viewed through the HTML Manager. (markt)
  • Improve documentation of database connection factory. (rjung)
  • 50488: Update classpath required when using jsvc and add a note regarding server VMs. (markt)
  • Further filtering of Manager display output. (kkolinko)
Other
  • Don't configure Windows installer to use PID file since it is not removed when the service stops which prevents the service from starting. (markt)
  • 14416: Make TagLibraryInfo.getTag() more robust at handling nulls. (markt)
  • 50552: Avoid NPE that hides error message when using Ant tasks. (schultz)
  • Provide two alternative locations for the libraries downloaded from the ASF web site at build time. Use the main distribution site as default and the archive one as fallback. (kkolinko)
Versienummer:7.0.6
Releasestatus:Final
Besturingssystemen:Java
Website:Apache Tomcat Project
Download:http://tomcat.apache.org/download-70.cgi
Licentietype:Voorwaarden (GNU/BSD/etc.)
Moderatie-faq Wijzig weergave

Reacties (1)

goed om te zien dat er weer wat leven zit in Tomcat. Het blijft een simpel te configureren en lightweight servlet container voor het Java platform en een goede basis voor de web kant van de wat zwaardere applicatie servers (JBoss bijvoorbeeld).

Nu nog Java 7 om alle memory leaks omtrent het herladen van webapps eindelijk te repareren en we zijn weer op gang.

Op dit item kan niet meer gereageerd worden.



Apple iOS 10 Google Pixel Apple iPhone 7 Sony PlayStation VR AMD Radeon RX 480 4GB Battlefield 1 Google Android Nougat Watch Dogs 2

© 1998 - 2016 de Persgroep Online Services B.V. Tweakers vormt samen met o.a. Autotrack en Carsom.nl de Persgroep Online Services B.V. Hosting door True