Show TOC Start of Content Area

Procedure documentation Managing JCA Connection Factories  Locate the document in its SAP Library structure

Use

You use this procedure to view connection definitions and manage their connection pooling and configuration properties. JCA Connection Factories are defined by an outbound resource adapter. To view the defining adapter, choose the Antecedent JCA Resources tab.

Note

Changing property values may significantly alter the function of the resource adapter, which may also affect other applications that use it. Therefore, you must be careful when modifying the CF properties.

Prerequisites

You are in the Configuration Management Infrastructure Application Resources function.

Procedure

Cloning Connection Factories

Choose Show...

       1.      Choose Show All JCA Resources.

       2.      Select the JCA Resource with the JCA Connection Factory you wish to clone from the Resources List.

       3.      Choose the Dependent JCA Connection Factories tab.

       4.      Select the JCA Connection Factory to be cloned.

       5.      Choose Copy and Add New JCA Connection Factory.

The New JCA Connection Factory Creation area opens.

       6.      Enter an arbitrary name for the CF in the JNDI Name field.

       7.      (Optional) If you want to add aliases for the CF, choose Add New Alias and enter an arbitrary name for the alias in the Alias Name field.

       8.      To modify configuration properties, choose the Configuration Properties tab.

                            a.      Select a property and modify the values in the Name, Type, Value, and Description fields as necessary.

       9.      To set connection pooling parameters, choose the Connection Pooling tab.

                            a.      Specify the following values:

       Maximum Connections
Maximum connections that are kept in the pool.

       Maximum Time to Wait for Connection
When the maximum number of supported connections is reached and there are no free connections in the pool, the client waits for the specified interval to obtain a connection. If the system does not return a connection to the pool during the interval, an exception is thrown.

   10.      To save the cloned Connection Factory, choose Save. To view the newly created Connection Factory, choose Show All JCA Connection Factories.

Configuring JCA Connection Factories

...

       1.      To modify a Connection Factory configuration at runtime, choose Show All JCA Connection Factories.

       2.      Select a Connection Factory from the Resources List.

If You Want To

Then

Delete a Connection Factory

...

Choose Delete Selected Resource.

Manage Connection Pooling

...

       1.      Choose the Connection Pooling tab in the Resource Details area.

       2.      Specify the following parameters:

      Maximum Connections
Maximum connections that are kept in the pool.

      Maximum Time to Wait for Connection
 When the maximum number of supported connections is reached and there are no free connections in the pool, the client waits for the specified interval to obtain a connection. If the system does not return a connection to the pool during the interval, an exception is thrown.

      Expiration
Enables the parameters for connection life control – that is, Connection Lifetime and Cleanup Thread. By default, this option is disabled.

Add an Alias

...

       1.      Choose the Name Space tab.

       2.      To add an alias, choose Add New Alias. A blank new line appears at the top of the list of aliases.

       3.      Enter an arbitrary name for the alias and choose Save button in the Resource Details area.

Remove an Alias

...

       1.      Choose the Name Space tab.

       2.      To remove an alias, choose an alias and choose Remove Selected Alias.

Enter an arbitrary name for the alias and choose Save.

 

End of Content Area