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.

This chapter includes the following sections:

Monitor application deployments

You can monitor all active deployments or a specific application or module.

This section includes the following tasks:

Monitor all deployments

To monitor all applications and modules deployed on this domain:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

    On the Summary page, the Deployments table displays information about the applications deployed to the current domain, such as:

    • Name

    • Status

    • State

    • Health

    • Type

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  2. 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

    • EJBs: monitor statistics about stateless, stateful, singleton, entity, and message-driven EJBs

    • Web Services: monitor all Web services deployed to this domain

    • Web Service Clients: monitor all Web services clients in this domain

    • JAX-RS Applications: monitor all JAX-RS applications running this domain

    • Workload: view statistics for the Work Managers, constraints, and policies that are configured applications deployed in this domain

  3. In the table, select the name of the application for which you want to view additional configuration information.

Monitor enterprise applications

To monitor a specific enterprise application:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. In the Summary table, select the name of the enterprise application you want to monitor.

    An overview page displays information related to the enterprise application.

  3. From the Domain Application Deployment dropdown menu, select Monitoring, then select Environment Monitoring.

  4. On the Health page, the table displays health status information about this enterprise application, such as:

    • Name

    • Health

    • Reason

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  5. To view additional monitoring information for this enterprise application, select the appropriate pages:

    • Query Caching: monitor statistics for the query caches configured for this enterprise application

    • Workload: monitor Work Managers, constraints, and policies configured for this enterprise application

    • Coherence: monitor Coherence clusters associated with this enterprise application

  6. Optionally, you can view detailed monitoring information for this enterprise application:

    1. From the Domain Application Deployment dropdown menu, select Home to return to the overview page.

    2. In the Deployments table, select the name of the enterprise application (ensure that it is targeted to the appropriate server or cluster).

      A detailed overview page displays additional monitoring information associated with this enterprise application.

      Note:

      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 application (ensure that it is targeted to the appropriate server instance or cluster).

    3. Optionally, you can view the performance summary of this enterprise application:

      From the Application Deployment dropdown menu, select Monitoring, then select Performance Summary.

      The Performance Summary page displays general performance information, as well as information about the server, servlets and JSPs, and data sources associated with this application.

      • Click Show Metric Palette to select the metrics you want to view.

      • Select View to access table options.

      • Select Overlay to access additional table options.

Monitor Web applications

To monitor all Web applications deployed to this domain:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. Select Web Applications.

    The Web Applications table displays information about all of the Web applications deployed to the current domain, such as:

    • Context Root

    • Application

    • Server

    • Machine

    • State

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  3. In the table, select the name of the Web application for which you want to view additional configuration information.

Monitor a Web application

To monitor a specific Web application:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. In the Summary table, select the name of the Web application you want to monitor.

    An overview page displays information related to the Web application.

  3. From the Domain Application Deployment dropdown menu, select Monitoring, then select Environment Monitoring.

  4. On the Web Applications page, the table displays information about the Web application, such as:

    • Context Root

    • Application

    • Server

    • Machine

    • State

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  5. To view additional monitoring information for this Web application, select the appropriate pages:

    • Servlets: monitor servlets associated with this Web application

    • Sessions: monitor sessions associated with this Web application

    • PageFlows: monitor pageflows used by this Web application

    • Workload: monitor Work Managers, constraints, and policies configured for this Web application

    • Web Service Clients: monitor Web service clients associated with this Web application

    • JAX-RS Applications: monitor the JAX-RS applications associated with this Web application

  6. Optionally, you can view detailed monitoring information for this Web application:

    1. From the Domain Application Deployment dropdown menu, select Home to return to the overview page.

    2. In the Deployments table, select the name of the Web application (ensure that it is targeted to the appropriate server or cluster).

      A detailed overview page displays additional monitoring information associated with this Web application.

      Note:

      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 application (ensure that it is targeted to the appropriate server instance or cluster).

    3. Optionally, you can view the performance summary of this Web application:

      From the Application Deployment dropdown menu, select Monitoring, then select Performance Summary.

      The Performance Summary page displays general performance information, as well as information about the server, servlets and JSPs, and data sources associated with this application.

      • Click Show Metric Palette to select the metrics you want to view.

      • Select View to access table options.

      • Select Overlay to access additional table options.

Monitor Web application modules

To monitor a Web application module:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. In the Summary table, expand the name of the application that contains the module you want to monitor.

  3. Select the name of the Web application module you want to monitor.

  4. On the Monitoring page, the Web Applications table displays information about the Web application module, such as:

    • Context Root

    • Application

    • Server

    • Machine

    • State

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  5. To view additional monitoring information for this Web application module, select the appropriate pages:

    • Servlets: monitor servlets associated with this Web application module

    • Sessions: monitor sessions associated with this Web application module

    • PageFlows: monitor pageflows used by this Web application module

    • Workload: monitor Work Managers, constraints, and policies configured for this Web application module

    • Web Service Clients: monitor Web service clients associated with this Web application module

    • JAX-RS Applications: monitor JAX-RS applications associated with this Web application module

    • Coherence: monitor Coherence clusters associated with this Web application module

Monitor resource adapters

To monitor a specific resource adapter:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. In the Summary table, select the name of the resource adapter you want to monitor.

    An overview page displays information related to the resource adapter.

  3. From the Domain Application Deployment dropdown menu, select Monitoring, then select Environment Monitoring.

  4. To view monitoring information for this resource adapter, select the appropriate pages:

    • Outbound Connection Pools: monitor the outbound connection pools for this resource adapter

      Optionally, select one of the Current Connections listed in the table to display additional monitoring information for a specific outbound connection pool.

      • Select Statistics to display statistics about the pool's connections

      • Select Outbound Connections to display information about the status of the connections in the connection pool

    • Inbound Listeners: monitor the current state of message listener endpoints in this resource adapter

    • Workload: monitor the Work Managers, constraints, and policies configured specifically for this resource adapter

  5. Optionally, you can view detailed monitoring information for this resource adapter:

    1. From the Domain Application Deployment dropdown menu, select Home to return to the overview page.

    2. In the Deployments table, select the name of the resource adapter (ensure that it is targeted to the appropriate server or cluster).

      A detailed overview page displays additional monitoring information associated with this resource adapter.

      Note:

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

      • From the Target Navigation pane, expand Application Deployments.

      • Expand Resource Adapters, then expand the name of the resource adapter for which you want to view detailed monitoring information.

      • Select the name of the resource adapter (ensure that it is targeted to the appropriate server instance or cluster).

    3. Optionally, you can view the performance summary of this resource adapter:

      From the Application Deployment dropdown menu, select Monitoring, then select Performance Summary.

      The Performance Summary page displays general performance information, as well as information about the server, servlets and JSPs, and data sources associated with this resource adapter.

      • Click Show Metric Palette to select the metrics you want to view.

      • Select View to access table options.

      • Select Overlay to access additional table options.

Monitor message listener endpoints

To monitor the message listener endpoints for all active resource adapters deployed to this domain:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. Select Resource Adapters.

    On the Inbound Listeners page, the table displays information about the current state of message listener endpoints for this resource adapter, such as:

    • Message Listener Type

    • Message Listener Endpoint

    • Server

    • State

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  3. In the table, select the name of the inbound message listener for which you want to view additional configuration information.

Monitor outbound connection pools

To monitor the outbound connection pools for all active resource adapters deployed to this domain:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. Select Resource Adapters, then select Outbound Connection Pools.

    The Outbound Connection Pools table displays information about the outbound connection pools for this resource adapter, such as:

    • Outbound Connection Pool

    • Server

    • State

    • Current Connections

    • Created Connections

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  3. Optionally, in the table, select one of the Current Connections to display additional monitoring information about a specific outbound connection pool.

    • Select Statistics to display statistics about the pool's connections, such as:

      • Outbound Connection Pool

      • Server

      • State

      • Current Connections

      • Created Connections

      For more information about these fields, see Configuration Options.

    • Select Outbound Connections to display information about the status of the connections in the connection pool, such as:

      • User Name

      • Last Usage

      • Active Handles (Current)

      • Active Handles (High)

      • Handles Created

      For more information about these fields, see Configuration Options.

