3.3.6 Setting automatic startup and termination of the JP1/AJS3 for Cloud Service Applications service
The JP1/AJS3 for Cloud Service Applications service can be started automatically when the system starts, and can be terminated automatically when the system terminates.
The following describes how to set automatic startup and termination of the JP1/AJS3 CSA HTTP Server service or the JP1/AJS3 CSA Web Application Server service.
- Organization of this subsection
-
(1) Setting automatic startup of the JP1/AJS3 CSA HTTP Server service or the JP1/AJS3 CSA Web Application Server service
To start the JP1/AJS3 CSA HTTP Server service or JP1/AJS3 CSA Web Application Server service automatically when the system starts, set the automatic start script. The following describes how to set the automatic start script:
-
Open the following file with a text editor such as vi:
/etc/rc.d/init.d/jp1ajs3csa
-
In the file, delete the shaded part shown below.
: # /etc/opt/jp1ajs3csa/jajs_csa
-
Close the file.
(2) Setting automatic termination of the JP1/AJS3 CSA HTTP Server service or the JP1/AJS3 CSA Web Application Server service
The following describes how to set the automatic termination script for the JP1/AJS3 CSA HTTP Server service or JP1/AJS3 CSA Web Application Server service:
-
Open the following file with a text editor such as vi:
/etc/rc.d/init.d/jp1ajs3csa
-
In the file, delete the shaded part shown below.
: # /etc/opt/jp1ajs3csa/jajs_csa_stop
-
Close the file.
(3) Setting the language type when the JP1/AJS3 CSA HTTP Server service and JP1/AJS3 CSA Web Application Server service are started
To set the language type when the JP1/AJS3 CSA HTTP Server service and JP1/AJS3 CSA Web Application Server service are started:
-
Open the following file with a text editor such as vi:
/etc/rc.d/init.d/jp1ajs3csa
-
In the file, change the shaded character shown below to any of the values indicated in the table:
LANG=C or LANG=en_US.UTF-8
Table 3‒3: Value that can be set for LANG. Language
Value that can be set for LANG
Japanese
-
ja_JP.UTF-8
-
ja_JP.utf8
-
ja_JP.SJIS#1
-
ja_JP.sjis#1
English
-
C
-
en_US.UTF-8#2
-
en_US.utf8#2
- #1:
-
Can be used only in SUSE Linux.
- #2:
-
Only 7-bit ASCII characters can be used. Do not use characters other than 7-bit ASCII characters.
-
-
Close the file.