Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Configuration Guide


13.3.9 Details on the settings in the option definition file for J2EE server (usrconf.cfg)

This subsection describes the details on the format of settings and the items to be set in the option definition file for J2EE server (usrconf.cfg).

Organization of this subsection

(1) File storage directory

The following shows the folder storing the usrconf.cfg file.

/opt/jp1ajs3web/uCPSB/CC/server/usrconf/ejb/ajs3web

(2) File-editing procedure

The following describes the procedure for editing the usrconf.cfg file. If you are operating in a cluster environment, follow the edit procedure to set the same definitions for the secondary node as those set for the primary node.

  1. Execute the following command to stop the JP1/AJS3 Web Application Server service.

    /etc/opt/jp1ajs3web/jajs_web_stop -t app
  2. Back up the usrconf.cfg file, and store the backup file in any directory.

  3. Open the usrconf.cfg file by using a text editor.

  4. Modify the definitions to be changed.

  5. Save the usrconf.cfg file by using UTF-8 encoding.

  6. Execute the following command to start the JP1/AJS3 Web Application Server service.

    /etc/opt/jp1ajs3web/jajs_web -t app

(3) When the setting takes effect

When the JP1/AJS3 Web Application Server service starts

(4) Format

The following shows the format of settings in the usrconf.cfg file:

(omitted)
# java vm options
#add.jvm.arg=-Xms256m
add.jvm.arg=-Xmx maximum-memory-size-available-for-the-J2EE-server
(omitted)

Note that lines beginning with a hash mark (#) are comment lines.

(5) Setting items

The following describes the items to be set:

(a) The maximum size of Java heap available to applications on the Web Console server

Specify the maximum size of the Java heap available to applications on the Web Console server.

Specifiable values

512 to 5120(units:megabytes)

Default value

2048(units:megabytes)

Recommended value

Default value

Always end the specified size value with the character "m".

If you change the maximum size from the default, specify a maximum size appropriate for system operation. For the memory requirements, see the Release Notes.

(6) Examples

The following shows an example of definitions in the usrconf.cfg file:

(omitted)
# java vm options
#add.jvm.arg=-Xms256m
add.jvm.arg=-Xmx512m
(omitted)

(7) Notes