cjsetappprop (set HITACHI Application Property)
Format
cjsetappprop [server-name] [-nameserver provider-URL]
-name J2EE-application-name -c Property File-path
cjsetappprop [server-name] [-nameserver provider-URL]
-name J2EE-application-name -type {ejb|war|rar}
-resname resource-display-name[/lower-resource-display-name]
-c Property File-path
cjsetappprop [server-name] [-nameserver provider-URL]
-name J2EE-application-name -type all
-c Property File-path
Function
This command changes the property of an application, property of the resource included in the EJB-JAR file (EJB-JAR file, Session Bean, Entity Bean, or Message-driven Bean), property of the resource included in the WAR file (WAR file, servlet/JSP, or filter), or the property of RAR file to the values in the specified application 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 in setting up J2EE applications and resources, see the following locations:
If the application is in exploded archive format, this command can be executed only for a J2EE server operating in the same host as the command execution host.
If the cjsetappprop command is used for changing, adding, or deleting the Application Server-specific definition information of the application containing cosminexus.xml, cosminexus.xml is updated. If the changed, added, or deleted application has exploded archive format, cosminexus.xml in the application directory is updated. For the Application Server-specific definition information, see 2. Cosminexus Application Property File (cosminexus.xml) in the uCosminexus Application Server Application and Resource Definition Reference Guide.
If you change the following tag values for the applications that do not contain application.xml, application.xml is created:
Arguments
protocol-name: : host-name: port-number
Input examples
cjsetappprop MyServer -name App1 -c App1Prop.xml
cjsetappprop MyServer -name App1 -type ejb -resname accountJsp/MyAccount -c MyAccountProp.xml
cjsetappprop MyServer -name App1 -type war -resname account-war/Account -c AccountProp.xml
cjsetappprop MyServer -name App1 -type rar -resname account-rar -c AccountProp.xml
cjsetappprop MyServer -name App1 -type all -c App1AllProp.xml
Return values
Notes