Redeploying SOA Composite Applications

Deploying Applications 10-25 The Select Application page is displayed. You can only redeploy applications that are versioned. If the application is not versioned, you must undeploy, then redeploy. 4. Select the application to redeploy. 5. Click Next. The Select Archive page is displayed. 6. In the Archive or Exploded Directory section, you can select one of the following: ■ Archive is on the machine where this browser is running. Enter the location of the archive or click Browse to find the archive file. ■ Archive or exploded directory is on the server where Enterprise Manager is running. Enter the location of the archive or click Browse to find the archive file. 7. In the Deployment Plan section, you can select one of the following: ■ Create a new deployment plan when deployment configuration is done ■ Deployment plan is on the machine where this web browser is running. Enter the path to the plan. ■ Deployment plan is on the server where Enterprise Manager is running. Enter the path to the plan. 8. Click Next. The Application Attributes page is displayed. 9. In the Application Attributes section, for Application Name, enter the application name. 10. In the Context Root of Web Modules section, specify the context root for your application if you have not specified it in application.xml. The context root is the URI for the Web module. Each Web module or EJB module that contains Web services may have a context root. 11. In the Target Metadata Repository section, select the MDS Repository and for Partition Name, enter a partition name. If the partition or repository specified in the application is not valid in the domain, Fusion Middleware Control displays a message. 12. Click Next. The Deployment Settings page is displayed. 13. On this page, you can perform common tasks before deploying your application or you can edit the deployment plan or save it to a disk. In the Deployment Tasks section, you can: ■ Configure Web modules ■ Configure application security ■ Configure persistence See Section 10.8 for detailed information about these options. 14. Expand Deployment Plan. You can edit and save the deployment plan, if you choose. 15. Click Redeploy. 10-26 Oracle Fusion Middleware Administrators Guide Fusion Middleware Control displays processing messages. 16. When the deployment is completed, click Close.

10.7 Managing Deployment Plans

A deployment plan is a client-side aggregation of all the configuration data needed to deploy an archive into Oracle WebLogic Server. A deployment plan allows you to easily deploy or redeploy an application using a saved set of configuration settings. A new deployment plan is created by default if you do not apply an existing deployment plan to an application at the time of deployment, as described in Section 10.3.1 . Once created, you can save a deployment plan as a file and reuse it for redeploying the application or for deploying other applications. However, if you change the configuration of an application after it is deployed for example, if you modify the MDS configuration of an application, then any existing deployment plans you saved no longer represent the configuration settings of the deployed application. In such a situation, you can fetch a new deployment plan that more closely represents the configuration of the deployed application. To fetch the deployment plan of an application that is currently deployed: 1. From the navigation pane, expand the farm, then WebLogic Domain. 2. Select the domain. The WebLogic Domain page is displayed. 3. From the WebLogic Domain menu, choose Application Deployment, then Fetch Deployment Plan . The Fetch Deployment Plan page is displayed. 4. Select an application from the list of currently deployed applications. 5. Select a location where you want to save the deployment plan, and click Fetch. You can save the plan to the computer where the Web browser is running or to the computer where Fusion Middleware Control is running. 6. In the resulting dialog box, specify a directory location for the saved deployment plan. You can now use this deployment plan to later deploy or redeploy the application using the configuration currently in use by the application. Alternatively, you can edit a deployment plan on the Deployment Settings page of the Application Deployment wizard.

10.8 About the Common Deployment Tasks in Fusion Middleware Control

When you deploy an application using Fusion Middleware Control, you can use the Deployment Settings page of the Deployment wizard to perform specific deployment configuration tasks before the application is deployed. The following describes the deployment tasks that can appear on the Deployment Settings page, depending on the type of application you are deploying.