Apache Tomcat®
Apache®, Apache Tomcat®, are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.
TuxCare's Endless Lifecycle Support (ELS) for Apache Tomcat® provides security patches and selected bug fixes that are integral to the stable operation of applications running on these versions of Apache Tomcat® core components such as Coyote, Catalina, Jasper, etc. These components have either reached their end of standard support from vendors or have reached End of Life (EOL). Our ELS for Apache Tomcat® service is designed to provide solutions for organizations that are not yet ready to migrate to newer versions and that are seeking long-term stability for their legacy Apache Tomcat® applications.
Apache Tomcat® is also available for installation as a standalone server. You can find the corresponding instructions here.
Supported Versions
- Apache Tomcat® 8.5.100, 9.0.46, 9.0.50, 9.0.75, 9.0.83, 9.0.87, 9.0.90, 9.0.100, 10.1.18, 10.1.42
Installation
Prerequisites
- Maven or Gradle build tool installed
- Nexus repository access credentials (username and password) — contact sales@tuxcare.com
- To browse available artifacts, visit TuxCare Nexus and click Sign in in the top right corner. You may need to refresh the page after logging in.
Navigate to the build tool directory
- Windows
Maven: C:\Users\{username}\.m2 Gradle: C:\Users\{username}\.gradle- macOS
Maven: /Users/{username}/.m2 Gradle: /Users/{username}/.gradle- Linux
Maven: /home/{username}/.m2 Gradle: /home/{username}/.gradleConfigure credentials
For Maven, you may choose any valid
<id>value instead oftuxcare-tomcat-registry, but the same value must be used in bothsettings.xmlandpom.xml.<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.1.0"> <servers> <server> <id>tuxcare-tomcat-registry</id> <username>USERNAME</username> <password>PASSWORD</password> </server> </servers> </settings>Here
USERNAMEandPASSWORDare your Tuxcare credentials.Add the TuxCare repository
Add the TuxCare Apache Tomcat® repository and plugins to your build configuration.
<repositories> <repository> <id>tuxcare-tomcat-registry</id> <url>https://nexus.repo.tuxcare.com/repository/els_java/</url> </repository> </repositories>- To fully switch from the official Apache Tomcat® repository, replace it with the TuxCare repository.
- To keep both, add TuxCare after the official one.
Update dependencies
Replace Apache Tomcat® dependencies with TuxCare-maintained versions. You can find artifact versions on Nexus — sign in with your TuxCare credentials.
<dependencies> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-catalina</artifactId> <version>9.0.75-tuxcare.1</version> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-coyote</artifactId> <version>9.0.75-tuxcare.1</version> </dependency> </dependencies>Verify and build
Verify the setup:
mvn dependency:tree -DverboseBuild the project:
mvn clean installThe build tool should be able to identify and resolve dependencies from the TuxCare ELS for Apache Tomcat® repository.