[jboss-user] [jBPM] - Re: JBPM4.4 application deployment/startup issue in Tomcat

Felix Jose do-not-reply at jboss.com
Tue Nov 2 14:41:44 EDT 2010

Felix Jose [http://community.jboss.org/people/FelixKJose] created the discussion

"Re: JBPM4.4 application deployment/startup issue in Tomcat"

To view the discussion, visit: http://community.jboss.org/message/569383#569383

Hi Michael,

I have tested that and is working fine.

I have one more doubt, Currently I am not able to hot deploy my JBPM application in Tomact. What I mean by hot deployment is deploy the application without stopping the Tomcat. When I am trying to undeploy the application without stopping the Tomcat I am getting an error saying that some of the JBPM related resources are in use cannot undeploy the application. So for undeploy and deploy the application everytime we need to stop the Tomcat and start it. This wont be possible once the application moves into production environment because there in one tomcat there might be number of applications running. So stopping tomcat wont be possible. Currently what I am doing following in the code to close JBPM resources:

     * Destroys all the instances.
     * @throws WorkFlowException
     * @throws WorkFlowRuntimeException
    public void destroy() throws WorkFlowException, WorkFlowRuntimeException {
        // destroying the JBPM resources.
        if (null != processEngine) {

This destroy() method will get called when the spring context is getting destroyed that means whenever we are undeploying the application. But this  is not helping me to do a hot deployment. Can you please let me know whatelse I need to do ? What are the other possible JBPM resources I need to close?

With Regards,
Felix K Jose

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101102/43145f32/attachment.html 

More information about the jboss-user mailing list