Created attachment 918427 [details]
Description of problem:
Having Business-central deployed on EAP 6.3.0 or EAP 6.1.1, after an attempt to stop the server via SIGINT (ctrl+c), it's still running. Attaching thread dump from the described situation, there are several threads waiting in org.uberfire.java.nio.fs.jgit.JGitFileSystem$4.take(JGitFileSystem.java:298).
In comparison with BRMS-6.0.2.GA, there are 2 additional threads waiting inside the method stated above:
"EJB default - 1" and "EJB default - 2"
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
Please see the attached thread dump for more details.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. deploy Business-central to EAP 6.3.0 (tried with EAP 6.3.0.Beta1)
2. stop the EAP by using ctrl+c => still running
alternatively, use EAP 6.1.1, the issue shows itself there as well.
Verified with both BPMS and BRMS 6.1.0.DR2