Tomcat 10.1.x on Amazon Linux
This document provides step-by-step instructions for installing and configuring the OvalEdge application on Amazon Linux using Apache Tomcat 10.1.x. It covers user creation, Java and Tomcat setup, database and Elasticsearch integration, and deployment of the OvalEdge application.
Prerequisites
User Access: Installer must have sudo privileges.
System: Amazon Linux VM with sufficient CPU, memory (≥8 GB), and disk space for two Tomcat instances.
Network: Internet access; required ports open: 8080 (UI), 8081 (Job), 3306 (MySQL), 9200 (Elasticsearch, if used).
Artifacts:
ovaledge.war, external JARs,log4j.properties, andoasis.propertiesavailable in the user’s home directory.Database & Elasticsearch: Target MySQL and Elasticsearch must be accessible with credentials for
oasis.properties.
Steps Involved
Create OvalEdge User
Create a new system user for OvalEdge:
sudo adduser ovaledgeSet a password for the new user:
sudo passwd ovaledgeAdd the user to the
wheelgroup for administrative privileges:sudo usermod -aG wheel ovaledgeSwitch to the OvalEdge user account:
sudo su - ovaledge
Create Required Directories
Create the following directories under the OvalEdge user home directory or a mounted directory:
Download all shared artifacts (
.jars&.war) into theovaledgefolder under the user's home directory.Download the
log4j.propertiesandoasis.propertiesfiles into theovaledge/extpropfolder.
Java Installation
Update system packages:
Install Java 17 (Amazon Corretto):
Verify the Java installation:
Tomcat Setup
Tomcat UI Installation
Download Tomcat in the
ovaledgedirectory:Extract the downloaded archive:
Rename the extracted folder to
tomcatui:Move the
ovaledge.warfile to thewebappsfolder:Create
setenv.shintomcatui/bin/with the following parameters:
Tomcat Job Installation
Copy
tomcatuito createtomcatjob:Edit the
server.xmlfile intomcatjob/conf/to update ports:Change HTTP port from
8080→8081
Change shutdown port from
8005→8006
In
tomcatjob/bin/, createsetenv.shwith the following:
Tomcat as a Service
Go to
/etc/systemd/systemand create service files:Tomcat UI (
tomcat1.service):Tomcat Job (
tomcat2.service):
Apply SELinux context for Tomcat directories:
Set up Database
Navigate to
extprop:
Update
oasis.propertieswith database details:
⚠️ After executing the OvalEdge Master database, change the default user password and update it in
oasis.properties. Sample Reference Screenshot:
Elasticsearch Integration
Edit
oasis.propertiesinextpropto configure Elasticsearch variables (es.password,es.host, etc.). Sample Reference Screenshot:
External Jars Path
In
oasis.properties, update the path to the external JARs:
Sample Reference Screenshot:

Run OvalEdge
Reload systemd and enable services:
Start the Tomcat services:
Check the status of both services:
Check Tomcat UI logs:
Access the application at:
Apply the license provided by the OvalEdge CSM Team.
Log in with the one-time admin credentials and immediately change the default password.
Copyright © 2025, OvalEdge LLC, Peachtree Corners, GA, USA.
Last updated
Was this helpful?