Monitor and control resource adapter modules

This section includes the following tasks:

Monitor resource adapter modules

To monitor a specific resource adapter module:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. In the Summary table, expand the name of the application that contains the module you want to monitor.

  3. Select the name of the resource adapter module you want to monitor.

  4. To view monitoring information for this resource adapter module, select the appropriate pages:

    • Outbound Connection Pools: monitor the outbound connection pools for this resource adapter module

      Optionally, select one of the Current Connections listed in the table to display additional monitoring information for a specific outbound connection pool.

      • Select Statistics to display statistics about the pool's connections

      • Select Outbound Connections to display information about the status of the connections in the connection pool

    • Inbound Listeners: monitor the current state of message listener endpoints in this resource adapter module

    • Workload: monitor the Work Managers, constraints, and policies configured specifically for this resource adapter module

Optionally, select View on any of the tables to access the following table options:

  • Columns: add or remove the columns displayed in the table

  • Detach: detach the table (viewing option)

  • Sort: sort the columns in ascending or descending order

  • Reorder: change the order of the columns displayed

  • Query by Example

Control resource adapter modules

To control a specific resource adapter module:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. In the Summary table, expand the name of the application that contains the module you want to control.

  3. Select the name of the resource adapter module you want to control.

  4. Select Control.

  5. To control this resource adapter module, select the appropriate pages:

    • Resource Adapter: start, stop, suspend, or resume the resource adapter module

      In the Resource Adapter table, select the row of the resource adapter module you want to control. The control options are displayed above the table.

    • Outbound Connection Pools: reset or force reset the outbound connection pools associated with this resource adapter module

      In the Outbound Connection Pools table, select the row of the resource adapter module you want to control. The control options are displayed above the table.

Optionally, select View on any of the tables to access the following table options:

  • Columns: add or remove the columns displayed in the table

  • Detach: detach the table (viewing option)

  • Sort: sort the columns in ascending or descending order

  • Reorder: change the order of the columns displayed

  • Query by Example

Monitor Coherence archives

To monitor a specific Coherence archive:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. In the Summary table, select the name of the Coherence archive you want to monitor.

    An overview page displays information related to the Coherence archive.

  3. From the Domain Application Deployment dropdown menu, select Monitoring, then select Environment Monitoring.

  4. On the Health page, the table displays health status information about this Coherence archive, such as:

    • Name

    • Health

    • Reason

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  5. To view additional monitoring information for this Coherence archive, select the appropriate pages:

    • Query Caching: monitor statistics for the query caches configured for this Coherence archive

    • Workload: monitor Work Managers, constraints, and policies configured for this Coherence archive

    • Coherence: monitor Coherence clusters associated with this Coherence archive

  6. Optionally, you can view detailed monitoring information for this Coherence archive:

    1. From the Domain Application Deployment dropdown menu, select Home to return to the overview page.

    2. In the Deployments table, select the name of the Coherence archive (ensure that it is targeted to the appropriate server or cluster).

      A detailed overview page displays additional monitoring information associated with this Coherence archive.

      Note:

      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).

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

      From the Application Deployment dropdown menu, select Monitoring, then select Performance Summary.

      The Performance Summary page displays general performance information, as well as information about the server, servlets and JSPs, and data sources associated with this application.

      • Click Show Metric Palette to select the metrics you want to view.

      • Select View to access table options.

      • Select Overlay to access additional table options.

Monitor JAX-RS applications

