Specify the key as follows:
key-name=value
This file specifies the invocation options of the JavaVM that executes the Java application when you use the cjclstartap command.
If you change the contents of this file while the Java application is running, the changes are applied only when the Java application is started next.
The specifiable keys and default values are described below. When an invalid value is specified for this key, operation is not guaranteed.
Table 14-2 Keys and default values that you can specify in usrconf.cfg (Java application)
Key name | Difference | Contents | Default value |
---|---|---|---|
add.jvm.arg | None | This key invokes JavaVM by using the specified option. For details about JavaVM options that can be specified in add.jvm.arg, see 14.2(6)(a) JavaVM options that can be specified in the add.jvm.arg key of the Java application. | For details about default values, see 14.2(6)(b) Default values of the JavaVM options specified in the option definition file for Java applications. |
add.class.path | Exists | Specify JAR for the container extension library. Specify the class path (stubs.jar, numeric.jar, user class.jar) necessary for the execution of each EJB application. If a path containing space is specified in the value, the path need not be enclosed with double quotation mark ("). Also, values specified in double quotations are not valid. | -- |
add.library.path# | None | Specify the shared library for JNI | -- |
cpp.library.version | None | Specify the version of libstdc++ library used in the process. Note that this key is used in Linux. The following string can be specified:
| 6 |
ejb.client.directory.shareable | Unique | Specify whether to simultaneously start multiple cjclstartap commands that use the same current directory or the same log output destination directory.
| true |
ejb.client.ejb.log | Unique | Specify a value from 1 to 16 bytes for the name of the log output destination directory of the messages output by the Java application under the directory specified in the ejb.client.log.directory key. You can specify single-byte alphanumeric characters, underscores (_), and hyphens (-). If you specify a string that exceeds 16 bytes, the KDJE40051-W message is output. If there are no access permissions for the directory and if you specify the file name, the KDJE40052-E message is output and the Java application terminates. If you specify ejbserver.client.ejb.log in the user property file (usrconf.properties), the specification of the user property file is given priority at the following log file output destinations:
| system |
ejb.client.log.appid | Unique | Specify a value from 1 to 16 bytes for the name of the log output destination subdirectory of the messages output by the Java application. You can specify single-byte alphanumeric characters, underscores (_), and hyphens (-). If you specify a string that exceeds 16 bytes, the KDJE40051-W message is output. If there are no access permissions for the directory and if you specify the file name, the KDJE40052-E message is output and the Java application terminates. If you specify ejbserver.client.log.appid in the user property file (usrconf.properties), the specification of the user property file is given priority at the following log file output destinations:
| ejbcl |
ejb.client.log.directory | Unique | Specify the log output destination path for the Java application in the range of 1 to 180 bytes. Specify the path as an absolute path or as a relative path from the current directory. You can specify single-byte alphanumeric characters, underscores (_), hyphens (-), and path separation characters. If you specify a path exceeding 180 bytes (when the relative path is specified, the total of absolute path and relative path up to the current directory), the KDJE40059-W message is output and the default value is used. When the default value exceeds 180 bytes, log initialization fails and terminates abnormally. In Windows, you cannot specify a path that includes a UNC name. In UNIX, you cannot specify a path of an nfs-mounted disk. If there are no access permissions for the directory and if you specify the file name, the KDJE40052-E message is output and the Java application terminates. If you specify ejbserver.client.log.directory in the user property file (usrconf.properties), the specification of the user property file is given priority at the following log file output destinations:
| Current-directory/logs |
ejb.client.log.stdout.enabled | Unique | Specify whether to output messages in the standard output.
| true |
jvm.type | Unique | Specify type of the JavaVM to be used. You can specify one of the following values:
| client |
Legend:
# EJB client application classpath
# RMI-IIOP Stubs jar file
add.class.path=Java-application-storage-path\stubs.jar
# RMI-IIOP interface jar file
add.class.path=Java-application-storage-path\1.jar
# User class
add.class.path=Java-application-storage-path\Java-application-jar
#add.class.path=user-classpath
# java vm options
add.jvm.arg=-Xms256m
add.jvm.arg=-Xmx512m
This section describes the JavaVM options that you can specify in add.jvm.arg and the default values for Java applications.
This section describes the JavaVM options that you can specify in the add.jvm.arg key specified in the option definition file for Java applications. JavaVM options include the options that can be specified as per the standards and the JavaVM extension options. Also, the default values of JavaVM options depend on the server to be used. For details about JavaVM extension options, see 16.1 List of JavaVM extension options. For details about Java HotSpot VM options, see 16.5 Java HotSpot VM options that can be specified in Cosminexus.
The JavaVM options that you can specify in the add.jvm.arg key of the J2EE server are as follows:
This section describes the default values of JavaVM options for J2EE servers: