Skip Headers
Oracle® Fusion Middleware Administrator's Guide for Oracle SOA Suite and Oracle Business Process Management Suite
11g Release 1 (11.1.1.4.0)

Part Number E10226-07
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

5 Deploying SOA Composite Applications

This chapter describes how to deploy, redeploy, and undeploy a SOA composite application. To deploy from Oracle Enterprise Manager Fusion Middleware Control, you must first create a deployable archive in Oracle JDeveloper or through the ant or Oracle WebLogic Scripting Tool (WLST) command line tools. The archive can consist of a single SOA composite application revision in a JAR file or multiple composite application revisions (known as a SOA bundle) in a ZIP file.

This chapter includes the following topics:

For information on the following:

Note:

If Oracle Enterprise Manager Fusion Middleware Control is run in a single sign-on (SSO)-enabled environment, you are again prompted to enter the user name and password credentials as part of the last step of the Deploy SOA Composite, Undeploy SOA Composite, and Redeploy SOA Composite wizards. This information is only requested once per Oracle Enterprise Manager Fusion Middleware Control session.

5.1 Deploying Applications

You can deploy SOA composite applications from Oracle Enterprise Manager Fusion Middleware Control with the Deploy SOA Composite wizard. Use the Deploy SOA Composite wizard to deploy any of the following:

Deployment extracts and activates the composite application in the SOA Infrastructure. After an application is deployed, you can perform administration tasks, such as creating instances, configuring properties, monitoring performance, managing instances, and managing policies and faults.

Note:

If you want to redeploy an existing revision of an application, do not use this wizard. Instead, use the Redeploy SOA Composite wizard.

To deploy applications:

  1. Access the Deploy SOA Composite wizard through one of the following options:

    From the SOA Infrastructure Menu... From the SOA Folder in the Navigator... From the SOA Infrastructure Home Page... From the SOA Composite Menu...
    1. Select SOA Deployment > Deploy.
    1. Right-click soa-infra.
    2. Select SOA Deployment > Deploy.

    1. Click the Deployed Composites tab.
    2. Above the Composite table, click Deploy.

    1. Select SOA Deployment > Deploy Another Composite.

    Note:

    You can also access the Deploy SOA Composite wizard by selecting Deploy to This Partition from the Deployment dropdown list of the Manage Partitions page or home page of a specific partition, from the SOA Partition menu at the top of the home page of a specific partition, or by right-clicking a specific partition in the navigator.

    The Select Archive page appears.

    Description of sca_deploy.gif follows
    Description of the illustration sca_deploy.gif

  2. In the Archive or Exploded Directory section, specify the archive of the SOA composite application to deploy. The archive contains the project files of the composite to be deployed (for example, HelloWorld_rev1.0.jar for a single archive or OrderBooking_rev1.0.zip for multiple archives). This information is required.

  3. In the Configuration Plan section, optionally specify the configuration plan to include with the archive. The configuration plan enables you to define the URL and property values to use in different environments. During process deployment, the configuration plan is used to search the SOA project for values that must be replaced to adapt the project to the next target environment.

  4. Click Next.

    The Select Target page appears.

    This page lists the Oracle SOA Suite managed server or cluster to which to deploy the SOA composite application archive.

  5. Select the partition into which to deploy this SOA composite application. Partitions enable you to logically group SOA composite applications into separate sections. Note that even if there is only one partition available, you must explicitly select it. Once deployed, a composite cannot be transferred to a different partition.

    If you want to deploy to a partition that does not exist, exit the wizard and create the partition before deploying the composite. You create partitions in the Manage Partition page, accessible from the SOA Infrastructure menu.

    If the server contains no partitions, you cannot deploy composite applications to that server. Also, if the server is not in a running state, you cannot deploy this archive. By default, a partition named default is automatically included with Oracle SOA Suite. You can delete the default partition.

    Note:

    Human workflow artifacts such as task mapped attributes (previously known as flex field mappings) and rules (such as vacation rules) are defined based on the namespace of the task definition. Therefore, the following issues are true when the same SOA composite application with a human workflow task is deployed into multiple partitions:
    • For the same task definition type, mapped attributes defined in one partition are visible in another partition.

    • Rules defined on a task definition in one partition can apply to the same definition in another partition.

    If you invoke the Deploy SOA Composite wizard by selecting Deploy to This Partition from the Deployment dropdown list on the Manage Partitions page or home page of a specific partition, the partition to which to deploy is selected. Therefore, the Select Target page is skipped.

  6. Click Next.

    The Confirmation page appears.

  7. Review your selections.

  8. Select whether to deploy the SOA composite application as the default revision. The default revision is instantiated when a new request comes in.

  9. Click Deploy.

    Processing messages are displayed.

    At this point, the deployment operation cannot be canceled. Deployment continues even if the browser window is closed.

  10. When deployment has completed, the home page of the newly deployed composite revision is displayed automatically. A confirmation message at the top of the page tells you that the composite has been successfully deployed. In the case of a bundle deployment, the Deployed Composites page of the SOA Infrastructure is displayed.

For information about creating configuration plans and deploying applications from Oracle JDeveloper, see Oracle Fusion Middleware Developer's Guide for Oracle SOA Suite.

5.1.1 Deploying SOA Composite Applications with Task Flows