To monitor all JAX-RS applications deployed to this domain:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. Select JAX-RS Applications.

    The JAX-RS Applications table displays information about all of the JAX-RS applications deployed to the current domain, such as:

    • JAX-RS Application Name

    • JAX-RS Application Context

    • Application Name

    • Source Information

    • Error Count

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  3. In the table, select the name of the JAX-RS application for which you want to view additional configuration information.

Monitor EJB applications

To monitor a specific EJB application:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. In the Summary table, select the name of the EJB application you want to monitor.

    An overview page displays information related to the EJB application.

  3. From the Domain Application Deployment dropdown menu, select Monitoring, then select Environment Monitoring.

  4. To view monitoring information for this EJB application, select the appropriate pages:

    • Stateless: monitor performance of stateless session EJBs associated with this EJB application

    • Stateful: monitor performance of stateful session EJBs associated with this EJB application

    • Singleton: monitor performance of singleton session EJBs associated with this EJB application

    • Entity: monitor performance of entity EJBs associated with this EJB application

    • Message Driven: monitor performance of message-driven EJBs associated with this EJB application

    • Workload: monitor the Work Managers, constraints and policies configured specifically for this EJB application

    • Web Service Clients: monitor the Web service clients associated with this EJB application

  5. Optionally, you can view detailed monitoring information for this EJB application:

    1. From the Domain Application Deployment dropdown menu, select Home to return to the overview page.

    2. In the Deployments table, select the name of the EJB application (ensure that it is targeted to the appropriate server or cluster).

      A detailed overview page displays additional monitoring information associated with this EJB application.

      Note:

      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 application (ensure that it is targeted to the appropriate server instance or cluster).

    3. Optionally, you can view the performance summary of this EJB application:

      From the Application Deployment dropdown menu, select Monitoring, then select Performance Summary.

      The Performance Summary page displays general performance information, as well as information about the server, servlets and JSPs, and data sources associated with this application.

      • Click Show Metric Palette to select the metrics you want to view.

      • Select View to access table options.

      • Select Overlay to access additional table options.

Monitor EJB modules

To monitor a specific EJB module:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. In the Summary table, expand the name of the application that contains the module you want to monitor.

  3. Select the name of the EJB module you want to monitor.

  4. To view monitoring information for this EJB module, select the appropriate pages:

    • Stateless: monitor performance of the stateless session EJBs associated with this EJB module

    • Stateful: monitor performance of the stateful sessions EJBs associated with this EJB module

    • Singleton: monitor performance of the singleton session EJBs associated with this EJB module

    • Entity: monitor performance of the entity EJBs associated with this EJB module

    • Message Driven: monitor performance of the message-driven EJBs associated with this EJB module

    • Web Service Clients: monitor the Web service clients associated with this EJB module

    Optionally, select View on any of the tables to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

Monitor and control EJB components

This section includes the following topics:

Monitor EJB components

To monitor a specific EJB component:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. In the Summary table, expand the name of the application that contains the EJB component you want to monitor.

  3. Select the name of the EJB component you want to monitor.

  4. To view monitoring information for this EJB component, select the appropriate pages:

    • Running: monitor the state and performance of the EJB component, depending on its type (stateless, stateful, singleton, entity, or message-driven)

    • Workload: monitor Work Managers, constraints, and policies configured for this EJB component

    • Coherence: monitor Coherence clusters associated with this EJB component

Control EJB components

To control a specific EJB component:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. In the Summary table, expand the name of the application that contains the EJB component you want to control.

  3. Select the name of the EJB component you want to control.

  4. Select Control.

  5. In the EJB Component control table, select the row of the EJB component you want to control.

    The control options are displayed above the table.

  6. Click the desired control option:

    • Initialize: initialize the idle bean cache

    • Activate Timers: activate the timer objects

For more information, see Configuration Options.

Monitor EJBs

