Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-537

provide a workaround for non-LSB compliant catalina.sh handling of a stop action

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • general
    • None

    Description

      Turns out that the default catalina.sh stop action is a weird in how it handles a missing PID file:

       if [ ! -z "$CATALINA_PID" ]; then
          if [ -f "$CATALINA_PID" ]; then
          ...
          else
            echo "\$CATALINA_PID was set but the specified file does not exist. Is Tomcat running? Stop aborted."
            exit 1
          fi
        fi
      

      This, effectively, means that one can't stop an already stopped service cleanly.

      Attachments

        1. BIGTOP-537.patch.txt
          0.7 kB
          Roman Shaposhnik

        Activity

          People

            rvs Roman Shaposhnik
            rvs Roman Shaposhnik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: