The following topics are addressed here:
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.
Ensure that the server is running.
Remote subcommands require a running server.
Create configuration information by using the create-resource-adapter-config(1) subcommand.
Information about properties for the subcommand is included in this help page.
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 |
You can also view the full syntax and options of the subcommand by typing asadmin help create-resource-adapter-config at the command line.
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).
Ensure that the server is running.
Remote subcommands require a running server.
List the configurations for a resource adapter by using the list-resource-adapter-configs(1) subcommand.
This example lists all the resource adapter configurations.
asadmin> list-resource-adapter-configs ra1 ra2 Command list-resource-adapter-configs executed successfully |
You can also view the full syntax and options of the subcommand by typing asadmin help list-resource-adapter-configs at the command line.
Use the get and set subcommands to view and change the values of the resource adapter configuration properties.
List the configurations for a resource adapter by using the list-resource-adapter-configs(1) subcommand.
View the properties of the connector resource by using the get(1) subcommand.
For example:
asadmin> get domain.resources.resource-adapter-config.ra1.* |
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 |
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).
Ensure that the server is running.
Remote subcommands require a running server.
List the configurations for a resource adapter by using the list-resource-adapter-configs(1) subcommand.
Delete the configuration for a resource adapter by using the delete-resource-adapter-config(1) subcommand.
This example deletes the configuration for resource adapter ra1.
asadmin> delete-resource-adapter-config ra1 Command delete-resource-adapter-config executed successfully |
You can also view the full syntax and options of the subcommand by typing asadmin help delete-resource-adapter-config at the command line.