3.4.5 System property file for server management commands (usrconf.properties)
This subsection describes the details on the format of settings and the items to be set in the system properties file for server management commands (usrconf.properties).
- Organization of this subsection
(1) File storage folder
The following shows the folder storing the usrconf.properties file.
- In Windows:
-
JP1/AJS3-for-Cloud-Service-Applications-installation-folder\uCPSB\CC\admin\usrconf
- In Linux:
-
/opt/jp1ajs3csa/uCPSB/CC/admin/usrconf
(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.
(a) In Windows
-
Stop the JP1/AJS3 CSA HTTP Server service and then stop the JP1/AJS3 CSA Web Application Server service.
-
Back up the usrconf.properties file, and store the backup file in any folder.
-
Open the usrconf.properties file by using a text editor.
-
Modify the definitions to be changed.
-
Save the usrconf.properties file.
-
Start the JP1/AJS3 CSA Web Application Server service and then start the JP1/AJS3 CSA HTTP Server service.
(b) In Linux
-
Execute the following command to stop the JP1/AJS3 CSA HTTP Server service and the JP1/AJS3 CSA Web Application Server service.
/etc/opt/jp1ajs3csa/jajs_csa_stop
-
Back up the usrconf.properties file, and store the backup file in any directory.
-
Open the usrconf.properties file by using a text editor such as vi.
-
Modify the definitions to be changed.
-
Save the usrconf.properties file.
-
Execute the following command to start the JP1/AJS3 CSA HTTP Server service and the JP1/AJS3 CSA Web Application Server service.
/etc/opt/jp1ajs3csa/jajs_csa
(3) When the setting takes effect
When the JP1/AJS3 CSA Web Application Server service starts
(4) Format
The following shows the format of settings in the usrconf.properties file:
(omitted) ejbserver.rmi.naming.port=port-number-for-the-internal-management-of-J2EE-server
(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. By default, no setting items are specified. If no setting item is specified, the default 22269 is used.
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 user properties file for J2EE server (usrconf.properties). For details, see 3.4.3 User property file for J2EE server (usrconf.properties).
(6) Notes
-
Do not change the settings of items other than those explained herein.
-
If a setting is invalid, the JP1/AJS3 CSA Web Application Server service cannot start.