Deploying an Application Using the Deployment Wizard

You can deploy an application to a BPM node by deploying its project (or the Distributed Application Archive (DAA)) to the appropriate deployment server.

If a project references artifacts in other projects, the referenced projects must be deployed before proceeding to deploy the project.

If the project has bindings or wiring defined, you can configure them through the wizard as part of the deployment procedure.

Procedure

  1. In the Deployment Server view, select the deployment server you require.
    Note: You may have only one deployment server. If you have more than one instance of the BPM application, you need a separate deployment server for each instance. See Creating a New Deployment Server.
  2. Connect the deployment server to the BPM server (if you have not already done so).
  3. Right-click the deployment server you want, and select Deploy Module....
  4. Choose either Deploy BPM Project or Deploy DAA... from the Select Module Type dialog, then click Next. .
    Deploy DAA... enables you to deploy a previously exported DAA. For example, someone may have exported their project to a DAA (described in Exporting to DAA) and emailed the DAA to you.
    • If you selected the Deploy DAA... option, the Application Configuration dialog is displayed.

      Click Workspace... to select the DAA from the workspace; or click File System... to select the DAA from the local file system. Browse and select the DAA to be deployed and click Next.

      Skip Step 5 and go to Step 6.

    • If you selected the Deploy BPM Project option, the Select BPM Project dialog is displayed. All the supported projects available in the workspace are listed.

      Select the project to be deployed and click Next.

  5. On the Application Configuration dialog, either accept the default values in the Environment Name and Application Folder fields (these fields are populated with values specified when you set up the deployment server; see Creating a New Deployment Server), or if you want to deploy to another destination, perform these substeps:
    1. In the Environment Name field, select the required environment from the drop-down menu displayed.
    2. In the Application Folder field, click and select your required folder from the list.
    3. Click Next.
      Note: The checkbox Upgrade Existing Application is disabled if the application is being deployed for the first time. For subsequent deployments, the checkbox is enabled and selected by default. See Deploying the Organization Model for details on configuring the behavior when upgrading existing applications.

      Refresh Server Timeout specifies the duration in seconds for which TIBCO Business Studio waits for responses from the BPM runtime.

      The Resolve Mode checkbox applies to TIBCO SOA projects. Keep the checkbox clear (unchecked) for BPM application deployment. This field specifies if dependencies on target product applications have to be checked. When selected, the dependencies are checked and nodes where the applications are deployed are restarted to load software updates. This is required when downgrading a feature or applying extension implementations for TIBCO SOA projects.

    If the project or DAA contains properties that can be configured, the Property Configuration dialog is displayed with the application properties in a tabular view.

  6. Select a property and click Override... to change the configuration.
    Caution: During deployment, do not change the BDS Application deployment BDSCaseDataStoreResource configuration property value.

    By default, the properties are mapped to substitution variables, which provide a level of indirection. To override the mapping:

    1. Double-click the Property Value field, or select the property and click Override.... The dialog to override the selected property appears.
    2. To map to an existing resource instance, choose the name of the existing resource instance from the drop-down list.
    3. The Map through Substitution Variable checkbox is selected by default. Uncheck if you do not wish to use substitution variables.
      Note: See TIBCO ActiveMatrix Composite Development guide for additional information about substitution variables.
    If the project or the DAA contains unresolved promoted references, the Wiring Configuration dialog is displayed.

    To configure the wiring:

    1. Click -add wire- in the row containing the unresolved promoted reference. A drop-down listing the available service virtualizations and endpoints appears.
    2. Select the virtualization or endpoint that you want to wire the promoted reference with and click outside the text.
    Repeat these substeps for all the unresolved promoted references listed in the dialog.
  7. Click Finish.

    A progress dialog displays the execution status while deployment takes place. The status messages indicate whether the deployment has finished with no errors, or if any errors occurred. The progress messages can also be seen on the Console tab.

    When the deployment finishes with no errors, the application appears in the Deployment Servers view.

  8. Expand the Deployment Servers view and select the Applications node. A refresh may be needed for the deployed application to appear in the list (right click on the server name and select Refresh or just hit F5).
    Note: See Deployed Applications for information on how the application name is created.