Topic
  • 3 replies
  • Latest Post - ‏2015-08-04T20:05:52Z by amra1
JohnxLong
JohnxLong
63 Posts

Pinned topic RPG to stop and start a web service

‏2014-07-08T10:01:20Z |

Hi,

Does anyone know if it is  possible to stop and start a web service and/or a web service server via RPG?

 

Any pointer would be appreciated

 

John

  • scott_klement
    scott_klement
    260 Posts

    Re: RPG to stop and start a web service

    ‏2014-07-08T13:51:08Z  

    What software are you using to provide web services?

     

    If you are using IWS or using the HTTP server directly, you should be able to start the server with the STRTCPSVR command.

  • JohnxLong
    JohnxLong
    63 Posts

    Re: RPG to stop and start a web service

    ‏2014-07-08T14:03:41Z  

    What software are you using to provide web services?

     

    If you are using IWS or using the HTTP server directly, you should be able to start the server with the STRTCPSVR command.

    its the IWS

     

    John

  • amra1
    amra1
    56 Posts

    Re: RPG to stop and start a web service

    ‏2015-08-04T20:05:52Z  

    You can do this via QShell scripts located in /qibm/proddata/os/webservices/bin.

     

    You can start/stop a web service running in IWS via 

    startWebService.sh

    stopWebService.sh

     

    There are also scripts to start/stop a server.