Oracle WebLogic Server Support: Editing Deployment Plans Using a deployment plan, you can optionally define or override Oracle WebLogic Server tuning parameters to optimize the use of resources in the target environment.
1. Overview of a Sample Application The sample application used in this tutorial is a Java EE Ear project with a single Web module. The context root of the Web module is defined in theweblogic.xml file.
This document describes steps that you take to create and edit a WebLogic deployment plan to override the context root with a custom value, as Figure 1 shows.
2. Creating a New Deployment Plan Using OEPE, you can create a new deployment plan by following this procedure:
Upon the completion, the New WebLogic Deployment Plan wizard opens the deployment plan in the the deployment plan editor for further modifications. The editor, shown in Figure 5, consists of the following parts:
The tree control is represented by the following main nodes:
Use the Clean Up Deployment Plan utility to remove unassigned variables from your plan's XML file. To do so, click the Clean Up button represented by a green check mark icon located in the top right corner of the editor. Make your selection from the list of the potential clean up candidates, and then click Finish to remove these elements from your deployment plan. You can also switch to the source view of your WebLogic deployment plan to edit it manually, as Figure 18 shows.
4. Using an Existing Deployment Plan to Configure an Application You can use the generated deployment plan with the followingweblogic.Deployer command:
java weblogic.Deployer -adminurl t3://localhost:7001 -username weblogic -password weblogic7001 -plan plan.xml -deploy MyNewWSProjectEAR.ear Alternatively, you can use Eclipse IDE to specify this information in the WebLogic Server Editor when deploying to a remote server.
Use the Choose a deployment plan dialog to select the deployment plan.
|