Hitachi

Hitachi Application Server V10 Command Reference Guide (For UNIX® Systems)


2.20.6 create-resource-adapter-config

Creates the configuration information for the connector module.

Synopsis

asadmin [asadmin-options] create-resource-adapter-config [--help]
    [--objecttype object-type] raname

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The create-resource-adapter-config subcommand creates configuration information for the connector module. This subcommand can be run 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 case, the resource adapter is restarted with the new configuration. This subcommand is supported in remote mode only.

Precondition

Domain Administration Server (DAS) is running.

Files

For raname operand,

It is the value of the resource-adapter-name in the domain.xml file.

Arguments

--help | -?

Displays the help text for the subcommand

--objecttype object-type

Specifies the type of object.

Type: String

The following values can be specified:

  • Name of the objecttype

Default value: user

raname

Indicates the connector module name. It is the value of the resource-adapter-name in the domain.xml file.

Type: String

The following values can be specified:

  • Name of connector module

Default value: N/A

Examples

The following example creates a resource adapter configuration for ra1.

asadmin create-resource-adapter-config ra1

Exit Status

Exit Status

Explanation

0

command executed successfully.

1

error in executing the command.