SV-222973r615938_rule
V-222973
SRG-APP-000223-AS-000150
TCAT-AS-000820
CAT III
10
From the Tomcat server as a privileged user:
edit the /etc/systemd/system/tomcat.service file and either add or edit the org.apache.catalina.connector. RECYCLE_FACADES setting.
Set the org.apache.catalina.connector. RECYCLE_FACADES=true.
EXAMPLE:
Environment='CATALINA_OPTS -Dorg.apache.catalina.connector. RECYCLE_FACADES=true'
Restart the Tomcat server:
sudo systemctl restart tomcat
sudo systemctl daemon-reload
From the Tomcat server as a privileged user, run the following command:
sudo grep -i recycle_facades /etc/systemd/system/tomcat.service
If there are no results, or if the org.apache.catalina.connector. RECYCLE_FACADES is not ="true", this is a finding.
V-222973
False
TCAT-AS-000820
From the Tomcat server as a privileged user, run the following command:
sudo grep -i recycle_facades /etc/systemd/system/tomcat.service
If there are no results, or if the org.apache.catalina.connector. RECYCLE_FACADES is not ="true", this is a finding.
M
4094