Hitachi

uCosminexus Application Server Command Reference Guide


cjimportlibjar (import library JAR)

Organization of this page

Format

cjimportlibjar [server-name] [-nameserver provider-URL]
               -name application-name -f library-JAR-file-path
               [-f library-JAR-file-path ...]

Function

This command imports a library JAR into a J2EE application. The command can import multiple files concurrently. The import destination of the library JAR is directly below the J2EE application root.

For the library JAR, see 2.3.3 J2EE applications and J2EE component in the uCosminexus Application Server System Design Guide.

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.

-name application-name

Specifies the name of the application that imports the library JAR.

-f library-JAR-file-path

Specifies the path of the library JAR file that is to be read.

Input examples

cjimportlibjar MyServer -name App1 -f applib.jar

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).

Notes