2 Replies Latest reply on May 17, 2006 9:20 AM by nsobti

    CommandExecutorThread

    nsobti

      Hello,

      I have a question about the CommandExecutorThread.

      Consider the following scenario:

      I bring down my jBPM server abruptly (without explicitly aborting and interrupting the thread), and the CommandExecutorThread was processing a notification, which caused it to execute an ActionHandler.
      Now, when I bring this thread up again, then will it pick up the unfinished notification and process it (I am guessing that it would because the notification was not marked as completed). Or do I need to explicity trigger this?

      Thanks.

        • 1. Re: CommandExecutorThread
          tom.baeyens

          should be automatic as you suggest.

          bringing down the jbpm server abruptly should imply that the transaction does not get committed.

          • 2. Re: CommandExecutorThread
            nsobti

            Thanks for the reply.

            So, in this case, is it safe to assume that if node N was being executed when the jBPM server was brought down, then it will execute N from the beginning (possibly redoing some operations in N) when the server is brought back up.


            Thanks.