Hitachi

uCosminexus Application Server Command Reference Guide


cjsetjbprop (set HITACHI JavaBeans Resource Property)

Organization of this page

Format

cjsetjbprop [server-name] [-nameserver provider-URL]
      -resname JavaBeans-resource-display-name -c Property-file-path

Function

This command changes the property of JavaBeans resource specified with -resname to the value in the specified JavaBeans resource property file. For details on the JavaBeans resource property file, see 4.2 HITACHI JavaBeans Resource Property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.

The specified JavaBeans resource must exist.

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

The Property of a JavaBeans resource cannot be changed if the resource has been started.

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 set up.

-c Property-file-path

Specifies the path of the input source Property file.

Input examples

cjsetjbprop MyServer -resname MyJavaBEansName -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).

Notes