Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Business process deployment capability is provided by the following feature in the WSO2 feature repository:

Name : WSO2 Carbon - BPEL Application Deployer Feature
Identifier : org.wso2.carbon.application.deployer.bpel.feature.group

If process management capability is not included in your product by default, you can add it by installing the above feature using the instructions given in section, Feature Management.

Table of Contents
maxLevel3

Deploying a BPEL process

Follow the instructions below to deploy a business process.

  1. Log on to the product's management console and select "Processes -> Add" under the "Main" menu.
  2. The "New BPEL Package" window opens. Provide the file and click "Upload."
  3. If the deployment is successful, a dialog box  appears as follows.
  4. The "Deployed Processes" page opens with the newly-added process listed. For example,
    • Package Name:   The name of the package containing at least the deployment descriptor and one or more process definitions (BPEL), WSDL and XSDs.
    • Process ID:
    • Version: If a package with an existing name is uploaded, the processes in the package will be versioned. All old processes in the package will be retired and new version deployed. Since there is only package-level versioning available, the new package should include all the processes defined in the old package, even though you may only need to update a single process in that package.
    • Status: Status of the process. Can be either "Active" or "Retired".
    • Deployed Date: Date and time of the package deployment.
    • Manage: A newly-created process has status as "Active", which can be retired by clicking on the "Retire" link. Once a process is retired, a new instance of it cannot be created.
  5. Click the "Process ID" to access its information dashboard. For example,

    It typically contains the following sections:

...

Info
titleNote

Instead of using the management console, you can deploy a BPEL process manually by copying the zipped file to the $PRODUCT_HOME/repository/deployment/server/bpel directory. For instructions on preparing the process zip file, refer to section Preparing for Process Deployment .

...

Undeploying a BPEL process

There are two ways to undeploy a BPEL package.

  1. From the Management Console user interface. 
    1. Login to the Business Process Server.
    2. In the Main menu of the Management Console, click List under Processes in the Manage section.
    3. In the Process List page, select a package to undeploy.
    4. The Package Dashboard page appears. Click on the Undeploy link.
  2. By deleting the BPEL ZIP file from the file system. 
    1. Delete the BPEL package from <EI_HOME>/wso2/business-process/repository/deployment/server/bpel directory.

For more information on BPEL, see HelloWorld Sample.