× 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.



well that took longer than I thought it should.

my yaml file

name: make sure Web Service is running
dir: /QIBM/ProdData/OS/WebServices
#
# sc runs in PASE and java 11. web services is a QSH script
# and runs a java8 process. maybe that was my problem.
# I tried to use qsh -c script.sh, but had zero luck
# so I changed so use system command and it worked.
# the below line wrapped...
start_cmd: system "qsh cmd('/QIBM/ProdData/OS/WebServices/bin/startWebServicesServer.sh -server MyService')"
stop_cmd: system "qsh cmd('/QIBM/ProdData/OS/WebServices/bin/stopWebServicesServer.sh -server MyService')"
# my web service runs on the following port
check_alive: 12345
# had issues submitting the shell script
# so jut run here.
batch_mode: no
#sbmjob_opts: jobq(qs36evoke)




-
Bryan

Jack Woehr via MIDRANGE-L wrote on 8/19/2022 9:35 AM:
Youse guyz iz familiar with Jesse's ServiceCommander
<https://github.com/ThePrez/ServiceCommander-IBMi>, right?!

On Fri, Aug 19, 2022 at 8:06 AM Bryan Dietz <bdietz400@xxxxxxxxx> wrote:

I cobbled this shell script together

https://code.midrange.com/23f425963d.html

will start one if not running





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.