[jboss-user] [jBPM] - [JBPM]Orchestration undeployment.

Yuriy R do-not-reply at jboss.com
Thu Nov 3 06:29:17 EDT 2011


Yuriy R [http://community.jboss.org/people/yrachek] created the discussion

"[JBPM]Orchestration  undeployment."

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

--------------------------------------------------------------
While deployment of orchestration I want to undeploy all previous versions of it.

To find them I use 
bpelGraphSession.findAllProcessDefinition(name + "$%", orchestrationId);

Then I deleting them all using this:

     graphSession.deleteProcessDefinition( pfd);

But need I delete something else to full DB clearance from information that not already useful ?

I tried to delete Deployment Descriptors for each ProcessDefinition that I found :

deploymentDescriptors = bpelGraphSession.findDeploymentDescriptors( pfd.getName());

but got some exception(Hibernate =something like : couldn't delete because it has parent) while deleting some of them.

Thnx !
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/634786#634786]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111103/9a2d4430/attachment.html 


More information about the jboss-user mailing list