Work with ZIE Server status
To determine whether the Service Manager is running, it needs to be checked whether the Java program NCServiceManager , which is started by the script NCServiceManager-OS400.sh, is running or not. Therefore, the method to check the server status might vary according to the method used to start the service manager.
In the example above, the
Service Manager is started by submitting a job to run the NCServiceManager-OS400.sh
script. Hence, the you can perform following two ways to check the
status:
- Use the WRKACTJOB command to review the status :
- Enter the command:
This provides a list of active jobs.WRKACTJOB
- In the Work with Active Jobs menu, the Z and I Emulator for Web service manager job gets listed with the function name JVM-NCServiceM. Use the PageDown or PageUp button to scroll down the menu to this job entry and enter the appropriate option number to Work with.. the job, typically option 5.
- Utilize the menu options to review the job status.
- Enter the command:
- Query the process status in the command line.
In the example of Start, the script
NCServiceManager-OS400.sh is executed by invoking the IBM PASE for
System i (qp2shell) in the SBMJOB command. Hence, in this case, the
following steps can also help to check the status :
- On the IBM System i, sign on to a green screen command line.
- b) Enter the PASE shell environment. On the green screen command
line, enter the following command:
.call qp2term
- On the PASE shell, type the following command:
.ps –ef | grep NCServ
Note: NCServiceManager is the name of the Java program that runs the service manager.
If the command detects that the Service manager is running,
it will provide an output that would look like the following :
$
> ps -ef | grep NCServ
kushald 3146 1 0 15:23:30 - 0:00 /QHCL/ProdData/OS400/Java400/jFr
omPASE java -classpath .:sm.zip:ibmjndi.jar:jndi.jar:jsdk.jar:ods.jar:jt400.j
ar -Djava.net.preferIPv4Stack=true -DFIPS=on com.ibm.eNetwork.HODUtil.service
s.admin.NCServiceManager /QHCL/ProdData/Z and I Emulator for Web
$
Note: The PASE shell is case-sensitive. Hence,
it is important to maintain the correct case of alphabets in command
(step c).