-
Bug
-
Resolution: Done
-
Critical
-
6.0.2
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: