Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / April 2006



Tip: Looking for answers? Try searching our database.

Gateway Instance Status

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Don-R-Q - 14 Apr 2006 20:16 GMT
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();
BKBK - 30 Apr 2006 18:18 GMT
Probably better to use
http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000481.htm. You'll of
course begin by examining the resources, using

<cfset gwHelper = getGatewayHelper(gatewayID)>
<cfdump var="#gwHelper#">
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.