cjtestres (execute resource connection test)
Format
cjtestres [server-name] [-nameserver provider-URL]
-type {datasource|mail}
-resname display-name [-resname display-name ...]
cjtestres [server-name] [-nameserver provider-URL]
-type rar
-resname display-name [-resname display-name ...]
cjtestres [server-name] [-nameserver provider-URL]
-name application-name -type rar
-resname display-name [-resname display-name ...]
Function
This command executes a connection test on a J2EE resource adapter, mail, or data source.
If there are multiple connection definitions in a resource adapter, this command performs the connection test for all the connection definitions. The connection test is executed for all the connection definitions, even if an error occurs in one of the connection definitions.
Note that you cannot execute the connection test for Inbound resource adapters.
Arguments
protocol-name: : host-name: port-number
Input examples
cjtestres -type datasource -resname Myds1
cjtestres -type mail -resname Mymail1
cjtestres -type rar -resname Myrar1
cjtestres -name App1 -type rar -resname Myrar1
Return values
Notes