Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide

- Previous: Admin Console Tasks for Connector Connection Pools
- Next: Admin Console Tasks for Administered Object Resources

# Admin Console Tasks for Connector Resources

- To create a connector resource

- To edit a connector resource

- Deleting a Connector Resource

- To configure the connector service

## To 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`.

      Don’t forget the forward slash.

   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, select the Disable on All Targets radio button.

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

   4. 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.

5. Click OK.

##### Equivalent asadmin command

`create-connector-resource`

## To edit a connector resource

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

2. Expand the Connector Resources node.

3. Select the node for the connector resource that you want to edit.

4. On the Edit Connector Resources page, you can select a different connection pool from the Pool Name menu.

5. On the Targets tabbed pane, you can edit the targets on which the connector resource is deployed by clicking Manage Targets.

   See To create a connector resource for more information on targets.

6. Click Save to apply the edits.

## Deleting a Connector Resource

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

2. Select the Connector Resources node.

3. On the Connector Resources page, select the checkbox for the resource to be deleted.

4. Click Delete.

##### Equivalent asadmin command

`delete-connector-resource`

## To configure the connector service

Use the Connector Service screen to configure the connector container for all resource adapters deployed to this cluster or server instance.

1. Select Configurations from the tree.

2. Select the instance to configure:

   - To configure a particular instance, select the instance’s config node. For example, for the default instance, server, select the server-config node.

   - To configure the default settings for future instances that use a copy of default-config, select the default-config node.

3. Select the Connector Service node.

4. Specify the shutdown timeout in seconds in the Shutdown Timeout field.

   Enter an integer representing the number of seconds that the application server waits to allow the `ResourceAdapter.stop` method of the connector module’s instance to complete. Resource adapters that take longer than the specified shutdown timeout are ignored by the application server and the shutdown procedure continues. The default shutdown timeout is 30 seconds. Click Load Defaults to select the default shutdown timeout for the resource adapters deployed to this cluster or server instance.

- Previous: Admin Console Tasks for Connector Connection Pools
- Next: Admin Console Tasks for Administered Object Resources

- © 2010, Oracle Corporation and/or its affiliates