Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Steps:

  1. Create a file setenv.sh in Tomcat/bin folder
  2. 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.

    Code Block
    languagebash
    titleExample
    CATALINA_PID=/opt/openspecimen/tomcat/bin/pid.txt


  3. When using shutdown.sh, use the option -force



    Code Block
    languagebash
    titleExample
    shutdown.sh -force