5 Replies Latest reply: Dec 4, 2012 10:43 AM by user552098 RSS

    OIM is not calling stop method in Scheduled Job

    user552098
      I have a Scheduled Job that I want to be able to manually stop by pressing the Stop button. I also have the following method defined in my Scheduled Task job:

      @Override
      public boolean stop() {
      _bStopFlag = true;
      logger.log(Level.INFO, "**** STOP REQUEST INTERRUPT ****");
      return true;
      }
      However, when I press the Stop button my stop method is not getting called. The log message is not getting output and the _bStopFlag is not getting set to true. The result is that the task never stops but runs to completion.

      What do I need to do in order to get OIM to call my stop method?
      Thank you.
      -Dave