Ready-to-use server

Standalone Tomcat

Java Servlet and JSP Platform

Standalone Tomcat screenshots

Tomcat is a servlet container that implements the Java Servlet and the JavaServer Pages (JSP) specifications, and provides a "pure Java" HTTP web server environment for Java code to run in. Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.

This appliance configures Tomcat as a standalone application server (that is, without an external web server). A Tomcat on Apache Appliance is also available for integrations requiring a fully-featured web server.

This appliance includes all the standard features in TurnKey Core, and on top of that:

  • Tomcat configurations:

    • Tomcat 10.1 installed from Debian package management.

    • Using the OpenJDK 21 Java runtime from Debian.

    • Web applications in /var/lib/tomcat10/webapps.

    • Includes TurnKey web control panel.

    • Created Tomcat admin/manager roles and admin user.

    • Tomcat Manager at /manager/html and Virtual Host Manager at /host-manager/html.

    • Binds the Tomcat HTTP connector directly to port 80 (default: 8080).

    • Binds the Tomcat SSL interface directly to port 443 (default: 8443).

    • Disabled AJP connector on port 8009 (security).

    • Tomcat and Java environment variables configuration system wide.

  • Includes MariaDB, a MySQL-compatible database server.

  • SSL support out of the box.

  • Postfix MTA (bound to localhost) to allow sending of email from web applications (e.g., password recovery).

Credentials (passwords set at first boot)

  • Webmin, SSH, MariaDB: username root

  • Tomcat administration applications: username admin

Stable version: 19.0 (changelog)

Usage details & Logging in for Administration

No default passwords: For security reasons there are no default passwords. All passwords are set at system initialization time.

Ignore SSL browser warning: browsers don't like self-signed SSL certificates, but this is the only kind that can be generated automatically without paying a commercial Certificate Authority.

Username for tomcat administration applications:

Login as username admin

Web - point your browser at either:

  1. http://12.34.56.789/ - not encrypted so no browser warning
  2. https://12.34.56.789/ - encrypted with self-signed SSL certificate

Username for database administration:

Login as MySQL username root at

  1. https://12.34.56.789:12322/ - Adminer database management web app
  2. MySQL command line tool:
    $ mysql --user root --password
    Enter password:
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    
    mysql>
    

Username for OS system administration:

Login as root except on AWS marketplace which uses username admin.

  1. Point your browser to:
  2. Login with SSH client:
    ssh root@12.34.56.789
    

    Special case for AWS marketplace:

    ssh admin@12.34.56.789
    

* Replace 12.34.56.789 with a valid IP or hostname.