cjsetrarprop (HITACHI Connector Property Settings)

Format

cjsetrarprop [server-name] [-nameserver provider-URL]
      -resname resource-adapter-display-name -c Property File-path

Function

This command changes the Property of the resource contained in a deployed RAR file specified by -resname to the values specified in a Property File.

The RAR file property is set in the HITACHI Connector Property File. For the HITACHI Connector Property File, see 4.1 HITACHI Connector property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.

The display name of the resource is substituted with the name specified in the <display-name> tag of the property file.

Arguments

server-name
Specifies the name of a connected J2EE server. If the server name is omitted, the host name is used as the server name.
-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 resource-adapter-display-name
Specifies the display name of the resource (deployed resource adapter) that is to be set up.
-c Property File-path
Specifies the path of the input source Property File.

Input examples

cjsetrarprop MyServer -resname account-rar -c MyRarprop.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 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