cjgetjbprop (get HITACHI JavaBeans Resource Property)

Format

cjgetjbprop [server-name] [-nameserver provider-URL]
     -resname JavaBeans-resource-display-name
     [-encoding code-set-name] -c Property-File-path

Function

This command obtains the HITACHI JavaBeans Resource Property specified by -resname and generates a Property File.

For details on the JavaBeans Resource Property files, see 4.2 JavaBeans resource property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.

If a file already exists on the specified path, it is overwritten.

Arguments

server-name
Specifies the name of a connected J2EE server. If the server name is omitted, the host name is assumed.
-nameserver provider-URL
Specifies the access protocol for the CORBA Naming Service, the name of the host running the CORBA Naming Service, and the port number being used by the host. These items are specified in the following format:

protocol-name: : host-name: port-number

For details on the specification items, see 2.1(2) Provider URL.
-resname JavaBeans-resource-display-name
Specifies the display name of the JavaBeans resource that is to be retrieved.
-encoding code-set-name
Specifies the name of the code set to be used when the Property File is output. The following code set names can be specified:
  • UTF8
  • UTF-8
  • ASCII
  • US-ASCII
  • ISO-8859-1
  • EUC_JP
  • Shift_JIS
  • SJIS
  • windows-31j
  • MS932
  • Code sets supported by JavaVM
If this argument is omitted, the default-encoding name of JavaVM is used. To confirm the used encoding name, see the XML declaration in the first line of the property file acquired with the cjgetjbprop command.

<?xml version="XML-standard-version-number" encoding="code-set-name"?>

-c Property File-path
Specifies the output destination path of the Property File.

Input examples

cjgetjbprop MyServer -resname MyJavaBeansName -encoding Shift_JIS -c MyJavaBeansProp.xml

Return values

0:
The command terminated normally.
1:
The command terminated abnormally.
2:
The command could not be executed because of an exclusion error.
3:
A timeout error occurred.
9:
The command could not be executed because there are no administrator privileges (in Windows Server 2012, Windows Server 2008, Windows 8, Windows 7, or Windows Vista).

Notes