Skip to content

Preparing for Your Next Tomcat Upgrade

Planning an Apache Tomcat upgrade (or migrating to the latest version of Tomcat) can pose challenges to unsuspecting enterprises. But Tomcat migrations and upgrades are key to maintaining security and to unlocking the potential of newly-supported features and improvements found in later versions of Tomcat.

In this blog, we look at how to prepare for your next Tomcat upgrade, with details on the Tomcat community support lifecycle, considerations like how often enterprises should be upgrading/migrating, and the basic steps of performing an Apache Tomcat migration or upgrade.

Editor’s Note: This blog was originally published in 2022 and was updated in 2024.

Understanding the Apache Tomcat Lifecycle

There are two active branches of Tomcat at the time of this writing: 9 and 10. Tomcat 8.5 reached end of life (EOL) on March 31, 2024. The Tomcat community typically does a good job of communicating end of life at least a year in advance for versions going EOL. These EOL announcements are typically accompanied by news regarding the next major version; the Tomcat 8.5 EOL date was announced around the same time as information about Tomcat 11 first emerged.

Tomcat Version

Release Date

End of Community Support

6.0

February 28, 2007

December 31, 2012

7.0

January 14, 2011

March 31, 2021

8.0

June 25, 2014

June 30, 2018

8.5

June 13, 2016

March 31, 2024

9.0

January 18, 2018

TBD

10.0

February 2, 2021

TBD

Ultimately, which branch you choose is likely based on what version of Java you’re using along with it. The Tomcat website has a reference chart to help you figure out what versions of Java work with what versions of Tomcat.

What to Consider Before Your Apache Tomcat Migration or Upgrade

If you happen to be upgrading in the same major branch versions, your configuration file will likely transfer easily in between versions. This means your testing of minor releases should be relatively pain free and not take a lot of time and resources from your team.

Migrating from a major version to another, however, requires that you rewrite your configuration based around all the major changes incorporated into the new major version. Testing for this will take a greater amount of time and resources due to the nature of there being significant changes between major versions of Tomcat.

Reading the release notes is going to provide you with an overview of what to expect. Because of this, we advise you pick the newest version of Tomcat that you can, so that you get the longest range of time of support from the Apache community.

How Often Should You Upgrade Tomcat?

Some apps function so smoothly, we set them out in production and they do their job so well, that touching it becomes almost out of the question because if it isn’t broken, does it need fixing? That is a complicated question, because the answer can be circumstantial. If the app and infrastructure around it are all working soundly, you may not see any reason to do a minor upgrade. But then one day, you hear from the community that there is a CVE or more relating to a version that you’re currently using. Now, there’s a motivating factor to remediate the security issue. Keeping up with the security of Tomcat is important for anyone using it in a production environment, and the longer you wait to upgrade or migrate, the less smoothly things are likely to go.

How Often Should You Migrate to a New Tomcat Version?

Migrating to a newer Tomcat branch is a trickier task, since bringing over your configuration from the previous branch will not work. Migration will require significant testing to verify that your code will work with the app server. The more moving parts in play the greater the risk of older apps not being fully compatible.

Knowing the EOL dates ahead of time is going to give your organization the necessary heads up of when they will have a greater need to migrate.

Tomcat’s website states that on average a major release of Tomcat is good for 10 years. This is a significant window by comparison to other known application servers, giving your organization time to plan accordingly. Apache has also written specific documentation for migrating.

Back to top

How to Prepare for Your Next Apache Tomcat Upgrade / Migration

The very first thing to do before migration is to take back ups of everything. Document what sort of changes you’re going to be making to the environment so that you have an accurate account for everything you’re going to do. Going over metrics of when the app is in use will allow you to know when the best time to perform the migration is. 

Step #1: Determine Your Migration / Upgrade Path

Determine which version of Tomcat you will be upgrading to, along with the required version of Java that Tomcat requires. Read the release notes to see what sort of major changes you’ll be dealing with, as it might also give you insight to the new features available as well.

Step #2: Complete a Test Install and Compare Configuration Files

Using the same OS that you will be deploying your app on, set up the version of Tomcat you will be upgrading to in a test environment. Testing is critical for migration and is still a good practice for upgrades as well. One of the tests that you can run is a git command that compares configuration files against one another. An example of this command would look something like:

git diff 10.1.0-M1 10.1.0-M2 -- conf/

Step #3: Configure Your Test Install and Deploy Your Application to Test Environment

Configure your Tomcat instance and see if you can deploy your application in the test environment. Once you have your app up and running, you’ll want to do some testing to make sure it can handle the standard work load it’ll be under in production. The method you use to generate traffic to the server will vary depending on the type of application you’re running. It’s advised you push your server past the point that it might hit in production to prepare for any upticks in traffic. 

