Then what you are able to do is run the command, something I played with last night:
Original Message:
Sent: Mon April 14, 2025 09:46 AM
From: Guillaume NGUYEN
Subject: IWS - qshell command listWebServicesServers.sh
Yes, the purpose of this command is to monitor the IWS servers.
We also use the shell command listWebServices.sh to monitore the webservices status.
The goal is to be proactive on the IWS server and Webservice status to fix the issue if it occurs before the consumer raise an alert.
------------------------------
Guillaume NGUYEN
Original Message:
Sent: Mon April 14, 2025 04:58 AM
From: Marius le Roux
Subject: IWS - qshell command listWebServicesServers.sh
Ok, great! It seems that at least this is stable in that call.
Regarding the user profiles , perhaps check the initial programs ? (Those PGMs might have something off with them.) Also, consider their JOBDs(any Request Data inside of the JOBD might have a strange command there) / CCSIDs between two profiles ; if one works and the other does not, that is most likely the case there.
May I ask why you want to call this? Is this perhaps for monitoring purposes to see if these servers are running or active?
------------------------------
Marius le Roux theIBMiGuy
Owner , IBM i Consultant & Technology Strategist
MLR Consulting
Original Message:
Sent: Mon April 14, 2025 03:13 AM
From: Guillaume NGUYEN
Subject: IWS - qshell command listWebServicesServers.sh
Hi Marius,
The trace information didn't show any junk characters as you can see below.
More over, unexpectedly, I use another user and the junk characters did not appear when I ran the shell command listWebServicesServers.sh on 5250.
So I am going to follow this track and to try to find what are the difference between those 2 users. Nevertheless with DSPUSRPRF command I compare those users and I didn't found any difference between them yet.
Thanks again for your help Marius
*********************
User that displayed junk characters :
2025-04-11T15:19:06.592 320463@XXXXXX.YYYYYYYY.ZZ.AAAA 000001 >ScriptProcessor: Arguments=[/qibm/proddata/os/webservices/bin/listwebservicesservers.sh]
2025-04-11T15:19:06.592 320463@XXXXXX.YYYYYYYY.ZZ.AAAA 000001 >ScriptProcessor: Running command.
2025-04-11T15:19:06.692 320463@XXXXXX.YYYYYYYY.ZZ.AAAA 000001 >ScriptProcessor: CanonicalPath=[/qibm/proddata/os/webservices/bin/listwebservicesservers.sh]
2025-04-11T15:19:07.478 320463@XXXXXX.YYYYYYYY.ZZ.AAAA 000001 >hasAllObjectAuthority: user=QSECOFR specialAuthority=[*ALLOBJ, *SECADM, *JOBCTL, *SPLCTL, *SAVSYS, *SERVICE, *AUDIT, *IOSYSCFG]
2025-04-11T15:19:07.479 320463@XXXXXX.YYYYYYYY.ZZ.AAAA 000001 >hasAllObjectAuthority: user=QSECOFR, hasAllObject=true
2025-04-11T15:19:09.026 320463@XXXXXX.YYYYYYYY.ZZ.AAAA 000001 >ListWebServicesServersCommandHandler:
XXXIWSASRV (Running)
YYYIWSASRV (Running)
**************************************
Uzer that don't diplay junk characters :
2025-04-11T14:32:07.852 319209@XXXXXX.YYYYYYYY.ZZ.AAAA 000001 >ScriptProcessor: Arguments=[/QIBM/ProdData/OS/WebServices/bin/listWebServicesServers.sh]
2025-04-11T14:32:07.854 319209@XXXXXX.YYYYYYYY.ZZ.AAAA 000001 >ScriptProcessor: Running command.
2025-04-11T14:32:07.971 319209@XXXXXX.YYYYYYYY.ZZ.AAAA 000001 >ScriptProcessor: CanonicalPath=[/qibm/proddata/os/webservices/bin/listwebservicesservers.sh]
2025-04-11T14:32:09.097 319209@XXXXXX.YYYYYYYY.ZZ.AAAA 000001 >hasAllObjectAuthority: user=AAABBBBEMG9 specialAuthority=[*ALLOBJ, *SAVSYS, *SERVICE]
2025-04-11T14:32:09.098 319209@XXXXXX.YYYYYYYY.ZZ.AAAA 000001 >hasAllObjectAuthority: user=AAABBBEMG9, hasAllObject=true
2025-04-11T14:32:10.833 319209@XXXXXX.YYYYYYYY.ZZ.AAAA 000001 >ListWebServicesServersCommandHandler:
XXXIWSASRV (Running)
YYYIWSASRV (Running)
------------------------------
Guillaume NGUYEN
Original Message:
Sent: Fri April 11, 2025 03:28 AM
From: Marius le Roux
Subject: IWS - qshell command listWebServicesServers.sh
You can also try doing this as a troubleshooting exercise to know more about what is running :
Steps I took to see additional Information :
1. EDTF to this file : /QIBM/ProdData/OS/WebServices/bin/listWebServicesServers.sh
2. then update that file temporarily for Debug information:
IWS_JAVA_FLAGS="\
-Dcom.ibm.iws.servicetrace=true \
-Dfile.encoding=UTF-8 \
-Djava.ext.dirs=${JAVA_EXT_DIRS}"
3. Run the command again with this option on.
4. then go to /tmp/qiws_trace.log
5. search for or find something of concern there in that output file log:
(check if the service actually outputs that odd string, if so , it might slightly like work on Java to be causing the trouble )
( sample here from my system )
SERVICE1 (Stopped)
SERVICE2 (Stopped)
SERVICE3 (Stopped)
*( if there exists those funny charachters, then that means likely the java handling is off and that might require IBM's involvement to diagnose further) .
6. just remember to remove that -Dcom.ibm.iws.servicetrace=true \ when you are done.
------------------------------
Marius le Roux theIBMiGuy
Owner , IBM i Consultant & Technology Strategist
MLR Consulting
Original Message:
Sent: Wed April 09, 2025 09:24 AM
From: Guillaume NGUYEN
Subject: IWS - qshell command listWebServicesServers.sh
Hi all,
The qshell command listWebServicesServers.sh answers with junk characters :
@ K @ @ @ @ @ K@ @ @ @ @ @ @ @ @ @ @ @ @ @ K%XXXIWSASRV
YYYIWSASRV (Running)
Do you have any idea why those junk characters appear only for the 1st IWS server ?
Thanks in advance for your help
------------------------------
Guillaume NGUYEN
------------------------------