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

Michael Wohlfart do-not-reply at jboss.com
Sat Oct 30 09:29:17 EDT 2010

Michael Wohlfart [http://community.jboss.org/people/mwohlf] created the discussion

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

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

Hi Felix,

you don't need to deploy the process definition on each restart of your application as long as it doesn't change, deploying the process definition once is perfectly enough. The Process definition is persisted in the database and will be there after the restart so your workflow will work fine by using the already persisted version in the database.  You can check if a precess definition is there by using
int count = repositoryService.createProcessDefinitionQuery().processDefinitionName(processDefinitionName).list().size();

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/20101030/0d83b411/attachment.html 

More information about the jboss-user mailing list