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

EJB Timer error in development mode for existing process during deploy

    Details

    • Sprint:
      2019 Week 11-13
    • Steps to Reproduce:
      Hide
      1. deploy Evaluation_process sample
      2. start process instance 'evaluation'
      3. Go to projects perspective
      4. go to project Evaluation_Process
      5. select PerformanceEvaluation-taskform
      6. edit the form (drag BusinessAdministratorId modal field into the form)
      7. save the form
      8. go to project
      9. click Deploy
      10. wait ~1 minute for the error and stacktrace to appear in server.log
      Show
      deploy Evaluation_process sample start process instance 'evaluation' Go to projects perspective go to project Evaluation_Process select PerformanceEvaluation-taskform edit the form (drag BusinessAdministratorId modal field into the form) save the form go to project click Deploy wait ~1 minute for the error and stacktrace to appear in server.log
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      There's an unexpected EJB Timer error in server.log when redeploying project in development mode (using the 'Deploy' button only).

      Important aspect of the issue is that there's an active process when redeploying.

      See steps to reproduce.

      See also full server.log in attachment.

      WARN  [org.jbpm.services.ejb.timer.EJBTimerScheduler] (EJB default - 6) Execution of time failed
      due to Runtime manager evaluation_1.0.0-SNAPSHOT is already closed: java.lang.IllegalStateException:
      Runtime manager evaluation_1.0.0-SNAPSHOT is already closed
      .
      .
      .
      ERROR [org.jboss.as.ejb3.timer] (EJB default - 6) WFLYEJB0020: Error invoking timeout for timer:
      [id=b37a6b61-35e4-461b-bfc5-ab2967e0e562 timedObjectId=kie-server.kie-server.EJBTimerScheduler
      auto-timer?:false persistent?:true timerService=org.jboss.as.ejb3.timerservice.TimerServiceImpl@3714a9d0
      initialExpiration=Thu Mar 14 15:32:40 CET 2019 intervalDuration(in milli sec)=0 nextExpiration=null
      timerState=IN_TIMEOUT info=EjbTimerJob [timerJobInstance=GlobalJpaTimerJobInstance
      [timerServiceId=evaluation_1.0.0-SNAPSHOT-timerServiceId, getJobHandle()=EjbGlobalJobHandle
      [uuid=6_14_START]]]]: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.IllegalStateException:
      Runtime manager evaluation_1.0.0-SNAPSHOT is already closed
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pere.fernandez Pere Fernandez Perez
                  Reporter:
                  pere.fernandez Pere Fernandez Perez
                  Tester:
                  Jan Stastny
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: