Name | Synopsis | Description | Options | Operands | Examples | Exit Status | See Also
set-external-jndi-resource-prop <connect_options> --echo|-e] [--no-prompt|-Q] [--verbose|-v] --config|-c config-name --jndi-name|-j name (propertyname=value)+
Use this command to edit the external Java Naming and Directory Interface (JNDI) resource properties. The properties that you can edit are as follows:
enabled - Indicates whether the JNDI resource is enabled at runtime.
jndi-lookup-name — The JNDI lookup name of the resource.
res-type - The resource type.
factory-class - The class that instantiates resources.
description - The description of the resource.
For connect_options description, see help(1).
Specify this option to print this command on the standard output before executing. This option also prints the default value for all the non-mandatory options that you do not provide in the command.
If you specify this option, wadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file connect_option.
Specify this option to display a verbose output.
Specify the name of the configuration.
Specify the name of the external JNDI resource.
Specify the name and value of the external JNDI resource property that you want to edit.
wadm set-external-jndi-resource-prop --user=admin --password-file=../admin.passwd --host=serverhost --port=8989 --ssl=true--no-prompt --rcfile=null --config=config1 --jndi-name= external-jndi enabled=true res-type=org.apache.naming.Res factory-class=samples.jndi.externalRes.MyExternalConnectionFactory description=JndiExternalResource |
The following exit values are returned:
command executed successfully
error in executing the command
help(1), create-external-jndi-resource-userprop(1), delete-external-jndi-resource-userprop(1), list-external-jndi-resource-userprops(1), create-external-jndi-resource(1), delete-external-jndi-resource(1), get-external-jndi-resource-prop(1), list-external-jndi-resources(1)
Name | Synopsis | Description | Options | Operands | Examples | Exit Status | See Also