Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11750

After Camunda restart existing deployments are not registered with the engine

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. Start Camunda Platform in version 7.12
      2. Create a process application containing a BPMN process
      3. Deploy that process application -> a process definition in version 1 is created:
        ENGINE-08023 Deployment summary for process archive 'foo':
        
                process.bpmn
        
        06-Apr-2020 15:36:01.944 INFORMATION [Catalina-utility-2] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-07021 ProcessApplication 'foo' registered for DB deployments [1]. Will execute process definitions
        
                process[version: 1, id: proocess:...]
        
      4. Adjust the process application by changing the BPMN process
      5. Redeploy process application -> a process definition in version 2 is created:
        ENGINE-08023 Deployment summary for process archive 'foo':
        
                process.bpmn
        
        06-Apr-2020 15:40:01.944 INFORMATION [Catalina-utility-2] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-07021 ProcessApplication 'foo' registered for DB deployments [1, 2]. Will execute process definitions
        
                process[version: 1, id: proocess:...]
                process[version: 2, id: proocess:...]
        
      6. Open Cockpit and delete the latest process definition (version 2)
      7. Restart the server

      Expected Behavior:

      • The deployment for process definition version is registered with the engine
        ENGINE-08023 Deployment summary for process archive 'foo':
        
                process.bpmn
        
        06-Apr-2020 15:40:01.944 INFORMATION [Catalina-utility-2] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-07021 ProcessApplication 'foo' registered for DB deployments [1, 2]. Will execute process definitions
        
                process[version: 1, id: proocess:...]
        

      Observed Behavior:

      • The existing deployment for process definition version 1 is not registered with the engine:
        ENGINE-08023 Deployment summary for process archive 'foo':
        
                process.bpmn
        
        04-Apr-2020 17:06:23.569 INFO [main] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-07021 ProcessApplication 'foo' registered for DB deployments [2]. Deployment does not provide any process definitions.Deployment does not provide any case definitions.
        

      So that:

      • When using embedded forms, these forms cannot be loaded anymore.
      • Java classes cannot be found.

      Hint:

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                michael.schoettes Michael Schoettes
                roman.smirnov Roman Smirnov
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce