anchor.diff:                  fi
                   log_success_msg
               fi
  -            rm -f ${LOCK_DIR}/${NAME} /var/run/${NAME}.pid
  +            rm -f ${LOCK_DIR}/${NAME} ${CATALINA_PID}
           else
               log_failure_msg
               RETVAL="4"
  
positive.code:         start
          ;;
      condrestart|try-restart)
          if [ -f "/var/run/${NAME}.pid" ]; then
              stop
              start
          fi
  
negative.code: 
  function checkpidfile()
  {
     if [ -f "${CATALINA_PID}" ]; then
        read kpid < ${CATALINA_PID}
        if [ ! -z ${kpid} ] && [ -d "/proc/${kpid}" ]; then
  # The pid file exists and the process is running
            RETVAL="0"
        else
  