I have created a webservice (JAX-WS) using Spring and Hibernate, which is deploy into the JBoss EAP server as a war file. Inside this webservice, I have a class that will pull the kjar remotely using http as below:
After that i will use the kContainer to make newKieSession to run the BRMS rules.
In the kjar, I have a process (.bpmn2) which is used to control the ruleflow-group. Everything in the webservice works perfectly if concurrent calls does not occur. However, if there is concurrent call calling the webservice, the webservice will just hang without any exception/error.