Apache Tomcat on SUSE Linux Enterprise Server
- WHAT?
The Apache Tomcat on SUSE Linux Enterprise Server is a SUSE-supported, preconfigured cloud image designed to streamline the deployment of Java-based web applications. This image is built on a reliable SLES foundation and is preinstalled and preconfigured with the latest versions of OpenJDK and Apache Tomcat components.
- WHY?
To learn how to quickly deploy Java applications, reducing the manual effort and time typically required to set up a Java/Tomcat environment.
- EFFORT
It takes about 5 minutes to read the article.
- GOAL
The reader will understand how to use the image, deploy their application, locate log files, and know how updates and support are handled.
1 About the image #
The image is identified as Apache Tomcat on SUSE Linux Enterprise Server. It
contains the following components:
Operating system SUSE Linux Enterprise Server 16.0
Java Runtime: OpenJDK 21
Application server: Apache Tomcat 9
Lifecycle and maintenance of the image are directly tied to SLES 16.0, ensuring consistent access to security patches and bug fixes. This means the following:
Updates: updated images are provided regularly to include the latest SLES security patches. Timely updates for OpenJDK and Tomcat to address security vulnerabilities and critical bug fixes can be applied using the Zypper command.
Support: For any issues, you can follow SUSE's standard support procedures for SLES. Support is available through the SUSE Customer Center.
2 Getting started #
To get started with the Apache Tomcat on SLES AWS AMI, you only need to provision a new instance and deploy your application. The image reduces the manual effort and time required to set up Java/Tomcat environments.
2.1 Accessing the instance using SSH #
To connect to your instance, use the ec2-user as the username and the SSH key you selected during instance creation.
2.2 Deploying applications #
The image is configured to automatically start Apache Tomcat at boot. To deploy your web application, copy your WAR (Web Application Archive) files to the /srv/tomcat/webapps/ directory.
Tomcat log files are located in /var/log/tomcat/. Check these log files when troubleshooting and monitoring your application.
3 Legal Notice #
Copyright© 2006–2025 SUSE LLC and contributors. All rights reserved.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or (at your option) version 1.3; with the Invariant Section being this copyright notice and license. A copy of the license version 1.2 is included in the section entitled “GNU Free Documentation License”.
For SUSE trademarks, see https://www.suse.com/company/legal/. All other third-party trademarks are the property of their respective owners. Trademark symbols (®, ™ etc.) denote trademarks of SUSE and its affiliates. Asterisks (*) denote third-party trademarks.
All information found in this book has been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. Neither SUSE LLC, its affiliates, the authors, nor the translators shall be held liable for possible errors or the consequences thereof.