Tomcat Suite • Apache Tomcat 10.1 & OpenJDK 21 LTS
Complete, zero-dependency web application server appliance. Includes Apache Tomcat 10.1, embedded 64-bit Eclipse Temurin OpenJDK 21 LTS for both Linux & Windows (jdk/linux & jdk/windows), pre-tuned setenv.sh & setenv.bat memory scripts, and universal start.sh / start.bat controllers with OS detection, systemd/Windows service checks, and G1GC/ZGC garbage collector ergonomics.
Platform-Specific Production Bundles (Recommended for Single-OS Servers & CI/CD)
~45% Smaller Payload
Why choose a platform-specific bundle? While the universal tomcat-enterprise-bundle.zip (108.63 MB) embeds both Linux and Windows JVMs for cross-platform portability, production hosts and Docker/CI pipelines only execute one native OS binary format. Downloading the dedicated tomcat-bundle-linux.zip or tomcat-bundle-windows.zip cuts network transfer size by nearly 45%, eliminates unused cross-OS binaries (.exe/.dll on Linux or .so ELF files on Windows), and places the native OpenJDK 21 runtime directly at jdk/bin/java (or jdk\bin\java.exe).
Linux Enterprise Bundle (tomcat-bundle-linux.zip)
Purpose-built for Debian, Ubuntu, RHEL, Rocky Linux, AlmaLinux, and container environments. Ships with native Linux x64 OpenJDK 21 LTS directly in jdk/bin/java and jdk/lib/server/libjvm.so with UNIX 0755 execute bits pre-encoded in the ZIP archive, plus start.sh, setup.sh, and pre-tuned tomcat/bin/setenv.sh.
Windows Enterprise Bundle (tomcat-bundle-windows.zip)
Optimized for Windows Server 2019/2022/2025 and Windows 10/11 workstations. Places the 64-bit Windows OpenJDK 21 LTS runtime directly in jdk\bin\java.exe and jdk\bin\server\jvm.dll, paired with start.bat, setup.bat, Windows Service SCM integration, and pre-tuned tomcat\bin\setenv.bat.
Headless CLI Download (curl & wget) & SHA-256 Hash Verification
Download SHA256SUMS.txt →
Provisioning a headless Debian, Ubuntu, or RHEL server over SSH? Use the following curl or wget commands to download the bundle directly into /opt/tomcat and verify its cryptographic integrity before executing ./start.sh. For full Linux user isolation and systemd sandboxing, see our Production Linux & Windows Quickstart Guide.
1. Linux Headless Download via curl + sha256sum Verification (Recommended):
# Download Linux x64 bundle + SHA-256 checksum manifest and verify integrity
curl -fLO https://catconfig.com/download/tomcat-bundle-linux.zip
curl -fLO https://catconfig.com/download/tomcat-bundle-linux.zip.sha256
sha256sum -c tomcat-bundle-linux.zip.sha256
# Or verify inline against the published SHA-256 digest:
echo "1c110019071d9ad933d8947602d952bc7f84518d0d629c13cdcfe39d1004bff6 tomcat-bundle-linux.zip" | sha256sum -c -
# Extract to /opt/tomcat and start with pre-flight OS, JVM, Service & G1GC checks:
sudo mkdir -p /opt/tomcat && sudo unzip -q tomcat-bundle-linux.zip -d /opt/tomcat
cd /opt/tomcat && chmod +x start.sh setup.sh tomcat/bin/*.sh && ./start.sh
2. Linux Headless Download via wget (Universal Dual-OS or Linux Bundle):
# Option A: Download dedicated Linux bundle (61.60 MB) with wget
wget -q --show-progress https://catconfig.com/download/tomcat-bundle-linux.zip
wget -q https://catconfig.com/download/SHA256SUMS.txt
sha256sum --ignore-missing -c SHA256SUMS.txt
# Option B: Download Universal Dual-OS bundle (108.63 MB) with wget
wget -q --show-progress https://catconfig.com/download/tomcat-enterprise-bundle.zip
echo "26ef43480c1df73f87648d8b237b2c2d4c9869ce472cbe9a982b67c59c0dd2ea tomcat-enterprise-bundle.zip" | sha256sum -c -
3. Windows PowerShell / curl.exe Download & Get-FileHash Verification:
# Download Windows x64 bundle using built-in curl.exe and verify SHA-256 hash in PowerShell
curl.exe -fLO https://catconfig.com/download/tomcat-bundle-windows.zip
$expected = "797fa3b549a27872a96aa738c1c1c1af68e1c1749d5a8444cfe9659fc0659ccb"
$actual = (Get-FileHash .\tomcat-bundle-windows.zip -Algorithm SHA256).Hash.ToLower()
if ($actual -eq $expected) { Write-Host "[PASS] SHA-256 Verified: $actual" -ForegroundColor Green }
# Alternative CMD verification using certutil:
certutil -hashfile tomcat-bundle-windows.zip SHA256
Cryptographic Checksum Reference Table (Release v2.1):
| Archive Filename | Embedded JVM Runtime | Size | SHA-256 Checksum |
|---|---|---|---|
tomcat-bundle-linux.zip |
Linux x64 OpenJDK 21 LTS (jdk/bin/java) |
61.60 MB | 1c110019071d9ad933d8947602d952bc7f84518d0d629c13cdcfe39d1004bff6 |
tomcat-bundle-windows.zip |
Windows x64 OpenJDK 21 LTS (jdk\bin\java.exe) |
57.52 MB | 797fa3b549a27872a96aa738c1c1c1af68e1c1749d5a8444cfe9659fc0659ccb |
tomcat-enterprise-bundle.zip |
Dual-OS: Linux x64 + Windows x64 OpenJDK 21 | 108.63 MB | 26ef43480c1df73f87648d8b237b2c2d4c9869ce472cbe9a982b67c59c0dd2ea |
This software bundle is assembled exclusively from verified Free and Open-Source Software (FOSS) components and is legally permitted for commercial use, private deployment, cloud integration, and worldwide redistribution without paying any licensing fees or royalties.
Licensed under Apache License 2.0. Grants permanent, royalty-free rights to use, modify, package, and redistribute in source and binary formats.
Licensed under GPLv2 with Classpath Exception. Explicitly ensures that your applications and WAR files running on the JVM remain unencumbered by the GPL.
What Is Pre-Configured in setenv.sh, setenv.bat & server.xml?
start.sh, start.bat, and setenv.sh auto-detect OS/distro, enforce Linux chmod +x on bin/java & jspawnhelper, and verify native JVM execution.
setenv.sh & GC ControlsPre-sized with -Xms1024m -Xmx2048m and G1GC / ZGC flags. Need custom RAM sizing for 8GB–128GB hosts? Use our Interactive setenv.sh Sizing Compiler.
Automatically inspects Linux systemd & Windows Services, cleans up stale PIDs, checks port 8080/8005 bindings, and provides service-install.
Pre-hardened per our Security Hardening Guide: masked server banner, ErrorReportValve, RemoteIpValve, and HttpOnly / SameSite=lax cookies.
Quick Start Setup Steps & setenv Customization
Extract the ZIP Archive
Extract tomcat-bundle-linux.zip, tomcat-bundle-windows.zip, or tomcat-enterprise-bundle.zip to any directory (e.g., /opt/tomcat on Linux or C:\Tomcat on Windows). Follow our Production Quickstart & POSIX Permissions Guide for dedicated service user setup.
Launch via start.sh / setup.sh (Linux) or start.bat / setup.bat (Windows)
Run the universal controller for your operating system. You can pass runtime overrides like --gc zgc or --xmx 4096m directly, or generate a permanent hardware-tailored tomcat/bin/setenv.sh or tomcat\bin\setenv.bat file with the Tomcat JVM Sizing & setenv Configuration Compiler:
chmod +x start.sh setup.sh tomcat/bin/*.sh
./start.sh # Runs OS/JVM/Service/GC checks & starts Tomcat
./start.sh status # Displays OS, JVM, GC, systemd service & port status
./start.sh test # Full diagnostic check of Linux JVM, GC & ports
./start.sh --gc zgc --xmx 4096m start # Launch with Generational ZGC and custom heap
sudo ./start.sh service-install # Registers & enables /etc/systemd/system/tomcat.service
./start.sh stop # Safely shuts down Tomcat
.\start.bat # Runs OS/JVM/Service/GC checks & starts Tomcat
.\start.bat status # Displays OS, JVM, GC, Windows Service & port status
.\start.bat test # Verifies Windows JVM runtime, GC flags & port 8080
.\start.bat --gc zgc start # Launch with Generational ZGC
.\start.bat stop # Safely shuts down Tomcat
.\setup.bat # Opens interactive management menu
Access Server Verification Screen & Configure SSL/TLS
Open your browser to http://localhost:8080 to view the active deployment verification dashboard. Before exposing the server to production traffic, configure TLS 1.3 and HTTP/2 using our SSL/TLS & HTTP/2 Connector Guide and Log Rotation & Rsyslog Guide.
Deploy Your WAR Applications & Configure JDBC Pools
Drop your compiled .war archive into tomcat/webapps/ (rename to ROOT.war for the default context). See Jakarta EE App Development, Zero-Downtime WAR & CI/CD Deployment, and the JDBC Connection Pool Generator to wire database resources.
Clean Package Directory Layout
tomcat-enterprise-bundle/
├── start.sh / setup.sh # Universal Linux/macOS controller (OS, JVM, GC & systemd checks)
├── start.bat / setup.bat # Universal Windows controller (OS, JVM, GC & SCM service checks)
├── README.txt # Quick reference & CLI flag guide
├── LICENSE.txt # Apache 2.0 & GPLv2+CE open source licenses
├── jdk/ # Embedded Eclipse Temurin OpenJDK 21 LTS Runtime(s)
│ ├── linux/ # 64-bit Linux (x86_64) OpenJDK 21 LTS (directly in jdk/ in tomcat-bundle-linux.zip)
│ ├── windows/ # 64-bit Windows (x86_64) OpenJDK 21 LTS (directly in jdk/ in tomcat-bundle-windows.zip)
│ └── bin/ # Universal cross-platform java & keytool wrappers
└── tomcat/ # Apache Tomcat 10.1 Web Application Server
├── bin/
│ ├── setenv.sh # Auto OS/JDK detection, G1GC/ZGC tuning, GC logs & OOM heap dumps
│ ├── setenv.bat # Windows JVM/JDK detection, G1GC/ZGC tuning & OOM heap dumps
│ ├── startup.bat / startup.sh
│ └── shutdown.bat / shutdown.sh
├── conf/
│ ├── server.xml # Hardened: masked banner, RemoteIpValve, ErrorReportValve
│ ├── context.xml # Hardened: HttpOnly & SameSite=lax cookie policy
│ └── web.xml
├── dumps/ # Dedicated folder for OutOfMemoryError .hprof dumps
├── logs/ # Catalina, GC (gc.log) & access logs
└── webapps/
└── ROOT/ # Clean instant verification landing application (no bloat)
Customize setenv.sh / setenv.bat & Explore Tomcat Production Guides
The bundled tomcat/bin/setenv.sh and tomcat/bin/setenv.bat scripts are pre-configured for general 2 GB heap workloads. For production servers with 4 GB to 128 GB RAM, high-concurrency JDBC pools, or low-pause GC requirements, use our engineering calculators and configuration guides below:
Calculate deterministic -Xms, -Xmx, MaxMetaspaceSize, and direct memory budgets for your exact server RAM.
Deep-dive into G1GC pause targets, Generational ZGC sub-millisecond latency, string deduplication, and connector thread sizing.
Configure sandboxed /etc/systemd/system/tomcat.service units, POSIX permissions, and Windows Server services.
Harden server.xml with RemoteIpValve, ErrorReportValve, NGINX/Cloudflare proxy headers, and cookie policies.
Configure NIO2/OpenSSL connectors, PKCS12 keystores, Let's Encrypt certificates, and HSTS headers.
Generate production context.xml JNDI DataSource pools for PostgreSQL, MySQL, Oracle, and SQL Server with leak detection.
Prevent disk exhaustion with logrotate for catalina.out, asynchronous JULI logging, and centralized log shipping.
Inspect JVM thread states, deadlocks, and thread pool saturation, or visit the .