Saturday, 9 February 2013

Listing and stopping Business Process Choreographer instances

Counting BPC Instances
dmgrProfile/bin/wsadmin.sh -lang jython -user bob.clarke -password mypassword -f /opt/bpm/ProcessChoreographer/admin/listTemplates.py -cluster PCUAT001.AppTarget] -countInstances

Stopping (troublesome) BPC Instances
Note, although it's possible to force stop a BPC template (i.e. the JEE app) it doesn't seem possible force termination of a running instance of it. from what I can see the only way to do this is to forcible un-install it (after which you would need to re-install it - very strange, but gets you out of sticky situations)
dmgrProfile/bin/wsadmin.sh -user bob.clarke -password mypassword -f /opt/bpm/ProcessChoreographer/admin/bpcTemplates.jacl -unintall myApplication -force -cluster PCUAT001.AppTarget

No comments:

Post a Comment