Introduction
This article provides details on how to add Tomcat to CageFS.
Procedure
Add the tzdata-java RPM to CageFS:
$ cagefsctl --addrpm tzdata-java
Create /etc/cagefs/conf.d/java.cfg with the following configured within it:
[java-custom] comment=Java-custom paths=/usr/bin/java, /etc/alternatives/java
Update the CageFS skeleton and remount all by running the following commands:
$ cagefsctl --force-update $ cagefsctl --remount-all