Hitachi

uCosminexus Application Server Command Reference Guide


cjdeletejb (delete JavaBeans resource)

Organization of this page

Format

cjdeletejb [server-name] [-nameserver provider-URL]
      -resname JavaBeans-resource-display-name
      [-resname JavaBeans-resource-display-name ...]

Function

This command deletes an imported JavaBeans resource.

The command can delete multiple JavaBeans resources concurrently. This command attempts to delete all specified JavaBeans resources, even if there are JavaBeans resources that cannot be deleted.

If a JavaBeans resource has been started even once, it cannot be deleted until the J2EE server is restarted.

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.

If this specification is omitted, the default value returned by NamingSevice is assumed.

-resname JavaBeans-resource-display-name

Specifies the display name of the JavaBeans resource that is to be deleted.

Input examples

cjdeletejb MyServer -resname MyJavaBeans

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