Show TOC

Managing JCA Connection FactoriesLocate this document in the navigation 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 Resource Adapter 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 Start of the navigation path Configuration  Next navigation step Infrastructure Next navigation step Application Resources End of the navigation path function.

Procedure

Cloning Connection Factories

  1. Choose Start of the navigation path Show Next navigation step JCA Resources End of the navigation path.

  2. Select the JCA resource with the JCA connection factory you wish to clone from the Resource List .

  3. Choose the Related JCA Connection Factories tab.

  4. Select the JCA Connection Factory to be cloned.

  5. Choose Copy & Add New JCA Connection Factory .

    The New JCA Connection Factory Creation screen opens .

  6. Choose the Name Space tab, then enter an arbitrary name for the new connection factory in the JNDI Name field.

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

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

    • To add a new property, choose the Add New Property pushbutton. If it is inactive, there are no new properties available for the particular connection factory.

      • If the connection factory is started, the SAP NetWeaver Administrator opens a dropdown list of the available properties.

        1. Choose the property you want to add from the dropdown list.

        2. Specify Value and Description of the property.

      • If the connection factory is stopped, choose Add , and then specify the Name , Type , Value , and Description of the new property.

    • To change an existing property, select the property, then modify the values in the Name , Type , Value , and Description fields as necessary.

    • To remove a property, select the property, then choose Remove Property .

  9. If you want to set connection pooling parameters, refer to the relevant description in the “Configuring JCA Connection Factories” section below.

  10. To save the cloned connection factory, choose Save .

  11. To view the newly created connection factory, choose Start of the navigation path Show Next navigation step JCA Connection Factories End of the navigation path.

Configuring JCA Connection Factories

  1. To modify a connection factory configuration at runtime, choose Start of the navigation path Show Next navigation step JCA Connection Factories End of the navigation path.

  2. Select a connection factory from the Resources List .

    Task

    Steps

    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.

      • Cleanup Interval - connection life control parameter

      • Connection Lifetime - connection life control parameter

    Add or remove an alias

    1. Choose the Name Space tab.

    2. To add an alias:

      1. Choose Add New Alias . A blank new line appears at the top of the list of aliases.

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

    3. To remove an alias, select the alias and choose Remove Selected Alias .