To monitor EJBs deployed to the current domain:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. Select EJBs.

  3. To monitor EJBs by type, select the appropriate pages:

    • Stateless: monitor the performance of stateless session EJBs

    • Stateful: monitor the state and performance of stateful session EJBs

    • Singleton: monitor the state and performance of singleton session EJBs

    • Entity: monitor the performance of entity EJBs

    • Message Driven: monitor the performance of message-driven EJBs

  4. In one of the EJB tables, select the name of the EJB for which you want to view additional configuration information.

Monitor libraries

To monitor a specific library:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. In the Summary table, select the name of the library for which you want to view configuration information.

Monitor JMS modules

To monitor a specific JMS module:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. In the Summary table, expand the name of the application that contains the JMS module you want to monitor.

  3. Select the name of the JMS module you want to monitor.

  4. On the Overview page, the table displays information about the JMS module, such as:

    • Name

    • Type

    • Targets

    For more information about these fields, see Configuration Options.

Monitor JDBC modules

To monitor a specific JDBC module:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. In the Summary table, expand the name of the application that contains the JDBC module you want to monitor.

  3. Select the name of the JDBC module.

Monitor Coherence Grid Archive (GAR) modules

To monitor a specific Coherence Grid Archive (GAR) module:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. In the Summary table, expand the name of the application that contains the Coherence archive module you want to monitor.

  3. Select the name of the Coherence archive module.

Monitor Web services

To monitor all Web services deployed to this domain:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. Select Web Services.

    The Web Services table displays information about all of the Web services deployed to the current domain, such as:

    • Service Name

    • Application

    • Module

    • Active Server Count

    • Error Count

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  3. In the table, select the name of the Web service for which you want to view additional configuration information.

Monitor Web service clients

To monitor all Web service clients in this domain:

  1. From the WebLogic Domain dropdown menu, select Monitoring, then select Deployments.

  2. Select Web Service Clients.

    The Web Service Clients table displays information about all of the Web service clients in the current domain, such as:

    • Client

    • Port

    • Active Server Count

    • Error Count

    • Response Error Count

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

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.

This section includes the following tasks:

Start applications

Starting an application makes it available to WebLogic Server clients. Before you can start an application, you must first deploy it. See Deploy applications.

To start an application:

  1. From the WebLogic Domain dropdown menu, select Control, then select Deployments.

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

    The control options are displayed above the table.

  3. Click 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.

  4. Click Yes to confirm your decision.

Stop applications

Stopping a running application makes it unavailable to WebLogic Server clients.

To stop an application:

  1. From the WebLogic Domain dropdown menu, select Control, then select Deployments.

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

    The control options are displayed above the table.

  3. 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.

  4. 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.

To deploy an application:

  1. From the WebLogic Domain dropdown menu, select Control, then select Deployments.

    The Deployments page is displayed.

  2. Click Deploy to open the Deploy Java EE Application Assistant.

  3. 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.

  4. Click Next.

  5. On the Select Target page, select the server instances and clusters to which you want to deploy the application.

  6. Click Next.

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

    • Application Name

    • Distribution

    • Source Accessibility

  8. Click Next to update the deployment settings or Deploy to complete deployment of this application.

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

  10. Click Deploy to complete deployment of this application.

Redeploy applications

Redeploying an application redeploys the archive file or exploded directory. Redeploy an application if you have made changes to it and want to make the changes available to WebLogic Server clients.

To redeploy an application or module:

  1. From the WebLogic Domain dropdown menu, select Control, then select Deployments.

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

    The control options are displayed above the table.

  3. Click Redeploy to open the Redeploy Java EE Application Assistant.

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

  5. Click Next.

  6. 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.

  7. Click Next.

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

    • Application Name

    • Distribution

    • Source Accessibility

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

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

  11. 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.

To undeploy an application:

  1. From the WebLogic Domain dropdown menu, select Control, then select Deployments.

  2. In the Deployments table, select the row of the application you want to undeploy.

    The control options are displayed above the table.

  3. Click Undeploy.

  4. On the Undeploy Java EE Application: Confirmation page, click Undeploy to confirm your decision and remove the application.

    If you later want to deploy the removed application, see Deploy 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.

