JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle GlassFish Server 3.1 Administration Guide
search filter icon
search icon

Document Information

Preface

1.  Overview of GlassFish Server Administration

Default Settings and Locations

Configuration Tasks

Administration Tools

Instructions for Administering GlassFish Server

Part I Runtime Administration

2.  General Administration

3.  Administering Domains

4.  Administering the Virtual Machine for the Java Platform

5.  Administering Thread Pools

6.  Administering Web Applications

7.  Administering the Logging Service

8.  Administering the Monitoring Service

9.  Writing and Running JavaScript Clients to Monitor GlassFish Server

10.  Administering Life Cycle Modules

11.  Extending and Updating GlassFish Server

Part II Resources and Services Administration

12.  Administering Database Connectivity

13.  Administering EIS Connectivity

About EIS Connectivity

Administering Connector Connection Pools

To Create a Connector Connection Pool

To List Connector Connection Pools

To Connect to (Ping) or Reset (Flush) a Connector Connection Pool

To Update a Connector Connection Pool

To Delete a Connector Connection Pool

Administering Connector Resources

To Create a Connector Resource

To List Connector Resources

To Update a Connector Resource

To Delete a Connector Resource

Administering the Resource Adapter Configuration

To Create Configuration Information for a Resource Adapter

To List Resource Adapter Configurations

To Update a Resource Adapter Configuration

To Delete a Resource Adapter Configuration

Administering Connector Security Maps

To Create a Connector Security Map

To List Connector Security Maps

To Update a Connector Security Map

To Delete a Connector Security Map

Administering Connector Work Security Maps

To Create a Connector Work Security Map

To List Connector Work Security Maps

To Update a Connector Work Security Map

To Delete a Connector Work Security Map

Administering Administered Objects

To Create an Administered Object

To List Administered Objects

To Update an Administered Object

To Delete an Administered Object

14.  Administering Internet Connectivity

15.  Administering the Object Request Broker (ORB)

16.  Administering the JavaMail Service

17.  Administering the Java Message Service (JMS)

18.  Administering the Java Naming and Directory Interface (JNDI) Service

19.  Administering Transactions

Part III Appendixes

A.  Subcommands for the asadmin Utility

Index

Administering the Resource Adapter Configuration

The following topics are addressed here:

To Create Configuration Information for a Resource Adapter

Use the create-resource-adapter-config subcommand in remote mode to create configuration information for a resource adapter, also known as a connector module. You can run the subcommand before deploying a resource adapter, so that the configuration information is available at the time of deployment. The resource adapter configuration can also be created after the resource adapter is deployed. In this situation, the resource adapter is restarted with the new configuration.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. Create configuration information by using the create-resource-adapter-config(1) subcommand.

    Information about properties for the subcommand is included in this help page.

Example 13-7 Creating a Resource Adapter Configuration

This example creates the configuration for resource adapter ra1.

asadmin> create-resource-adapter-config --property foo=bar --threadpoolid mycustomerthreadpool ra1
Command create-resource-adapter-config executed successfully

See Also

You can also view the full syntax and options of the subcommand by typing asadmin help create-resource-adapter-config at the command line.

To List Resource Adapter Configurations

Use the list-resource-adapter-configs subcommand in remote mode to list the configuration information contained in the domain configuration file (domain.xml) for the specified resource adapter (connector module).

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. List the configurations for a resource adapter by using the list-resource-adapter-configs(1) subcommand.

Example 13-8 Listing Configurations for a Resource Adapter

This example lists all the resource adapter configurations.

asadmin> list-resource-adapter-configs
ra1
ra2
Command list-resource-adapter-configs executed successfully

See Also

You can also view the full syntax and options of the subcommand by typing asadmin help list-resource-adapter-configs at the command line.

To Update a Resource Adapter Configuration

Use the get and set subcommands to view and change the values of the resource adapter configuration properties.

  1. List the configurations for a resource adapter by using the list-resource-adapter-configs(1) subcommand.
  2. View the properties of the connector resource by using the get(1) subcommand.

    For example:

    asadmin> get domain.resources.resource-adapter-config.ra1.*
  3. Set the property of the connector resource by using the set(1) subcommand.

    For example:

    asadmin> set domain.resources.resource-adapter-config.ra1.raSpecificProperty=value

To Delete a Resource Adapter Configuration

Use the delete-resource-adapter-config subcommand in remote mode to delete the configuration information contained in the domain configuration file (domain.xml) for a specified resource adapter (connector module).

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. List the configurations for a resource adapter by using the list-resource-adapter-configs(1) subcommand.
  3. Delete the configuration for a resource adapter by using the delete-resource-adapter-config(1) subcommand.

Example 13-9 Deleting a Resource Adapter Configuration

This example deletes the configuration for resource adapter ra1.

asadmin> delete-resource-adapter-config ra1
Command delete-resource-adapter-config executed successfully

See Also

You can also view the full syntax and options of the subcommand by typing asadmin help delete-resource-adapter-config at the command line.