3 Replies Latest reply on Apr 30, 2006 10:18 AM by BKBK

    Gateway Instance Status

    Don-R-Q
      Does anyone know a better way to get the status of a gateway instance? GetGatewayInstanceStatus(gatewayid) will return true if a instance is starting AND running, and false if stopped or failed... in my opinion it should only be true if its running & functional. But in either case, does anyone know a better way to obain the correct status of a gateway instance?

      createObject("component", "CFIDE.adminapi.administrator").login("AdministratorPassword");
      obj = createObject("component", "CFIDE.adminapi.eventgateway");
      obj.GetGatewayInstanceStatus(gatewayid);
      createObject("component","cfide.adminapi.administrator").logout();