cjsetresprop (set Property of resource)
Format
cjsetresprop [server-name] [-nameserver provider-URL]
-type {ejb|war}
-resname resource-display-name[/lower-resource-display-name]
-c Property-File-path
cjsetresprop [server-name] [-nameserver provider-URL]
-type datasource -resname data-source-display-name
-c Property-File-path
cjsetresprop [server-name] [-nameserver provider-URL]
-type mail -resname mail-display-name
-c Property-File-path
cjsetresprop [server-name] [-nameserver provider-URL]
-type rar -resname resource-adapter-display-name
-c Property-File-path
Function
This command changes the Property of the resources contained in an EJB-JAR file (EJB-JAR file, Session Bean, Entity Bean, and Message-driven Bean), the Property of the resources contained in a WAR file (WAR file, servlet/JSP, filter), the Property of a data source file, the Property of mail, or the Property of the resources contained in an undeployed RAR file, to the values specified in a Property File.
If the display name of a lower resource is not specified, the specification is for the EJB-JAR or WAR file.
For the Property Files used to set up J2EE applications and resources, see the following locations:
Arguments
protocol-name: : host-name: port-number
Input examples
cjsetresprop MyServer -type ejb -resname accountJsp/MyAccount -c MyAccountProp.xml
cjsetresprop MyServer -type war -resname account-war/Account -c AccountProp.xml
cjsetresprop MyServer -type datasource -resname JdbcDbpsv -c JdbcDbpsvProp.xml
cjsetresprop MyServer -type mail -resname Mail -c MailProp.xml
cjsetresprop MyServer -type rar -resname account-ra -c AccountProp.xml
Return values
Notes