Author: Derek Leung 

Product version: 2024.X (tested on 2024.2)



Need

Customer wants to understand the Tomcat9 Directory structure in Semarchy xDM VM - the Amazon Machine Image (AMI) and Azure Solution Template for better management. 



Detailed Solution


Here are files or directories related to Tomcat9:


/etc/default/tomcat9 - You can configure environment variables like JAVA_HOME, JAVA_OPTS


/var/lib/tomcat9 - conf, lib, logs, work


/usr/share/tomcat9 - bin


Command to start tomcat9: sudo service tomcat9 start

Command to stop tomcat9: sudo service tomcat9 stop