Latest in branch 7.0
7.0.109
Released 22 Apr 2021
(5 years ago)
SoftwareApache Tomcat
Version7.0
Status
End of life
Supported
Java versions
Java 6+
Initial release7.0.0
13 Jun 2010
(16 years ago)
Latest release7.0.109
22 Apr 2021
(5 years ago)
End of life31 Mar 2021
(Ended 5 years ago)
Release noteshttps://tomcat.apache.org/tomcat-7.0-doc/RELEASE-NOTES.txt
Source codehttps://github.com/apache/tomcat/tree/7.0.109
Documentationhttps://tomcat.apache.org/tomcat-7.0-doc/index.html
Apache Tomcat 7.0 ReleasesView full list

What Is New in Apache Tomcat 7.0

Tomcat 7.0 is a major release focusing on Servlet 3.0, JSP 2.2, and EL 2.2 specification support. It introduces significant new features, performance improvements, and a host of bug fixes to modernize the container.

Category Key Changes
New Features Servlet 3.0, JSP 2.2, EL 2.2 support, WebSocket protocol support, aliases for web resources
Improvements Memory leak prevention, better OSGi support, enhanced Manager and Host Manager applications
Bug Fixes Over 100 fixes across all areas including AJP, clustering, and session persistence
Security Updates to address security vulnerabilities identified in previous versions
Deprecated Legacy features from older specifications have been removed or marked for removal

How does Servlet 3.0 change development in Tomcat 7?

Servlet 3.0 is the cornerstone of Tomcat 7. It introduces annotations for declaring servlets, filters, and listeners, which eliminates the need for a bulky web.xml file. You can now use @WebServlet, @WebFilter, and @WebListener directly in your classes.

This makes development faster and the codebase cleaner. You can also take advantage of dynamic registration and asynchronous processing, which are huge for building modern, scalable applications.

What memory leak fixes were implemented?

Tomcat 7 tackled several notorious memory leak scenarios. The container now does a much better job of cleaning up threads and class loaders when a web application is stopped or reloaded.

In practice, this means you can redeploy applications more frequently during development without slowly consuming all your JVM memory. It's a significant boost for stability in long-running production servers as well.

Is there built-in WebSocket support?

Yes, Tomcat 7.0 includes support for the WebSocket protocol (RFC 6455). This allows you to build interactive web applications that require full-duplex communication channels over a single TCP connection.

You can create WebSocket endpoints by annotating a POJO with @WebSocketEndpoint. This was a forward-looking feature that paved the way for the real-time web applications we commonly build today.

How were the management applications improved?

The Manager and Host Manager web applications got a complete overhaul. They were rewritten to provide a more modern and functional interface for managing web application deployments and virtual hosts.

The new Manager app offers better diagnostics, including the ability to detect potential memory leaks. This is your first stop for troubleshooting a running Tomcat instance.

FAQ

Can I deploy a web.xml from Tomcat 6.x without changes?
Most likely, yes. Tomcat 7 maintains backward compatibility with the Servlet 2.5 specification. Your old web.xml files will still work, but you can now modernize them by using annotations instead.

What are the most common pitfalls when upgrading to Tomcat 7?
The main issues usually involve libraries that are not compatible with Servlet 3.0. Check your dependencies, especially older JAR files that might try to manually configure the servlet context in ways that conflict with the new annotation-based approach.

Does the new EL 2.2 support offer any new syntax?
Yes, a big one. EL 2.2 allows you to invoke non-getter methods directly within your JSP pages. For example, you can now write ${myBean.doSomething()} instead of having to create a separate getter method.

Is the new WebSocket implementation production-ready?
For its time, yes. However, this was the initial implementation. For mission-critical applications, many developers eventually moved to the more mature and feature-complete WebSocket support provided in later Tomcat versions (8 and 9).

How does the memory leak prevention work?
Tomcat 7 introduced more aggressive cleanup routines when an application is undeployed. It identifies and clears references held by the container, such as thread locals and scheduled tasks, that previously prevented the application's classloader from being garbage collected.

Releases In Branch 7.0