When you deploy a SOA composite application with a task flow Enterprise Resource Archive (EAR) file from Oracle Enterprise Manager Fusion Middleware Control or Oracle WebLogic Server Administration Console to a multiple partition environment, you cannot specify partition details. To specify a partition, modify the hwtaskflow.xml file to include the partition name in the generated EAR file (the project version of the file remains unchanged). This file is located under the TaskForm project adfmsrc directory (for example, HelpDeskRequestTaskFlow\adfmsrc\hwtaskflow.xml).

<hwTaskFlows
 xmlns="http://xmlns.oracle.com/bpel/workflow/hwTaskFlowProperties">
   <ApplicationName>worklist</ApplicationName>
   <LookupType>LOCAL</LookupType>
   <TaskFlowDeploy>false</TaskFlowDeploy>
   <PartitionName>partition2</PartitionName> 

5.2 Redeploying Applications

You can redeploy SOA composite applications from Oracle Enterprise Manager Fusion Middleware Control with the Redeploy SOA Composite wizard. Using the Redeploy SOA Composite wizard has the following consequences:

Notes:

  • If you want to maintain multiple revisions of a deployed application (for example, revisions 1.0 and 2.0), do not use this wizard. Instead, use the Deploy SOA Composite wizard.

  • Redeploying multiple SOA composite applications at once is not supported.

To redeploy applications:

  1. Access this page through one of the following options:

    From the SOA Infrastructure Menu... From the SOA Folder in the Navigator... From the SOA Infrastructure Home Page... From the SOA Composite Menu...
    1. Select SOA Deployment >Redeploy.

      The Select Composite page appears.

    2. In the SOA Composite Deployments section, select the SOA composite application revision you want to redeploy, and click Next.

    1. Right-click soa-infra.
    2. Select SOA Deployment > Redeploy.

      The Select Composite page appears.

    3. In the SOA Composite Deployments section, select the SOA composite application revision you want to redeploy, and click Next.

    1. Click the Deployed Composites tab.
    2. In the Composite table, select a specific SOA composite application. Only one application can be redeployed at a time.

    3. Above the Composite table, click Redeploy.

    1. Select SOA Deployment > Redeploy.

    Note:

    You can also access the Redeploy SOA Composite wizard by right-clicking a partition and selecting SOA Deployment > Redeploy.

    The Select Archive page appears.

  2. In the Archive or Exploded Directory section, select the location of the SOA composite application revision you want to redeploy.

  3. In the Configuration Plan section, optionally specify the configuration plan to include with the archive.

  4. Click Next.

    The Confirmation page appears.

  5. Select whether to redeploy the SOA composite application as the default revision.

  6. Click Redeploy.

    Processing messages are displayed.

    At this point, the deployment operation cannot be canceled. Deployment continues even if the browser window is closed.

  7. When redeployment has completed, click Close.

    When redeployment has completed, the home page of the newly redeployed composite revision is displayed. A confirmation message at the top of the page tells you that the composite has been successfully redeployed.

5.3 Undeploying Applications

You can undeploy SOA composite applications from Oracle Enterprise Manager Fusion Middleware Control with the Undeploy SOA Composite wizard. Using the Undeploy SOA Composite wizard has the following consequences:

Note:

If you want to undeploy and then redeploy an existing revision of this application, do not use this wizard. Instead, use the Redeploy SOA Composite wizard. The Redeploy SOA Composite wizard enables you to redeploy an existing revision of a SOA composite application and remove (overwrite) the older, currently deployed version of the revision.

To undeploy applications:

Note:

You can undeploy multiple SOA composite applications together if they are located in the same partition. For information, see Section 8.10, "Grouping SOA Composite Applications into Partitions."
  1. Access this page through one of the following options:

    From the SOA Infrastructure Menu... From the SOA Folder in the Navigator... From the SOA Infrastructure Home Page... From the SOA Composite Menu...
    1. Select SOA Deployment >Undeploy.

      The Select Composite page appears.

    2. In the SOA Composite Deployments section, select a specific SOA composite application to undeploy, and click Next.

    1. Right-click soa-infra.
    2. Select SOA Deployment > Undeploy.

      The Select Composite page appears.

    3. In the SOA Composite Deployments section, select a specific SOA composite application to undeploy, and click Next.

    1. Click the Deployed Composites tab.
    2. In the Composite table, select a specific SOA composite application. Only one application can be undeployed at a time.

    3. Above the Composite table, click Undeploy.

    1. Select SOA Deployment > Undeploy.

    Note:

    You can also access the Undeploy SOA Composite wizard through these additional partition options:
    • Right-clicking a partition and selecting SOA Deployment > Undeploy From This Partition

    • Selecting Deployment > Undeploy All From This Partition on the partition home page

    • Selecting Deployment > Undeploy All From This Partition for the selected partition from the Manage Partitions page

    The Confirmation page appears.

  2. If you are satisfied, click Undeploy. Note that you are warned if you are about to undeploy the last remaining revision of a deployed composite application.

    Processing messages are displayed.

    At this point, the undeploy operation cannot be canceled. Undeployment continues even if the browser window is closed.

  3. When undeployment has completed, the SOA Infrastructure Deployed Composites page is displayed automatically. A confirmation message at the top of the page tells you that the composite has been successfully undeployed.

Note:

When a partition is deleted, all SOA composite applications in it are automatically undeployed. A message is displayed indicating that all the applications in that partition are to be undeployed.