Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to tell if a server is down?

0 views
Skip to first unread message

Jeff McKay

unread,
Jul 14, 2010, 12:59:22 PM7/14/10
to
I have been conducting some tests of a OAPI program, to see how it handles
the server going down
or being disconnected during a session. It appears to be very difficult to
detect this situation - the API
keeps chugging along, returning most properties, but empty messages, which I
cannot assume represent
a failure, since they really may be empty. Is there a suggested way to
detect if the server or POA is not
running?

Preston Stephenson

unread,
Jul 15, 2010, 7:43:23 AM7/15/10
to
In 8.0.0, a Ping() method was added to the Account object.
This does a simple request to the POA. If it returns
successfully, the POA is up and running.

>>> On Wednesday, July 14, 2010 at 10:59 AM, Jeff
McKay<jeff....@comaxis.com>
wrote:


> I have been conducting some tests of a OAPI program, to see how it handles

> the server going down
> or being disconnected during a session. It appears to be very difficult
to

> detect this situation ‑ the API

0 new messages