5.2.1 usrconf (Option definition file for server management commands for UNIX)
- Organization of this subsection
(1) Format
This option definition file is in the shell script file format.
Specify the key as follows:
set key-name=value
(2) File storage location
/opt/Cosminexus/CC/admin/usrconf/
(3) Functionality
This file specifies the invocation options of the JavaVM that executes the server management commands. Note that this file is for UNIX.
(4) Specifiable keys
The following table describes the specifiable keys and the default values:
Key name |
Contents |
Default |
---|---|---|
This key invokes JavaVM by using the specified option. You can specify the following JavaVM options:
|
For details about default values, see 5.2.1(6) Default value for JavaVM options in server management commands. |
|
This key adds the set value to the class path. If you want to specify multiple values, demarcate them with a colon (:). |
None |
|
This key adds the set value to the environment variable of library search path. If you want to specify multiple values, demarcate them with a colon (:). |
None |
# Even if you specify -Dejbserver.log.directory, log data will be output to the default log output destination for server management commands when the following operations are performed:
-
Use the mngsvrutil command to display a list of J2EE applications
mngsvrutil list appStatus | resStatus | resJavaBeansStatus
-
Perform Manage logical server applications on the management portal
-
Use Remote Management of Management Server
-
Perform operations on the HCSC server
(5) JavaVM options that can be specified in USRCONF_JVM_ARGS (in usrconf)
This section describes the Java HotSpot VM options that you can specify in USRCONF_JVM_ARGS and points to note when specifying these options.
The following table describes Java HotSpot VM options that you can specify in USRCONF_JVM_ARGS. VR is the version of Application Server on which parameters are introduced or changed.
Key name |
Contents |
Specifiable value |
VR |
---|---|---|---|
-Xms |
This key sets the initial size for the Java heap. |
The input is not limited. |
06-00 |
-Xmx |
This key sets the maximum size for the Java heap.
|
The input is not limited. |
06-00 |
-Xss |
This key sets the maximum size for one stack area. |
The input is not limited. |
06-00 |
-Xdebug |
This key invokes JavaVM with the debugger in enable status. |
The input is not limited. |
06-00 |
-Xrun |
This key loads the library. |
The input is not limited. |
06-00 |
-Dejbserver.log.directory |
This key specifies the path of the directory where the log file is output. Use a forward slash (/) as the delimiter in the directory path. |
The input is not limited. |
06-00 |
-XX:MetaspaceSize |
This key sets the minimum threshold value for Full GC in the metaspace area. This value is used in the calculation of changing the threshold value. |
The input is not limited. |
09-70 |
-XX:MaxMetaspaceSize |
This key specifies the maximum size for the Metaspace area. |
The input is not limited. |
09-70 |
(6) Default value for JavaVM options in server management commands
The following is the default value for JavaVM options in server management commands:
-
-Xmx512m
(7) Examples of coding
#!/bin/csh -f set USRCONF_JVM_ARGS="-Xms64m -Xmx512m" set USRCONF_JVM_CLPATH=/usr/home/lib/mylib.jar set USRCONF_JVM_LIBPATH=/usr/home/bin
(8) Precautions
-
The CLASSPATH environment variable set by shell is disabled in the server management commands, but the other environment variables (such as PATH) are enabled.
-
Do not use the following characters in the value to be specified:
Double quotation mark ("), ampersand (&), vertical bar (|), less-than sign (<) and greater-than sign (>)
-
JavaVM options that are not specified in USRCONF_JVM_ARGS are set to the JavaVM default values. For details about JavaVM options, see 14.4 Default values of the Java HotSpot VM options that can be specified in Cosminexus. However, if -Dejbserver.log.directory is not specified, /opt/Cosminexus/CC/admin/logs is applied.
-
When you use Eclipse Plug-ins using Management Server for performing operations, the specification of this file is invalid. When you use Eclipse Plug-ins using Management Server for performing operations, specify the values in the option definition file for the Administration Agent (adminagentuser.cfg).