4-10 Oracle Fusion Middleware 2 Day Administration Guide
For a simple Java EE application, only the first three options may be displayed.
16.
Expand Deployment Plan.
You can edit and save the deployment plan, if you choose. If you edit the deployment plan and change descriptor values, those changes are saved to the
deployment plan. In addition, the following configurations are saved to the deployment plan:
■
Application attributes
■
Web module configuration
■
EJB configuration Application attributes related to MDS are stored in the file adf-config.xml.
Application security attributes are stored in weblogic-application.xml. Fusion Middleware Control updates the relevant files and repackages the .ear file.
17.
Click Deploy.
Fusion Middleware Control displays processing messages.
18.
When the deployment is completed, click Close.
To deploy an application to multiple servers at the same time, navigate to the domain. Then, from the WebLogic Domain menu, select Application Deployment, then
Deploy.
The deployment wizard displays a page where you can select the servers. To deploy an application to a cluster, select the cluster. Then, from the Cluster menu,
select Application Deployment, then Deploy.
4.4.2 Undeploying Java EE Applications
You can undeploy an application or a specific version of an application from a WebLogic Server Managed Server instance or a cluster. This section describes how to
undeploy an application from a Managed Server. If an application has been deployed to multiple servers, when you undeploy it using Fusion Middleware Control, the
application is undeployed from all the servers.
To undeploy a Java EE application from a Managed Server:
1.
From the navigation pane, expand Application Deployments, then the application to undeploy.
The application home page is displayed.
2.
From the Application Deployment menu, select Application Deployment, then Undeploy.
The confirmation page is displayed.
3.
Click Undeploy.
Processing messages are displayed.
4.
When the operation completes, click Close. WLST Command:
deployapp_name, path [,targets] [,stageMode] [,planPath] [,options]
Deploying Applications 4-11
Alternatively, you can navigate to the domain, Managed Server, or cluster, then, from the targets menu, choose Application Deployment, then Undeploy. In the Select
Application page, select the application you want to undeploy.
4.4.3 Redeploying Java EE Applications
You can redeploy a new version of an updated application, redeploy the same version, or redeploy a non-versioned application. You can redeploy an application to a cluster
or a Managed Server. This section describes how to redeploy an application to a Managed Server.
To redeploy a Java EE application to a Managed Server:
1.
From the navigation pane, expand the farm, then Application Deployments.
2.
Select the application. The application home page is displayed.
3.
From the Application Deployment menu, choose Application Deployment, and then Redeploy.
The Select Application page is displayed.
4.
Click Next.
5.
In the Archive or Exploded Directory section, you can select one of the following:
■
Archive is on the machine where this browser is running. Then, 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.
Then, enter the location of the archive or click Browse to find the
archive file.
6.
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 or click Browse to find the plan file.
■
Deployment plan is on the server where Enterprise Manager is running. Enter the path to the plan or click Browse to find the plan file.
7.
Click Next.
The Application Attributes page is displayed.
8.
Click Next.
The Deployment Wizard, Deployment Settings page is displayed.
9.
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. Depending on the type of
application, you can:
■
Configure Web modules
■
Configure application security
■
Configure EJB modules
WLST Command:
undeployapp_name, path [,targets] [,options]
4-12 Oracle Fusion Middleware 2 Day Administration Guide
■
Configure ADF connections
■
Configure persistence For a simple Java EE application, only the first three options may be displayed.
10.
Expand Deployment Plan.
You can edit and save the deployment plan, if you choose. If you edit the deployment plan and change descriptor values, those changes are saved to the
deployment plan. In addition, the following configurations are saved to the deployment plan:
■
Application attributes
■
Web module configuration
■
EJB configuration Application attributes related to MDS are stored in the file adf-config.xml.
Application security attributes are stored in weblogic-application.xml. Fusion Middleware Control updates the relevant files and repackages the .ear file.
11.
Click Redeploy.
Processing messages are displayed.
12.
When the operation completes, click Close.
To redeploy an application to a cluster, select the cluster. Then, from the targets menu, select Application Deployment, then Redeploy.
4.5 Managing Deployment Plans