Undeploy multiple SOA composites with WLST or ANT by Danilo Schmiedel

As part of our current project the Build Management team asked for a solution to undeploy multiple composites at one time. Of course you have the “Undeploy All from This Partition” menu option in Enterprise Manager but since we have a lot of deployments every day the guys wanted to have a script solution. It is even more important for the nightly deployments on our continuous integration environment – strange, we couldn’t find anybody who wants to do the undeployment via Enterprise Manager manually every night 😉
However with WLST or ANT the SOA Suite comes with two options to undeploy composites via script. In this article I’d like to explain you both ways.

Undeployment with WLST
You can test the steps below on Oracle’s Pre-built Virtual Machine for SOA Suite and BPM Suite 11g.

  • Change to the WLST directory under MIDDLEWARE_HOME/Oracle_SOA1/common/bin.
    cd /oracle/fmwhome/Oracle_SOA1/common/bin/
  • Open WLST
    ./wlst.sh
  • Connect to the SOA server
  • Read the full article by Danilo Schmiedel

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit  www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum

Unknown's avatarAbout Jürgen Kress
As a middleware expert Jürgen works at Oracle EMEA Alliances and Channels, responsible for Oracle’s EMEA Fusion Middleware partner business. He is the founder of the Oracle SOA & BPM and the WebLogic Partner Communities and the global Oracle Partner Advisory Councils. With more than 5000 members from all over the world the Middleware Partner Community is the most successful and active community at Oracle. Jürgen manages the community with monthly newsletters, webcasts and conferences. He hosts his annual Fusion Middleware Partner Community Forums and the Fusion Middleware Summer Camps, where more than 200 partners get product updates, roadmap insights and hands-on trainings. Supplemented by many web 2.0 tools like twitter, discussion forums, online communities, blogs and wikis. For the SOA & Cloud Symposium by Thomas Erl, Jürgen is a member of the steering board. He is also a frequent speaker at conferences like the SOA & BPM Integration Days, JAX, UKOUG, OUGN, or OOP.

One Response to Undeploy multiple SOA composites with WLST or ANT by Danilo Schmiedel

  1. Nits's avatar Nits says:

    Very nice, I posted on some other common WLST tasks one can perform using the scripts.
    @ http://nitinaggarwal.wordpress.com/2012/05/31/managing-composite-state-using-command-line-wlst/

Leave a reply to Nits Cancel reply