cjgetappprop (get HITACHI Application Property)
Format
cjgetappprop [server-name] [-nameserver provider-URL]
-name J2EE-application-name
[-encoding code-set-name] -c Property File-path
cjgetappprop [server-name] [-nameserver provider-URL]
-name J2EE-application-name -type {ejb|war|rar}
-resname resource-display-name[/lower-resource-display-name]
[-encoding code-set-name] -c Property File-path
cjgetappprop [server-name] [-nameserver provider-URL]
-name J2EE-application-name -type all
[-encoding code-set-name] -c Property File-path
Function
This command obtains properties of an application or resources (for an EJB-JAR file, the resources are EJB-JAR files, Session Bean, Entity Bean, or Message-driven Beans. For a WAR file, the resources are WAR files, servlet/JSP, or filters.) included in that application, or property of RAR file, and then generates a property File.
For the Property File used in setting up a J2EE application program and its resources, see the following locations:
For an application in exploded archive format, this command can be executed for a J2EE server that runs on the same host as the command execution host.
Arguments
protocol-name: : host-name: port-number
<?xml version="XML-standard-version-number" encoding="code-set-name"?>
Input examples
cjgetappprop MyServer -name App1 -encoding Shift_JIS -c App1Prop.xml
cjgetappprop MyServer -name App1 -type ejb -resname accountJsp/MyAccount -encoding UTF-8 -c MyAccountProp.xml
cjgetappprop MyServer -name App1 -type war -resname account-war/Account -c AccountProp.xml
cjgetappprop MyServer -name App1 -type rar -resname account-rar -c AccountProp.xml
cjgetappprop MyServer -name App1 -type all -encoding Shift_JIS -c App1AllProp.xml
Return values
Notes