You can follow below steps add Tomcat to CageFS:
First you have to add tzdata-java RPM to CageFS with below command:
Now create /etc/cagefs/conf.d/java.cfg with following:
At last update CageFS and remount it, for that you have to use below details:
First you have to add tzdata-java RPM to CageFS with below command:
Code:
$ cagefsctl --addrpm tzdata-java
Code:
[java-custom]
comment=Java-custom
paths=/usr/bin/java, /etc/alternatives/java
Code:
$ cagefsctl --force-update
$ cagefsctl --remount-all