Hi all,
I have a requirement where in i need to automate the deployment of enterprise applications(.ear) (install/uninstall/update) using jacl scripting..
In Websphere Process Server, it is observed that before uninstalling or updating an application(.ear) which has a Business Process(BPEL), the BPEL Process should be stopped and then we proceed further for uninstalling or updating the EAR.Otherwise it will result in the failure in the uninstallation process.
We want to automate the process of checking the state of BPEL process before moving ahead with uninstalling of EAR.
My requirement is:
1. A script(jacl) should check the state of BPEL Process(started or stopped). If it is started, then it should stop the BPEL.
2. Then another script should uninstall or update the EAR which has that BPEL Process.
Need some assistance in this regard. Please provide some guidelines to accomplish this task.
Thanks in advance.