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

ClusteredJobFailOverListener fails to remove data from cache

    XMLWordPrintable

Details

    Description

      Using a 2 node cluster we can see that jobs are added to the cache as expected:

      DEBUG [org.kie.server.services.jbpm.cluster.ClusteredJobFailOverListener] (default task-19) Adding job scheduled AsynchronousJobEventImpl [job=RequestInfo{id=8278, ...] for failover
      

      However, the corresponding "Removing" message is not executed, and when the node is shut down, all jobs are being retried on the other running node:

      WARN  [org.jbpm.executor.impl.jpa.ExecutorRequestAdminServiceImpl$RequeueRunningJobCommand] (thread-34,ejb,mweiler) Error while trying to requeue jobs that runs for too long Retrying completed or cancelled job is not allowed (job id 8278)
      

      It seems hasListeners in ExecutorEventSupportImpl does not return true.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-egonzale Enrique Gonzalez Martinez (Inactive)
              rhn-support-egonzale Enrique Gonzalez Martinez (Inactive)
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: