Validating the Exported Deployment Configuration Best Practices for Exporting a Deployment Configuration

Exporting an Application for Deployment to New Environments 5-7 value xsi:nil=truevalue variable variable-definition ...

5.8 Validating the Exported Deployment Configuration

The Administration Console automatically validates the deployment configuration for a newly-installed application or module. To validate a custom deployment plan that you have created during the export process: 1. Follow the steps under Section 5.6.2, Add Variables for Selected Tuning Properties to install the application or module with the final version of the custom deployment plan. The Administration Console automatically uses a deployment plan named plan.xml in the plan subdirectory of an installation directory, if one is available. 2. On the Summary of Deployments page, select the name of the application or module that you installed. 3. Select the Deployment Plan Dependencies tab. 4. Verify that the dependencies configured for the deployed module are valid for the selected target servers.

5.9 Best Practices for Exporting a Deployment Configuration

Keep in mind these best practices when exporting an applications deployment configuration: ■ The primary goal for exporting an application is to create null variables for all of an applications external resource dependencies. This ensures that deployers have the ability to assign resource names based on resources available in their target environment. ■ Use weblogic.PlanGenerator only for exporting resource dependencies. Using weblogic.PlanGenerator to export other categories of deployment descriptor properties generally results in too many variables in the deployment plan. ■ Use the Administration Console to add individual tuning property values to the deployment plan, or to validate a custom deployment plan. ■ Neither the Administration Console nor weblogic.PlanGenerator allow you to remove variables from a plan or set null values for variables. Use a text editor when necessary to complete these tasks. 5-8 Deploying Applications to Oracle WebLogic Server 6 Deploying Applications and Modules with weblogic.Deployer 6-1 6 Deploying Applications and Modules with weblogic.Deployer The following sections describe how administrators and developers perform interactive, command-line bsed deployment tasks using the weblogic.Deployer utility: ■ Section 6.1, Overview of Common Deployment Scenarios