cjgetresprop (get resource Property)
Format
cjgetresprop [server-name] [-nameserver provider-URL]
-type {ejb|war}
-resname resource-display-name[/lower-resource-display-name]
[-encoding code-set-name] -c Property File-path
cjgetresprop [server-name] [-nameserver provider-URL]
-type datasource -resname data-source-display-name
[-encoding code-set-name] -c Property File-path
cjgetresprop [server-name] [-nameserver provider-URL]
-type mail -resname mail-display-name
[-encoding code-set-name] -c Property File-path
cjgetresprop [server-name] [-nameserver provider-URL]
-type rar -resname resource-adapter-display-name
[-encoding code-set-name] -c Property File-path
Function
This command obtains the Property of the resources (EJB-JAR file, Session Bean, Entity Bean, and Message-driven Bean) contained in an EJB-JAR file, the Property of the resources (WAR file, servlet/JSP, and filter) contained in a WAR file, or the Property of the resources contained in a data source file, mail, or an undeployed RAR file, and generates a Property File.
If the display name of the lower resource is not specified, the specification becomes that of an EJB-JAR or WAR file.
For the property files used during setup of J2EE applications and resources, see the following locations:
Arguments
protocol-name: : host-name: port-number
<?xml version="XML-standard-version-number" encoding="code-set-name"?>
Input examples
cjgetresprop MyServer -type ejb -resname accountJsp/MyAccount -encoding Shift_JIS -c MyAccountProp.xml
cjgetresprop MyServer -type war -resname account-war/Account -encoding UTF-8 -c AccountProp.xml
cjgetresprop MyServer -type datasource -resname JdbcDbpsv -c JdbcDbpsvProp.xml
cjgetresprop MyServer -type mail -resname Mail -c MailProp.xml
cjgetresprop MyServer -type rar -resname account-rar -encoding Shift_JIS -c AccountProp.xml
Return values
Notes