Step #4: Bring Test Environment to Production and Gradually Transition Workloads

Once you’ve done thorough testing of workloads on the new server, you’ll want to schedule time to bring your environment to production. The best practice is to stand the new servers up alongside the production servers, allow traffic to the new environment while maintaining the older live environment. When you’ve established that the new servers can properly handle live workloads, you may then take down the older servers one at a time, making sure that the new live servers are able to handle the workload gradually.

Back to top

Final Thoughts

With enough planning — and a proper test environment and traffic tools — you should be able to properly plan a fairly stress-free Tomcat upgrade or migration. While Tomcat versions are good for roughly ten years, there are performance gains and new features to be had when you decide to migrate or upgrade to a newer version. Upgrading and migrating should be a regular part of every organizations maintenance plan and is also critical for preventing exposure to security vulnerabilities.

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About Perforce
The best run DevOps teams in the world choose Perforce. Perforce products are purpose-built to develop, build and maintain high-stakes applications. Companies can finally manage complexity, achieve speed without compromise, improve security and compliance, and run their DevOps toolchains with full integrity. With a global footprint spanning more than 80 countries and including over 75% of the Fortune 100, Perforce is trusted by the world’s leading brands to deliver solutions to even the toughest challenges. Accelerate technology delivery, with no shortcuts.

Secure Authentication: Put your cybersecurity helmet on

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About ESET
For 30 years, ESET® has been developing industry-leading IT security software and services for businesses and consumers worldwide. With solutions ranging from endpoint security to encryption and two-factor authentication, ESET’s high-performing, easy-to-use products give individuals and businesses the peace of mind to enjoy the full potential of their technology. ESET unobtrusively protects and monitors 24/7, updating defenses in real time to keep users safe and businesses running without interruption. Evolving threats require an evolving IT security company. Backed by R&D facilities worldwide, ESET became the first IT security company to earn 100 Virus Bulletin VB100 awards, identifying every single “in-the-wild” malware without interruption since 2003.

How to Enroll Corporate-Owned macOS Devices on Scalefusion

Managing corporate-owned macOS devices presents unique challenges as businesses grow. Scalefusion, a comprehensive Mobile Device Management (MDM) solution, addresses these challenges by providing a centralized platform to manage, monitor, and secure macOS devices. 

Imagine a scenario where a company’s engineering team rapidly expands, increasing the number of macOS devices that need to be configured and maintained. Since 87% of engineering professionals rely on macOS for its stability and security[1], an efficient MDM solution like Scalefusion becomes crucial​​.

mac device enrollment

Enrolling macOS devices in an MDM solution like Scalefusion is essential for ensuring smooth operations and maintaining security. With approximately 100 million macOS users worldwide and Apple shipping 28.9 million Macs in a year[2], the demand for effective management solutions continues to grow​​.

For Mac devices not under Apple’s Device Enrollment Program (DEP), manual Mac device enrollment in the Scalefusion Dashboard is required. This blog will explore how to enroll corporate-owned macOS devices on Scalefusion.

How to Enroll Corporate-owned macOS Devices on Scalefusion MDM

Organizations can streamline the macOS device enrollment process by utilizing the Mac device enrollment program, ensuring all their Mac devices are configured and managed efficiently. Let’s explore this more.

On the dashboard:

  1. Power on the Mac device and sign in to the user that you want to manage.
  2. Sign In to Scalefusion Dashboard, and navigate to Enrollment Configuration> QR Code Configuration. Click the button to show the Enrollment URL. This opens a new box with the Enrollment URL and the Enrollment Code.
mac device enrollment program
  1. In the Safari browser, type in the enrollment URL and press the enter key. After this process, a new window, Kiosk Device Enrollment, will appear. Enter the code you have received in the Enrollment Code section and click Enroll.
macOS device enrollment
  1. This will open the System Preferences pane, where a dialog box will appear. To proceed with the enrollment, click on “Install”.
mac device enrollment notification
  1. You will be shown the enrollment profile details and asked to confirm the installation. Simply click “Install” to proceed.
mac device enrollment
  1. If you are enrolling from a non-administrator user account, you will need to enter administrator credentials to proceed with the installation. Simply provide the administrator credentials and click OK to confirm.
mac device enrollment notification
  1. The enrollment process will be complete in about a minute, after which you will see the confirmation screen.
mac device enrollment program
  1. The enrollment process typically takes about 2-3 minutes. Once completed, a confirmation screen will appear. According to the Device and User Policies section, you will see three profiles installed, indicating successful enrollment.
  1. Device Profiles

This section details the device profiles and policies applicable at the device level. Items marked 1 and 2 are device-level profiles, meaning the policies they implement affect all users of the machine.

  1. User Profiles

