Hitachi

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


3.4.6 Details on the settings in the user properties file for J2EE server (usrconf.properties)

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

Organization of this subsection

(1) File storage folder

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

JP1/AJS3-Web-Console-installation-folder\uCPSB\CC\server\usrconf\ejb\ajs3web

(2) File-editing procedure

The following describes the procedure for editing the usrconf.properties 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. Stop the JP1/AJS3 Web Application Server service.

  2. Back up the usrconf.properties file, and store the backup file in any folder.

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

  4. Modify the definitions to be changed.

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

  6. Start the JP1/AJS3 Web Application Server service.

(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.properties file:

(omitted)
# Internal http server settings
ejbserver.http.port=port-number-for-the-internal-management-of-J2EE-server
(omitted)
# Ajp13 connector settings
webserver.connector.ajp13.port=port-number-to-be-used-for-the-communication-between-HTTP-and-J2EE-servers
#webserver.connector.ajp13.max_threads=10
(omitted)
#ejbserver.rmi.naming.port=port-number-for-the-internal-management-of-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) Port numbers for the internal management of a J2EE server

Specify the port numbers for the internal management of the J2EE server. The defaults are 22255 and 23152.

When you want to change a port number from its default, change the port number so that it is appropriate to the environment. Make sure that the setting value of ejbserver.rmi.naming.port matches the setting value of ejbserver.rmi.naming.port in the system properties file for server management commands (usrconf.properties). For details, see 3.4.11 Details on the settings in the system properties file for server management commands (usrconf.properties).

(b) Port number to be used for communication between HTTP and J2EE servers

Specify the port number of the port to be used for the communication between the HTTP and J2EE servers on the Web Console server. The default is 22254.

When you want to change the port number from the default, change the port number so that it is appropriate to the environment. Make sure that the setting value of webserver.connector.ajp13.port matches the setting value of worker.worker1.port in the worker definition file (workers.properties). For details, see 3.4.7 Details on the settings in the worker definition file (workers.properties).

(6) Notes