uCosminexus Stream Data Platform - Application Framework Setup and Operation Guide

[Contents][Index][Back][Next]

8.5 JavaVM options file for RMI connections (jvm_client_options.cfg)

Organization of this section
(1) Format
(2) File name
(3) File storage location
(4) Description
(5) Specifiable parameters
(6) Notes

(1) Format

Specify each parameter in the following format:

parameter-name=JavaVM-option

(2) File name

jvm_client_options.cfg

(3) File storage location

You can store this file at any location. You use an argument of the sdpstartap command that starts RMI-connection adaptors to specify the file storage location. If you omit specification of the argument, working-directory\conf\ is assumed.

For details about the sdpstartap command, see sdpstartap (starts RMI-connection adaptors) in 7. Commands.

(4) Description

This file specifies the JavaVM options to be used to start RMI-connection adaptors. Only if you use RMI connection, you must create this file for each working directory or adaptor.

The JavaVM option specified in each parameter in this file is specified on the Java command line as shown below.

For the SDP_CLASS_PATH parameter:
The JavaVM options are delimited by the semicolon and specified in the -classpath option of a Java command.

For other parameters:
The JavaVM options are delimited by the single-byte space and specified as an argument of a Java command.

(5) Specifiable parameters

The table below lists and describes the parameters that can be specified and their default values. For details about the JavaVM options, see 8.11 List of JavaVM options.

Table 8-3 Specifiable parameters and their default values (jvm_client_options.cfg)

No. Parameter name Description Default value
1 SDP_CLASS_PATH Specifies the jar file that is used by the RMI-connection adaptors. This file depends on the system configuration.#
If you need to specify multiple jar files, you must specify this parameter for each jar file. The following shows an example:
Example:
SDP_CLASS_PATH=.
SDP_CLASS_PATH=C:\\sdp\\AP
If you specify a relative path for a jar file, make sure that the specified path is relative to the working directory.
None
2 SDP_CLASSLIB_TRACE Specifies whether a stack trace is to be output for the class library. -XX:-HitachiJavaClassLibTrace
3 SDP_CLASSLIB_TRACE_LINESIZE Specifies the number of characters per line of stack trace for the class library. -XX:HitachiJavaClassLibTraceLineSize=1024
4 SDP_GC Specifies whether extended verbosegc information is to be output when garbage collection occurs. -XX:-HitachiVerboseGC
5 SDP_GC_PRINT_CAUSE Specifies whether the cause of garbage collection is to be output. -XX:+HitachiVerboseGCPrintCause
6 SDP_INITIAL_MEM_SIZE Specifies the initial Java heap size.
You specify in this parameter the value obtained in 2.7.1 Estimating the memory requirements for the stream data processing engine and 2.7.2 Estimating the memory requirements for standard adaptors.
-Xms2048k
7 SDP_JVM_LOG Specifies a prefix for the log file name. -XX:HitachiJavaLog:javalog
8 SDP_JVM_LOG_FILE_SIZE Specifies the maximum size of a single log file. -XX:HitachiJavaLogFileSize=256k
9 SDP_LOCALS_IN_STACK_TRACE Specifies whether the local variable information is to be output to the stack trace during a thread dump output. -XX:-HitachiLocalsInStackTrace
10 SDP_LOCALS_SIMPLE_FORMAT Specifies whether the simple format is to be used to output local variable information. -XX:-HitachiLocalsSimpleFormat
11 SDP_MAX_MEM_SIZE Specifies the maximum Java heap size.
You specify in this parameter the value obtained in 2.7.1 Estimating the memory requirements for the stream data processing engine and 2.7.2 Estimating the memory requirements for standard adaptors.
-Xmx64m
12 SDP_MAX_PERM_SIZE Specifies the maximum size of the Permanent area. -XX:MaxPermSize=64m
13 SDP_NEW_RATIO Specifies the ratio of the Tenured area to the DefNew area. -XX:NewRatio=2
14 SDP_OOM_STACK_TRACE Specifies whether a stack trace is to be output in the event of an OutOfMemoryError. -XX:-HitachiOutOfMemoryStackTrace
15 SDP_OUTPUT_MILLI_TIME Specifies whether the time is to be output in milliseconds. -XX:-HitachiOutputMilliTime
16 SDP_PERM_SIZE Specifies the initial size of the Permanent area. -XX:PermSize=16m
17 SDP_THRD_DUMP Specifies whether a thread dump is to be output to the standard output. -XX:+HitachiThreadDumpToStdout
18 SDP_TRUE_TYPE_IN_LOCALS Specifies whether the actual type name of a local variable object is to be output as a character string when the local variable information is output. -XX:-HitachiTrueTypeInLocals
19 SDP_USER_OPT Specifies a JavaVM option when the administrator user wishes to add a JavaVM option.
To specify multiple JavaVM options, you must specify this parameter for each of the options. The following shows an example:
Example:
SDP_USER_OPT=-Dxxx=www
SDP_USER_OPT=-Dyyy=zzz
If you specify the same option more than once, the last option specified (that is the closest to the end of the file) takes effect.
None

#
For standard adaptors, the values are fixed. Specify the following values:
SDP_CLASS_PATH=installation-directory\\psb\\jaxp\\lib\\csmjaxb.jar
SDP_CLASS_PATH=installation-directory\\psb\\jaxp\\lib\\csmjaxp.jar
SDP_CLASS_PATH=installation-directory\\psb\\jaxp\\lib\\csmstax.jar
SDP_CLASS_PATH=installation-directory\\psb\\CC\\lib\\hitj2ee.jar

(6) Notes