I have some queries regarding the Jbpm Shutdown. Our Web Application is using Jbpm service deployed in Jboss. And the Java Jbpm Activities are using EJB's that are deployed into our application.
My Queries are:
1. What will happen with the current running jBPM Process will they be paused and then start again on next restart if i shutdown the server ?
2. When we shutdown the JBoss server first out application is unloaded and then the Jbpm Service so in that case some of the Running jbpm processes gives and EJB Not Bound exception. Is there any way i can control the Jbpm shutdown through our application so that when all the jBPM Processes are completed then application should shutdown.