× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I think it pays to have a look at the Service Commander IBM i (https://github.com/ThePrez/ServiceCommander-IBMi) by Jesse Gorzinski (https://twitter.com/IBMJesseG).
With that you can check the status/(re)start/stop of services in Bash and CMD-line.

Markus

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Bryan Dietz
Sent: Montag, 15. August 2022 14:45
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Checking if a web server service is running from green screen

found what i was looking for:
QSH CMD('/QIBM/ProdData/OS/WebServices/bin/listWebServicesServers.sh')

will show what is running and what is not.

in that directory are the rest of the shell scripts that can be used for maintaining web services.
from 7.3
createWebServicesServer.sh
deleteWebServicesServer.sh
getConfigurationFile.sh
getWebServiceProperties.sh
getWebServicesServerProperties.sh
installWebService.sh
listWebServices.sh
listWebServicesServers.sh
restoreWebServices.sh
restoreWebServicesServer.sh
saveWebServices.sh
saveWebServicesServer.sh
setWebServiceProperties.sh
setWebServicesServerProperties.sh
startWebService.sh
startWebServicesServer.sh
stopWebService.sh
stopWebServicesServer.sh
uninstallWebService.sh


Bryan


Don Brown via MIDRANGE-L wrote on 8/13/2022 10:10 PM:
We created a web service server using the wizard and deployed a number of
services.

From wrkactjob I can see the following

WSERVICE01 QTMHHTTP BCH .0 PGM-QZHBMAIN SIGW
WSERVICE01 QTMHHTTP BCI .0 PGM-QZSRLOG SIGW
WSERVICE01 QTMHHTTP BCI .0 PGM-QZSRHTTP SIGW
WSERVICE01 QWSERVICE BCI .0 JVM-/QIBM/Prod THDW

So I believe the first three are the http server and the application
server is the last one ?

And these can be controlled with strtcpsvr server(*http)
httpsvr(wservice01)

But I don't see any way to view / control the actual deployed services
from the green screen.

Is there a way or you must use the web admin ?

I want to be able to check if the deployed service is active and if not
attempt to start it.

Currently the service is set to start automatically but at that site after
they do a full system save the deployed service is not running.

Thanks you for any suggestions.

System is at V7R3.

Cheers

Don



--
This email has been scanned for computer viruses. Although MSD has taken reasonable precautions to ensure no viruses are present in this email, MSD cannot accept responsibility for any loss or damage arising from the use of this email or attachments..


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.