VersionRelease date
7.0.10922 Apr 2021
(5 years ago)
7.0.10828 Jan 2021
(5 years ago)
7.0.10718 Nov 2020
(5 years ago)
7.0.10616 Sep 2020
(5 years ago)
7.0.10502 Jul 2020
(5 years ago)
7.0.10407 May 2020
(6 years ago)
7.0.10316 Mar 2020
(6 years ago)
7.0.10212 Mar 2020
(6 years ago)
7.0.10110 Mar 2020
(6 years ago)
7.0.10011 Feb 2020
(6 years ago)
7.0.9911 Dec 2019
(6 years ago)
7.0.9822 Nov 2019
(6 years ago)
7.0.9706 Oct 2019
(6 years ago)
7.0.9624 Jul 2019
(6 years ago)
7.0.9510 Jul 2019
(6 years ago)
7.0.9410 Apr 2019
(7 years ago)
7.0.9316 Feb 2019
(7 years ago)
7.0.9209 Nov 2018
(7 years ago)
7.0.9113 Sep 2018
(7 years ago)
7.0.9002 Jul 2018
(7 years ago)
7.0.8928 Jun 2018
(7 years ago)
7.0.8807 May 2018
(8 years ago)
7.0.8728 Apr 2018
(8 years ago)
7.0.8609 Apr 2018
(8 years ago)
7.0.8507 Feb 2018
(8 years ago)
7.0.8419 Jan 2018
(8 years ago)
7.0.8330 Nov 2017
(8 years ago)
7.0.8229 Sep 2017
(8 years ago)
7.0.8111 Aug 2017
(8 years ago)
7.0.8010 Aug 2017
(8 years ago)
7.0.7926 Jun 2017
(8 years ago)
7.0.7810 May 2017
(9 years ago)
7.0.7728 Mar 2017
(9 years ago)
7.0.7609 Mar 2017
(9 years ago)
7.0.7518 Jan 2017
(9 years ago)
7.0.7413 Jan 2017
(9 years ago)
7.0.7307 Nov 2016
(9 years ago)
7.0.7214 Sep 2016
(9 years ago)
7.0.7107 Sep 2016
(9 years ago)
7.0.7015 Jun 2016
(9 years ago)
7.0.6911 Apr 2016
(10 years ago)
7.0.6808 Feb 2016
(10 years ago)
7.0.6707 Dec 2015
(10 years ago)
7.0.6625 Nov 2015
(10 years ago)
7.0.6509 Oct 2015
(10 years ago)
7.0.6419 Aug 2015
(10 years ago)
7.0.6330 Jun 2015
(10 years ago)
7.0.6207 May 2015
(11 years ago)
7.0.6127 Mar 2015
(11 years ago)
7.0.6026 Mar 2015
(11 years ago)
7.0.5928 Jan 2015
(11 years ago)
7.0.5826 Jan 2015
(11 years ago)
7.0.5731 Oct 2014
(11 years ago)
7.0.5626 Sep 2014
(11 years ago)
7.0.5518 Jul 2014
(11 years ago)
7.0.5419 May 2014
(12 years ago)
7.0.5325 Mar 2014
(12 years ago)
7.0.5213 Feb 2014
(12 years ago)
7.0.5110 Feb 2014
(12 years ago)
7.0.5019 Dec 2013
(12 years ago)
7.0.4911 Dec 2013
(12 years ago)
7.0.4809 Dec 2013
(12 years ago)
7.0.4718 Oct 2013
(12 years ago)
7.0.4616 Oct 2013
(12 years ago)
7.0.4525 Sep 2013
(12 years ago)
7.0.4423 Sep 2013
(12 years ago)
7.0.4319 Sep 2013
(12 years ago)
7.0.4202 Jul 2013
(12 years ago)
7.0.4106 Jun 2013
(13 years ago)
7.0.4005 May 2013
(13 years ago)
7.0.3922 Mar 2013
(13 years ago)
7.0.3807 Mar 2013
(13 years ago)
7.0.3712 Feb 2013
(13 years ago)
7.0.3603 Feb 2013
(13 years ago)
7.0.3510 Jan 2013
(13 years ago)
7.0.3404 Dec 2012
(13 years ago)
7.0.3317 Nov 2012
(13 years ago)
7.0.3203 Oct 2012
(13 years ago)
7.0.3101 Oct 2012
(13 years ago)
7.0.3001 Sep 2012
(13 years ago)
7.0.2902 Jul 2012
(13 years ago)
7.0.2815 Jun 2012
(13 years ago)
7.0.2731 Mar 2012
(14 years ago)
7.0.2617 Feb 2012
(14 years ago)
7.0.2517 Jan 2012
(14 years ago)
7.0.2415 Jan 2012
(14 years ago)
7.0.2317 Nov 2011
(14 years ago)
7.0.2227 Sep 2011
(14 years ago)
7.0.2129 Aug 2011
(14 years ago)
7.0.2009 Aug 2011
(14 years ago)
7.0.1913 Jul 2011
(14 years ago)
7.0.1806 Jul 2011
(14 years ago)
7.0.1702 Jul 2011
(14 years ago)
7.0.1611 Jun 2011
(15 years ago)
7.0.1504 Jun 2011
(15 years ago)
7.0.1409 May 2011
(15 years ago)
7.0.1309 May 2011
(15 years ago)
7.0.1201 Apr 2011
(15 years ago)
7.0.1110 Mar 2011
(15 years ago)
7.0.1005 Mar 2011
(15 years ago)
7.0.928 Feb 2011
(15 years ago)
7.0.804 Feb 2011
(15 years ago)
7.0.703 Feb 2011
(15 years ago)
7.0.610 Jan 2011
(15 years ago)
7.0.524 Nov 2010
(15 years ago)
7.0.414 Oct 2010
(15 years ago)
7.0.302 Oct 2010
(15 years ago)
7.0.203 Aug 2010
(15 years ago)
7.0.101 Aug 2010
(15 years ago)
7.0.013 Jun 2010
(16 years ago)
7.0.0-RC407 Jun 2010
(16 years ago)
7.0.0-RC323 May 2010
(16 years ago)
7.0.0-RC217 May 2010
(16 years ago)
7.0.0-RC111 Apr 2010
(16 years ago)