Hitachi

uCosminexus Application Server Definition Reference Guide


4.11.3 Parameters used for setting up the option definitions for the J2EE server

The following table describes the parameters used for setting up the option definitions for the J2EE server. For details about the contents to be specified in param-value corresponding to 'Value of param-name', see 2.2.2 usrconf.cfg (Option definition file for J2EE servers). In the table below, Default value means the value that is assumed when the parameter is not specified. VR is the version of Application Server on which parameters are introduced or changed.

The following describes the specification format.

Specification format
<param-name>parameter</param-name>
<param-value>value</param-value>

To specify multiple values, specify multiple <param-value> elements.

Specification format when multiple values are specified
<param-name>parameter</param-name>
<param-value>value</param-value>
<param-value>value</param-value>

Among the parameters that can be specified in usrconf.cfg (the option definitions file for the J2EE server), specify any parameters that do not appear either in the table in 4.11.5 Extension parameters of J2EE server or in the table in this section by using the following format.

Specification format
<param-name>ex.param</param-name>
<param-value>parameter=value</param-value>

To specify multiple values, specify multiple <param-value> elements.

Specification format when multiple values are specified
<param-name>ex.param</param-name>
<param-value>parameter=value</param-value>
<param-value>parameter=value</param-value>

If you use this format to specify the parameters described in this section, correct operation cannot be guaranteed.

Table 4‒56: Parameters used for setting up the option definitions for the J2EE server

Value of param-name

Specifiable value

Default value

VR

add.jvm.arg#

This key invokes JavaVM by using the specified option.

If you want to specify the system properties, do not use -D, but specify in usrconf.properties file.

When specifying multiple options, use the same key name and specify multiple times as follows:

(Example of specification)

add.jvm.arg= -Xms128m

add.jvm.arg= -Xmx256m

You cannot specify multiple options as shown in the following example. If you specify the options as shown below, the initialization of JavaVM will fail.

(Example of specification)

add.jvm.arg=-Xms128m -Xmx256m

For details about the Java VM options that can be specified by using add.jvm.arg keys, see 14.5 Java HotSpot VM options that can be specified in Cosminexus.

For details about Java VM extension options, see 14.1 List of JavaVM extension options.

For details about default values, see 2.2.2(5) Default values of the JavaVM options in J2EE servers.

07-50

ejb.public.directory

Specify any string.

(In Windows)

&amp;{cosminexus.home}\CC\server\public

(In UNIX)

&amp;{cosminexus.home}/CC/server/public

06-50

ejb.server.log.directory

Specify any string with a maximum of 200 characters.

(In Windows)

Cosminexus-working-directory/ejb/server-name/logs

(In UNIX)

Cosminexus-working-directory/ejb/server-name/logs

06-50

Note:

The value specification format is as follows:

(Example)

<param-name>add.jvm.arg</param-name>

<param-value>-Xms256m</param-value>

<param-value>-Xmx512m</param-value>

: