asadmin-create-connector-resource(1AS) User Commands asadmin-create-connector-resource(1AS)
asadmin-create-connector-resource, create-connector-resource - registers the resource with the specified JNDI name
create-connector-resource --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile
filename] [--terse=false] [--echo=false] [--interactive=true] --poolname connector_connection_pool_name [--enabled=true] [--description
Registers the resource with the specified JNDI name. The connector connection pool must already exist. This command is supported in remote
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
--poolname name of the connection pool connector resource. If two or more resource elements point to the same connection pool
element, they will use the same pool connections at runtime.
--enabled determines whether the resource is enabled at runtime. If a resource is not enabled, you are not able to use the
resource. Use the set command to enable or disable resources.
--description text description of the connection pool.
jndi_name JNDI name of the resource to be created.
Example 1: Using the create-connector-resource command
Execute the example described for create-connector-connection-pool command before trying out this example.
asadmin> create-connector-resource --user admin1 --password adminadmin1
--host pigeon --port 5001 --poolname jms/qConnPool --description
"creating a sample connector resource" jms/qConnFactory
Command create-connector-resource executed successfully
0 command executed successfully
1 error in executing the command
J2EE 1.4 SDK March 2004 asadmin-create-connector-resource(1AS)