Sun GlassFish Enterprise Server v2.1.1 Administration Guide

ProcedureTo Create a Connector Connection Pool

Before You Begin

Before creating the pool, deploy the connector module (resource adapter) associated with the pool. The values that are specified for the new pool depend on the connector module that is deployed.

  1. In the tree component, expand the Resource node and then the Connectors node. Select the Connector Connection Pools node. On the Connector Connection Pools page, click New.

  2. On the first Create Connector Connection Pool page, specify the following settings:

    1. In the Name field, enter a logical name for the pool.

      Specify this name when creating a connector resource.

    2. Select an entry from the Resource Adapter combo box.

      The combo box displays a list of deployed resource adapters (connector modules).

  3. Select a value from the Connection Definition combo box.

    The choices in the combo box depend on the resource adapter you selected. The Connection Definition attribute identifies a resource adapter's connection-definition element in thera.xml file.

  4. Click Next.

  5. On the next Create Connector Connection Pool page, perform these tasks:

    1. In the General Settings section verify that the values are correct.

    2. For the fields in the Pool Settings section, the default values can be retained.

      These settings can be changed at a later time. See To Edit a Connector Connection Pool.

    3. In the Additional Properties table, add any required properties.

      In the previous Create Connector Connection Pool page, you selected a class in the Connection Definition combo box. If this class is in the server’s classpath, then the Additional Properties table displays default properties.

  6. Click Finish.

Equivalent asadmin command