About Apache Tomcat
Apache Tomcat is an Apache-2.0 implementation of the Jakarta Servlet, Pages, Expression Language and WebSocket specifications. Copy a WAR into webapps and it deploys automatically.
Supported lines are Tomcat 11 for Jakarta EE 11 (Java 17 or newer), 10.1 for Jakarta EE 10 and 9.0 for Java EE 8 apps. A CloudSat VPS gives your apps their own JVM, free of shared-hosting limits.
After deploy Tomcat listens on port 8080. The Manager app stays locked until you add a user with the manager-gui role.
What you get with Apache Tomcat
- Servlet, JSP, EL and WebSocket support
- Hot deployment of WAR files
- Manager and Host Manager web apps
- HTTP/2 and TLS connectors
- Clustering with session replication
Apache Tomcat use cases
- Host a Spring or Jakarta EE web app
- Keep legacy Java EE 8 apps alive on Tomcat 9
- Stage WAR builds from a CI pipeline
After you deploy Apache Tomcat
- When CloudSat reports Running, check
http://<server IP>:8080for the Tomcat welcome page. - Over SSH as root, add a user with the
manager-guirole toconf/tomcat-users.xml, then restart Tomcat. - The Manager accepts local connections only by default, so reach it through an SSH tunnel instead of opening it up.
- For public apps, put a reverse proxy with HTTPS on ports 80 and 443 in front of port 8080.
Apache Tomcat ports
Open these in your firewall if you use one: 8080/tcp HTTP connector.
Apache Tomcat FAQ
Which Tomcat version fits my app?
Tomcat 11 implements Jakarta EE 11 and needs Java 17, 10.1 covers Jakarta EE 10, and 9.0 runs Java EE 8 apps built on javax packages.
Why does the Manager app return 403?
Either no user holds the manager-gui role in tomcat-users.xml, or you are connecting remotely: the Manager only accepts localhost by default.
Disclaimer. The Apache Tomcat project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.