Steps:
- Create a file setenv.sh in Tomcat/bin folder
- Edit this file and set the variable CATALINA_PID with the pid.txt file path.
Note: pid .txt file created at runtime in Tomcat/bin folder when tomcat gets started.
ExampleCATALINA_PID=/opt/openspecimen/tomcat/bin/pid.txt
- When using shutdown.sh, use the option -forceExample
shutdown.sh -force