Hitachi

uCosminexus Application Server Application Setup Guide


7.2.5 Adding library JAR files to the J2EE application

To add the library JAR files to the J2EE application, execute the following command:

Execution format
cjimportlibjar [server-name] [-nameserver provider-URL] -name J2EE-application-name -f library-JAR-name
Example of execution
cjimportlibjar MyServer -name App1 -f applib.jar

For details on the cjimportlibjar command, see cjimportlibjar (import library JAR) in the uCosminexus Application Server Command Reference Guide.

Note:
  • The JAR file name specified when importing is used as the directory name in the working directory. Specify the JAR file name so that the path length of the working directory does not reach the upper limit specified for the platform. For details on estimating the path length of the working directory, see C.1 Work directory of the J2EE server in the uCosminexus Application Server System Setup and Operation Guide.

  • Specify the lower case .jar as the extension of the library JAR file.

  • You cannot add or delete library JARs in the J2EE applications that are in the exploded archive format.

  • Do not import a library JAR with the name hitachi-runtime.jar.