Scott has a library SOCKTUT which provides all the tools to build a
   website check in rpg.
   There was a specific program written by Gerald kern I believe that did
   this.
   I modified that for our use and it has worked well for years and I have
   built the code to restart the web server if there is an error.
   SQL is most likely the way to go but I like the rpg solution.
   Cheers
   Don
    
   Don Brown
   Senior Consultant
    
   [1]OneTeam IT Pty Ltd
   P: 1300 088 400
   -----Original Message-----
   From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
   James H. H. Lampert via MIDRANGE-L
   Sent: Friday, 24 January 2025 5:40 AM
   To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
   Cc: James H. H. Lampert <jamesl@xxxxxxxxxxxxxxxxx>
   Subject: Detecting an unresponsive Tomcat server on a Midrange box. Any
   ideas?
   We have this one case, out of all the Midrange Tomcat installations we
   manage, in which the server becomes unresponsive, sometimes every other
   month, sometimes every other week, sometimes every other day, and in any
   event requiring a forced shutdown and a restart.
   And somebody suggested that if we could detect the problem, we could
   automate that.
   But I have no idea how we'd be able to detect it.
   Anybody have any ideas?
   --
   JHHL
   --
   This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
   list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
   unsubscribe, or change list options,
   visit: [2]
https://lists.midrange.com/mailman/listinfo/midrange-l
   or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
   Before posting, please take a moment to review the archives at
   [3]
https://archive.midrange.com/midrange-l.
   Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
   questions.
   --
   Message protected by MailGuard: e-mail anti-virus, anti-spam and content
   filtering.
   [4]
https://www.mailguard.com.au
References
   Visible links
   1. 
https://www.oneteamit.com.au/
   2. 
https://lists.midrange.com/mailman/listinfo/midrange-l
   3. 
https://archive.midrange.com/midrange-l.
   4. 
https://www.mailguard.com.au/
As an Amazon Associate we earn from qualifying purchases.