Sun GlassFish Enterprise Server 2.1 Administration Guide

ProcedureTo Create a Connector Resource

A connector resource (data source) provides applications with a connection to an EIS.

Before You Begin

Before creating a connector resource, first create a connector connection pool.

  1. In the tree component, expand the Resources node and then the Connectors node.

  2. Expand the Connector Resources node.

  3. On the Connector Resources page, click New.

  4. On the Create Connector Resources page, specify the resource’s settings:

    1. In the JNDI Name field, type a unique name, for example: eis/myERP.

    2. From the Pool Name combo box, choose the connection pool to which the new connector resource belongs.

    3. To change the resource to be unavailable, deselect the Status checkbox.

      By default, the resource is available (enabled) when it is created.

    4. Do one of the following:

      • If you are using the cluster profile, you will see the Targets section of the page. in the Targets section of the page, select the domain, cluster, or server instances where the connector resource will reside, from the Available field and click Add. If you do not want to deploy the connector resource to one of the domains, clusters, or server instances listed in the Selected field, select it from the field and click Remove.

      • If you are running a domain with developer profile, skip to step 5.

  5. Click OK.

Equivalent asadmin command

create-connector-resource