10 Application Deployments

Application deployment refers to the process of making an application or module available for processing client requests in a WebLogic Server domain. WebLogic Server implements the Java EE 6 specification. Java EE 6 includes a deployment specification, JSR-88, that describes a standard API used by deployment tools and application server providers to configure and deploy applications to an application server. For more information on application deployment, see Deploying Applications to Oracle WebLogic Server.

This chapter describes how to monitor and control various application types deployed to the current domain.

To monitor the following application deployments, select the appropriate pages:

Web Applications: monitor Web applications, including the machine and server on which the Web application is deployed and statistics about the number of servlets and sessions associated with the Web application

Resource Adapters: monitor the status of the current state of message listener endpoints and outbound connection pools for a resource adapter

You can also access this detailed monitoring page directly from the Target Navigation pane:

From the Target Navigation pane, expand Application Deployments.

Expand the application for which you want to view detailed monitoring information, and select the name of the Coherence archive (ensure that it is targeted to the appropriate server instance or cluster).

Optionally, you can view the performance summary of this Coherence archive:

Control application deployments

You can start, stop, deploy, redeploy, and undeploy applications deployed to the current domain. You can also fetch deployment plans and perform additional control operations for various application types.

Stop applications

In the Deployments table, select the row of the deployment you want to stop.

The control options are displayed above the table.

Click Stop.

By default, the deployment will be stopped when work completes. To force the deployment to stop immediately, select Stop, then Force stop now. To stop servicing client requests but continue servicing administration requests, select Stop, then Stop, but continue servicing administration requests.

Click Yes to confirm your decision.

Deploy applications

Deploying an application makes its physical file or directory known to WebLogic Server. After you have deployed the application, you can start it so that users can begin using it. See Start applications.

In the Deployments table, select the row of the deployment you want to redeploy.

The control options are displayed above the table.

Click Redeploy to open the Redeploy Java EE Application Assistant.

On the Select Application page, select the application you want to redeploy.

Click Next.

On the Select Archive page, locate the application you want to deploy and choose whether to upload a deployment plan or create a new deployment plan.

Click Next.

On the Application Attribute page, update the application attributes as desired. These attributes include:

Application Name

Distribution

Source Accessibility

Click Next to update the deployment settings or Redeploy to complete redeployment of this application.

Optionally, on the Deployment Settings page, you can complete common tasks before deploying the application and update deployment settings.

Click Redeploy to complete deployment of this application.

Undeploy applications

Undeploying an application removes it from every target of the domain to which the application is deployed. Once you undeploy an application from the domain, you must deploy it again if you want to make it available to WebLogic Server clients. To temporarily make applications unavailable to WebLogic Server clients, you can stop them instead of undeploying them.

Before you begin

Before you can undeploy an application, you must stop it to ensure that it is not servicing client applications. See Stop applications.

Fetch deployment plans

A deployment plan is a file that contains the deployment settings as well as post-deployment configuration changes of an application. You can fetch and save the deployment plan of an application, and then deploy or redeploy that application later using the saved deployment plan.

In the Resource Adapter table, select the row of the resource adapter you want to control.

The control options are displayed above the table.

Click the desired control option:

Start: By default, all requests will be serviced by the application. To start servicing only administration requests to the application, select Start, then Servicing only administration requests.

Stop: By default, the resource adapter will be stopped when work completes. To force the resource adapter to stop immediately, select Stop, then Force stop now. To stop servicing client requests but continue servicing administration requests, select Stop, then Stop, but continue servicing administration requests.

Suspend: By default, the resource adapter will suspend all services. To suspend only inbound services, select Suspend, then Inbound Only. To suspend only outbound services, select Suspend, then Outbound Only. To suspend only work services, select Suspend, then Work Only.

Resume: By default, the resource adapter will resume all services. To resume only inbound services, select Resume, then Inbound Only. To resume only outbound services, select Resume, then Outbound Only. To resume only work services, select Resume, then Work Only.