Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-561

Deployment unit does not survive server reload

XMLWordPrintable

      Description of problem:

      If you restart bpm server via cli, using :reload command

      the deployment unit does not survive.

      Version-Release number of selected component (if applicable):
      bpm 6.0.2

      How reproducible:
      always

      Steps to Reproduce:
      1. Build & Deploy project
      2. issue :reload command from cli
      3. Go check deployments - it's empty (this is already unexpected)
      4. process definitions - empty also
      5. Navigate to Tools -> Project Editor, try to build the project again

      It will fail with the following message:
      Deployment of unit org.kie.example:project1:1.0.0-SNAPSHOT failed: java.lang.IllegalStateException: RuntimeManager with id org.kie.example:project1:1.0.0-SNAPSHOT is already active

      stacktrace displayed in server.log is attached. it's pretty much the same though.

      6. if you restart the server completely (ctrl+c) then everything is back to normal - the deployment will be shown under Deploy - > Deployments and you can execute Build & Deploy command without any issues.

      Actual results:

      Deployment units does not survive server reload via cli
      Expected results:
      Deployment units survive server reload via cli without any issues

      Additional info:

        1. [0] server.log.log
          10 kB
          Anton Giertli
        2. 6.1 ER2 server.log.log
          337 kB
          Zuzka Krejčová

            swiderski.maciej Maciej Swiderski (Inactive)
            rhn-support-agiertli Anton Giertli
            Marek Baluch Marek Baluch
            Linda Snyder Linda Snyder (Inactive)
            Marek Baluch Marek Baluch
            Alessandro Lazarotti, Kris Verlaenen, Marek Baluch, Zuzka Krejčová (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: