Hitachi

uCosminexus Application Server Expansion Guide


2.11.2 Settings in the execution environment (Batch server settings)

You must perform batch server settings if you want to use JavaVM functionality.

You implement the batch server settings in the Easy Setup definition file. You specify the definition of JavaVM functionality in <configuration> tag of a logical J2EE server (j2ee-server) of the Easy Setup definition file.

The following table describes the definition of JavaVM functionality in Easy Setup definition file.

Table 2‒32: Definition of JavaVM functionality in the Easy Setup definition file

Field

Parameter to be specified

Setting contents

Parameter name

Parameter value

Using the Explicit Memory Management functionality

add.jvm.arg

-XX:+HitachiUseExplicitMemory

If the Explicit Memory Management functionality is implemented in a batch application, you specify the use of the Explicit Memory Management functionality.

For details on the JavaVM options that you can specify when using the Explicit Memory Management functionality, see 7.13.1 Common settings for using the Explicit Memory Management functionality (setting JavaVM options)

Output age distribution information of Survivor area

add.jvm.arg

-XX:+HitachiVerboseGCPrintTenuringDistribution

The age distribution information for the Survivor area is output to a Java VM log file when copy GC occurs.

Acquiring JavaVM log (JavaVM log file)

add.jvm.arg

-XX:+HitachiOutOfMemoryStackTrace#

Specify output of exception information and stack trace to JavaVM log file.

-XX:+HitachiVerboseGC#

Extended verbosegc information is output to a Java VM log file when GC occurs.

-XX:+HitachiJavaClassLibTrace#

Specify output of stack trace of class libraries to JavaVM log file.

Note: For details on the Easy Setup definition file and parameters, see 4.3 Easy Setup definition file in the uCosminexus Application Server Definition Reference Guide.

#: Even if you specify any one, JavaVM log file is output. If you specify -XX:+HitachiOutOfMemoryStackTrace, -XX:+HitachiOutOfMemorySize and -XX:+HitachiOutOfMemoryCause are specified simultaneously.