This section details all Profiles/Policies applicable at the user level. Identified as point 3 in the image below, these policies are specific to the Mac user account from which the enrollment was performed.

macOS device enrollment

9. Once you log in to the Scalefusion Dashboard and navigate to the Devices section, you will see the newly enrolled device, confirming that the enrollment process was successful.

macOS device enrollment program
Read More: How to Manage Corporate-Owned Apple Devices with Scalefusion

Efficient macOS Enrollment with Scalefusion

Enrolling corporate-owned macOS devices in Scalefusion is a game-changer for businesses aiming to streamline their device management. Scalefusion not only simplifies the enrollment process but also ensures your devices are secure and compliant with corporate policies. This powerful solution allows your IT team to focus on driving innovation and productivity. Ready to take the next step? Dive into Scalefusion and experience seamless macOS device management today!

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About Scalefusion
Scalefusion’s company DNA is built on the foundation of providing world-class customer service and making endpoint management simple and effortless for businesses globally. We prioritize the needs and feedback of our customers, making sure that they are at the forefront of all decision-making processes. We are dedicated to providing comprehensive customer support services, and place emphasis on customer-centric thinking throughout the organization.

Attention! Alert fatigue can result in severe burnout

 

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About ESET
For 30 years, ESET® has been developing industry-leading IT security software and services for businesses and consumers worldwide. With solutions ranging from endpoint security to encryption and two-factor authentication, ESET’s high-performing, easy-to-use products give individuals and businesses the peace of mind to enjoy the full potential of their technology. ESET unobtrusively protects and monitors 24/7, updating defenses in real time to keep users safe and businesses running without interruption. Evolving threats require an evolving IT security company. Backed by R&D facilities worldwide, ESET became the first IT security company to earn 100 Virus Bulletin VB100 awards, identifying every single “in-the-wild” malware without interruption since 2003.

Scale Computing Offers Simple, Secure, Reliable IT Infrastructure to Guard Against Data-Hungry Ghouls

Company Gifting Retro Polaroid Cameras to End Users in North America and Europe, Middle East, and Africa through November 8th 

INDIANAPOLIS – October 2, 2024 — Scale Computing, the market leader in edge computing, virtualization, and hyperconverged solutions, today announced its new campaign targeting outdated IT infrastructure and calling on organizations to learn more about Scale Computing Platform’s (SC//Platform) future-ready solutions. Between now and November 8, 2024, end users in North America and Europe, Middle East, and Africa (EMEA) who register for a meeting will receive a retro Polaroid camera.

“Downtime, data loss, and corruption can happen at any moment, threatening your business. Instead of being plagued by data-hungry ghouls and goblins, we invite users to learn more about Scale Computing and our SC//Platform to maximize security, ensuring that critical systems are always protected, validated, and ready for recovery. Organizations of all sizes across all vertical industries can benefit from SC//Platform, which brings together simplicity and scalability, replacing existing outdated infrastructure. Users instead get high availability for running workloads in a single, easy-to-manage platform, while leveraging our patented self-healing technology to maintain maximum uptime for all applications,” said Jeff Ready, CEO and co-founder of Scale Computing.

October is Cybersecurity Awareness Month, dedicated to raising awareness about the importance of digital security and protecting personal data. As cyber criminals become more sophisticated, maintaining modern infrastructure with a strong cybersecurity posture is key to keeping critical business applications and data secured. The new campaign from Scale Computing aims to help businesses scare away threats and fortify their defenses against data-hungry ghouls.

SC//Platform provides infrastructure that is simple, secure, scalable, and reliable. Combine it with Scale Computing’s subscription-based Business Continuity/Disaster Recovery (BCDR) Planning Service to establish a comprehensive and regulated response plan for any unforeseen downtime. With SC//Platform, an organization’s critical systems will be protected, validated, tested, and always ready for recovery when the goblins strike.

Book your meeting today to ensure your business is prepared for whatever data-hungry dark forces come your way and receive a complimentary Polaroid camera. To learn more about Scale Computing and book your meeting, visit https://www.scalecomputing.com/landing-pages/guard-against-data-hungry-ghouls.

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About Scale Computing 
Scale Computing is a leader in edge computing, virtualization, and hyperconverged solutions. Scale Computing HC3 software eliminates the need for traditional virtualization software, disaster recovery software, servers, and shared storage, replacing these with a fully integrated, highly available system for running applications. Using patented HyperCore™ technology, the HC3 self-healing platform automatically identifies, mitigates, and corrects infrastructure problems in real-time, enabling applications to achieve maximum uptime. When ease-of-use, high availability, and TCO matter, Scale Computing HC3 is the ideal infrastructure platform. Read what our customers have to say on Gartner Peer Insights, Spiceworks, TechValidate and TrustRadius.

×

Hello!

Click one of our contacts below to chat on WhatsApp

×