Hitachi

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


13.3.7 Details on the settings in the worker definition file (workers.properties)

This subsection describes the details on the format of settings and the items to be set in the worker definition file (workers.properties).

Organization of this subsection

(1) File storage directory

The following shows the directory storing the workers.properties file.

/opt/jp1ajs3web/uCPSB/CC/web/redirector

(2) File-editing procedure

The following describes the procedure for editing the workers.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. Execute the following command to stop the HTTP server.

    /etc/opt/jp1ajs3web/jajs_web_stop -t http
  2. Back up the workers.properties file, and store the backup file in any directory.

  3. Open the workers.properties file by using a text editor such as vi.

  4. Modify the definitions to be changed.

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

  6. Execute the following command to start the HTTP server.

    /etc/opt/jp1ajs3web/jajs_web -t http

(3) When the setting takes effect

When the JP1/AJS3 HTTP Server service starts

(4) Format

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

(omitted)
worker.list=worker1
worker.worker1.port=port-number-to-be-used-for-the-communication-between-HTTP-and-J2EE-servers
(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 number to be used for communication between HTTP and J2EE servers

Specify the port number of the port to be used for 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 worker.worker1.port matches the setting value of webserver.connector.ajp13.port in the user properties file for J2EE server (usrconf.properties). For details, see 13.3.6 Details on the settings in the user properties file for J2EE server (usrconf.properties).

(6) Notes