13.3.4 Details on settings in the network-settings file (ajscd_ajs3web.properties)
This subsection describes the details on the format of settings and the items to be set in the network-settings file (ajs3cd_ajs3web.properties).
- Organization of this subsection
(1) File storage directory
The ajscd_ajs3web.properties file is not created in the initial status of JP1/AJS3 - Web Console immediately after JP1/AJS3 - Web Console has been installed. While the ajscd_ajs3web.properties file is not created, JP1/AJS3 - Web Console operates by using default settings.
Create the ajscd_ajs3web.properties file only when you want to change settings from the default settings.
(a) Model file storage directory
The following shows the directory storing the model file (ajscd_ajs3web.properties.model) for the network-settings file.
/etc/opt/jp1ajs3web/conf
(b) ajscd_ajs3web.properties file storage directory
Store the ajscd_ajs3web.properties file in the same directory as the model file ajscd_ajs3web.properties.model.#
- #
-
In a cluster configuration, the file name is as follows:
shared-directory/jp1ajs3web/conf
(2) File-editing procedure
The following describes the procedure for editing the ajscd_ajs3web.properties file:
-
Execute the following command to stop the web application server.
/etc/opt/jp1ajs3web/jajs_web_stop -t app
-
If the ajscd_ajs3web.properties file has already been defined, back up the file in any directory.
-
Copy the model file (ajscd_ajs3web.properties.model), and then rename the copy of the model file to ajscd_ajs3web.properties.
-
Open the ajscd_ajs3web.properties file by using a text editor such as vi.
-
Modify the definitions to be changed.
-
Save the file by using UTF-8 encoding.
-
Execute the following command to start the web application server.
/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 ajscd_ajs3web.properties file:
ajscd.port_number=port-number-for-connection-to-JP1/AJS3-Manager ajscd.connect_timeout=timeout-period-of-connection-to-JP1/AJS3-Manager ajscd.connect_retry_count=number-of-retries-of-connection-to-JP1/AJS3-Manager ajscd.connect_retry_interval=interval-of-retries-of-connection-to-JP1/AJS3-Manager ajscd.receive_timeout=timeout-period-of-data-reception-from-JP1/AJS3-Manager ajscd.login_wait=wait-time-for-login ajscd.mp_port_number=port-number-for-connection-to-JP1/AJS3-Manager (jp1ajs3sysctlm)
When writing a comment on a line, begin the comment line with a hash mark (#).
(5) Setting items
The following describes the items to be set. Delimit each item by using a linefeed.
(a) ajscd.port_number
Specify the port number of the port to connect to JP1/AJS3 - Manager.
Change this setting when the default port number cannot be used for JP1/AJS3 - Manager.
- Specifiable values
-
5001 to 65535
- Default value
-
22250
- Recommended value
-
Set the value appropriate for the operating environment.
(b) ajscd.connect_timeout
Specify the timeout period for the connection to JP1/AJS3 - Manager.
By default, connection timeout processing is disabled. Change the setting from the default when you want to enable the timeout processing for the connection to JP1/AJS3 - Manager.
- Specifiable values
-
0 to 86,400 (units: seconds)
When 0 is specified, connection timeout processing is disabled.
- Default value
-
0 (Connection timeout processing is disabled.)
- Recommended value
-
Set the value appropriate for the operating environment.
- Cautionary note
-
The connection timeout specification of the OS and the connection timeout setting in the OS might cause a connection timeout to occur earlier than the timeout period you specify for this setting item.
(c) ajscd.connect_retry_count
Specify the number of times to retry when a communication error occurs in an attempt to connect to JP1/AJS3 - Manager.
- Specifiable values
-
0 to 100 (units: number of times)
- Default value
-
3
- Recommended value
-
Set the value appropriate for the operating environment.
(d) ajscd.connect_retry_interval
Specify the interval for retry attempts when a communication error occurs in an attempt to connect to JP1/AJS3 - Manager.
- Specifiable values
-
1 to 300 (units: seconds)
- Default value
-
12
- Recommended value
-
Set the value appropriate for the operating environment.
(e) ajscd.receive_timeout
Specify the timeout period for data reception from JP1/AJS3 - Manager.
- Specifiable values
-
0 to 86,400 (units: seconds)
When 0 is specified, reception timeout processing is disabled.
- Default value
-
180
- Recommended value
-
Set the value appropriate for the operating environment.
(f) ajscd.login_wait
Specify the time to wait for login processing (time to wait until entry into sleep state) when authentication of JP1/AJS3 - Manager fails.
- Specifiable values
-
1 to 10 (units: seconds)
- Default value
-
1
- Recommended value
-
Set the value appropriate for the operating environment.
(g) ajscd.mp_port_number
Specify the port number (jp1ajs3sysctlm) used to connect the management portal to JP1/AJS3 - Manager.
Change this setting when the default port number cannot be used for JP1/AJS3 - Manager.
- Specifiable values
-
5001 to 65535
- Default value
-
22256
- Recommended value
-
Set the value appropriate for the operating environment.
(6) Examples
The following shows an example of definitions in the ajscd_ajs3web.properties file:
ajscd.port_number=22250 ajscd.connect_timeout=0 ajscd.connect_retry_count=3 ajscd.connect_retry_interval=12 ajscd.receive_timeout=180 ajscd.login_wait=1 ajscd.mp_port_number=22256
(7) Notes
-
Do not change the settings of items other than those explained herein.
-
Do not insert a space before or after the equal sign in a definition line.
-
Do not enter a linefeed in the middle of a definition line.
-
If you specify a value for an item that cannot be set, the line including the item will be ignored.
-
If a setting is invalid, the JP1/AJS3 Web Application Server service can start, but a processing error occurs in JP1/AJS3 - Web Console.
-
The definition keys of setting items and set values are case sensitive. If the definition key on a definition line contains uppercase and lower-case letters, the definition line will be ignored.
-
If the same setting item is defined on multiple lines, only the last line defining the setting item is valid.