+

Search Tips   |   Advanced Search

 

Manage resources through JCA lifecycle management operations

 

You can manage the run-time status of your data source and connection factory resources to perform some data access administrative tasks without restarting the appserver. This topic outlines the process for managing those resources through the console. When you manage the run-time status of connection factories or data sources, you are applying J2EE Connector Architecture (JCA) lifecycle management operations to the MBeans that are associated with these resources. The management operations are PAUSE and RESUME. Pausing an MBean halts outbound communication to the backend, such as a database. This action affects all applications that use the corresponding connection factory or data source on the same server.

 

Overview

With these management operations, you can perform some administrative tasks dynamically, without restarting your appserver:

 

Procedure

  1. Navigate to the console page that corresponds to the resource type to manage.

  2. Select the connection factory or data source configurations that you want to manage, and click Manage state. The administrative console now displays the JCA lifecycle management page, which contains a table that depicts the full scope configuration of your previous selection.The table is comprised of three columns:

  3. Select the rows that represent each invocation of the resource, per running server, to manage. Be aware that when you click your management operation, WAS applies it to every resource object in your selection.

    If the MBean status of a row has a value of NOT_ACCESSED, you cannot apply JCA lifecycle management operations to that MBean. The NOT_ACCESSED state indicates that the MBean exists on the specified server, but no applications performed a JNDI namespace lookup on the corresponding connection factory or data source.

  4. Click Pause or Resume. The status column of the table changes to reflect the new state of the MBean.



JCA lifecycle management