Described below in FIG catalina.sh, JAVA_HOME environment variable can be configured in the file setenv.sh CATALINA_BASE / bin / directory (by default this file does not exist)
Create a file setenv.sh, add the following information in the file
#!/bin/sh
export JAVA_HOME=/usr/local/jdk1.8.0_191/
This eliminates the need to configure the JAVA_HOME environment variable in the / etc / profile file, allowing the user to start tomcat exemption limit.