Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3826

Task deadline timers leave stale entries in Database in multi-node setup and fired repeatedly

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 7.12.0.GA
    • 7.11.1.GA
    • jBPM Core
    • None
      • 2 kie-server pods created using operator
      • EJB timer with DB persistence and refresh-interval=15000
      • a human task node with notifications or reassignments defined
         
    • 2021 Week 31-33 (from Aug 2)

    Description

      Customer is getting the following error:

       java.lang.RuntimeException: org.kie.internal.runtime.manager.SessionNotFoundException: No session found for context 1111
      
      {color:#202124}10:17:34,427 DEBUG [org.jbpm.process.core.timer.impl.GlobalTimerService] (Thread-5 (ActiveMQ-client-global-threads)) Found match so removing job handle EjbGlobalJobHandle [uuid=2222-1111-Sub Process 1-Timeout Timer-1] from sessions 2222 handles{color}
      
       
      
      {color:#202124}10:17:34,465 DEBUG [org.jbpm.runtime.manager.impl.mapper.JPAMapper] (Thread-5 (ActiveMQ-client-global-threads)) Removing ContextMappingInfo \{ksessionId=2222, ownerId=NewApprovalProcessContainer, contextId=1111}{color}
       
       10:17:54,141 ERROR [stderr] (EJB default - 1) java.lang.RuntimeException: org.kie.internal.runtime.manager.SessionNotFoundException: No session found for context 1111
       
      

      But we have in

      {{SELECT * FROM ProcessInstanceLog where processInstanceId=}}1111

      3333,1111,4444,2021-07-29 10:17:34.4520000,NewProcessContainer

       
       

      Attachments

        Activity

          People

            elguardian@gmail.com Enrique González Martínez (Inactive)
            rhn-support-jortizpa Jose Ortiz Padilla
            Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
            Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: