Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-1186

jobexecutor (threads) not stopped when JobExecutorServlet is destroyed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jBPM 3.2.3
    • jBPM 3.2.2
    • Runtime Engine
    • None

      According to the javadoc of the jobexecutor servlet:

      /**

      • starts the job executor on init and closes the
      • jbpm configuration upon destroy. The closing of the
      • jbpm configuration will also shut down the job executor
      • thread pool.

      There is no destroy method, so nothing wil happen. Threads keep running. Secondly, I'm not sure closing the jBPM context is what we want there. Can't we just call jobExecutor.stop()? In case we just want to stop it?

      A stop/start method on the servlet with a param is also handy.... e.g. from the webconsole????

              kukeltje_jira Ronald van Kuijk (Inactive)
              kukeltje_jira Ronald van Kuijk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 20 minutes
                  20m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes Time Not Required
                  10m