Tomcat 10.x on RHEL 8/9
This article describes the procedure for installing and configuring Apache Tomcat 10.x to deploy the OvalEdge application on RHEL 8/9 systems. It outlines the required setup, configuration steps, and service enablement. The guide ensures a consistent and repeatable installation process aligned with OvalEdge deployment standards.
Prerequisites
User account with sudo privileges
Stable internet connection
Access to the OvalEdge application package (WAR file)
Required configuration files (oasis.properties, log4j.properties)
Steps Involved
Create Required Directories
Log in to the application VM and create directories to store application configuration files.
Download Apache Tomcat
Download the hardened Tomcat package using the following command:
wget https://ovaledge.s3.us-west-1.amazonaws.com/scripts/hardened_tomcat/apache-tomcat-10.1.40.tar.gzSample Reference Screenshot:

Extract the Tomcat Archive
Extract the downloaded archive:
tar -xvf apache-tomcat-10.1.40.tar.gzSample Reference Screenshots:


Configure Environment Settings
Navigate to the Tomcat bin directory and create the setenv.sh file:
vi apache-tomcat-10.1.40/bin/setenv.shAdd the following configuration:
export CATALINA_OPTS="-Duse.http=true -DOVALEDGE_SECURITY_TYPE=db -Dlog4j.configuration=file:/home/ovaledge/extprop/log4j.properties -Dext.properties.dir=file:/home/ovaledge/extprop/ -Xms4g -Xmx7g -DOVALEDGE_ENCRYPT_DECRYPT_KEY=<client_input> --add-opens=jdk.zipfs/jdk.nio.zipfs=ALL-UNNAMED --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED"Sample Reference Screenshot:

Deploy the OvalEdge Application
Navigate to the webapps directory and place the ovaledge.war file (provided by the OvalEdge team). Sample Reference Screenshot:

Configure Tomcat as a System Service
Navigate to the systemd directory:
Create the service file:
Add the following configuration:
Sample Reference Screenshot:

Save the file.
Enable and Start Tomcat Service
Reload systemd and start the Tomcat service:
Sample Reference Screenshot:

Validate the Deployment
Access the application using a web browser:
Allow approximately 2 minutes for the application to initialize.

Copyright © 2026, OvalEdge LLC, Peachtree Corners, GA, USA.
Last updated
Was this helpful?