To fetch a deployment plan for an application:

  1. From the WebLogic Domain dropdown menu, select Control, then select Deployments.

  2. In the Deployments table, select the row of the application for which you want to fetch the deployment plan.

    The control options are displayed above the table.

  3. Click Fetch Deployment Plan.

  4. On the Fetch Deployment Plan page, select the machine on which you want to save the deployment plan: Machine where this Web browser is running or Machine where Enterprise Manager is running.

  5. Click Fetch.

Initialize caches

For enterprise applications, Web applications, and Coherence archives, you can manually clear the caches and pools of idle beans in application-level caches.

To initialize caches in a specific application:

  1. From the WebLogic Domain dropdown menu, select Control, then select Deployments.

  2. In the Summary table, select the name of the enterprise application, Web application, or Coherence archive for which you want to initialize caches.

    An overview page displays information related to the application.

  3. From the Domain Application Deployment dropdown menu, select Control, then select Initialize Caches.

  4. In the Initialize Caches table, select the row of the application cache you want to initialize.

    The Initialize control option is displayed above the table.

  5. Click Initialize.

  6. Click Yes to confirm the action.

For more information, see Configuration Options.

Control data source operations

For Web applications and Coherence archives, you can manually control each instance of a JDBC data source.

To control JDBC data source instances:

  1. From the WebLogic Domain dropdown menu, select Control, then select Deployments.

  2. In the Summary table, select the name of the Web application or Coherence archive for which you want to control JDBC data source instances.

    An overview page displays information related to the application.

  3. From the Domain Application Deployment dropdown menu, select Control, then select Data Source Operations.

  4. In the Data Source Operations table, select the row of the JDBC data source instances you want to control.

    The control options are displayed above the table.

  5. Click the desired control option:

    • Shrink: manually shrink the pool of database connections in individual instances of a data source to the initial capacity or the current number of connections in use, whichever is greater

    • Reset: closes and recreates all available database connections in the pool of connections in the data source

    • Clear Statement Cache: clear the prepared and callable statements that are used in each connection in a data source instance

    • Suspend: manually suspend or force suspend individual instances of a data source so that applications can no longer get a database connection from the data source

    • Resume: manually resume individual data sources that are in a Suspended state

    • Stop: manually stop or force stop individual instances of a data source

    • Start: manually start individual instances of a data source that have a health state of Shutdown

  6. Click Yes to confirm the action.

For more information, see Configuration Options.

Control resource adapters

For Web applications, resource adapters, and Coherence archives, you can start, stop, suspend, or resume a resource adapter connected with the application.

To control a resource adapter:

  1. From the WebLogic Domain dropdown menu, select Control, then select Deployments.

  2. In the Summary table, select the name of the Web application, resource adapter, or Coherence archive containing the resource adapter you want to control.

    An overview page displays information related to the application.

  3. From the Domain Application Deployment dropdown menu, select Control, then select Resource Adapter.

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

    The control options are displayed above the table.

  5. 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.

  6. Click Yes to confirm the action.

For more information, see Configuration Options.

Control outbound connection pools

For Web applications, resource adapters, and Coherence archives, you can reset or force reset outbound connection pools associated with the application.

To control outbound connection pools:

  1. From the WebLogic Domain dropdown menu, select Control, then select Deployments.

  2. In the Summary table, select the name of the Web application, resource adapter, or Coherence archive for which you want to control outbound connection pools.

    An overview page displays information related to the application.

  3. From the Domain Application Deployment dropdown menu, select Control, then select Outbound Connection Pools.

  4. In the Outbound Connection Pools table, select the row of the outbound connection pool you want to control.

    The control options are displayed above the table.

  5. Click Reset or Force Reset to reset the outbound connection pool.

  6. Click Yes to confirm the action.

For more information about these fields, see Configuration Options.