Discussion:
[omniORB] best way to see if a CORBA server is alive
Mahanta, Dhruba
2013-03-25 10:54:26 UTC
Permalink
What is the best way to see if a CORBA server is alive or not? My requirement is to poll the server every x secs and see if
the application is still alive(or hasn't crashed). I use omniORB 4.1.6. Is there an API that does this or should I just invoke a RPC and see if an exception is thrown?


Regards
Dhruba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20130325/f007ffca/attachment.html>
Dalecki, Janusz
2013-03-25 22:50:01 UTC
Permalink
Hi,
I usually call on CORBA object reference the service._non_existent() method.
Regards,
Janusz

From: Mahanta, Dhruba [mailto:Dhruba.Mahanta at kla-tencor.com]
Sent: Monday, 25 March 2013 9:54 PM
To: 'omniORB-list at omniorb-support.com' (omniORB-list at omniorb-support.com)
Subject: [omniORB] best way to see if a CORBA server is alive

What is the best way to see if a CORBA server is alive or not? My requirement is to poll the server every x secs and see if
the application is still alive(or hasn't crashed). I use omniORB 4.1.6. Is there an API that does this or should I just invoke a RPC and see if an exception is thrown?


Regards
Dhruba

________________________________

This e-mail contains privileged and confidential information intended for the use of the addressees named above. If you are not the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any action in respect of any information contained in it. If you have received this e-mail in error, please notify the sender immediately by e-mail and immediately destroy this e-mail and its attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20130325/fd634015/attachment.html>
Johnny Willemsen
2013-03-26 19:26:19 UTC
Permalink
Hi,

Another option is _validate_connection(), something TAO has, but I don't
know whether omniorb has that.

Regards,

Johnny
Post by Dalecki, Janusz
Hi,
I usually call on CORBA object reference the service._non_existent() method.
Regards,
Janusz
*From:*Mahanta, Dhruba [mailto:Dhruba.Mahanta at kla-tencor.com]
*Sent:* Monday, 25 March 2013 9:54 PM
*To:* 'omniORB-list at omniorb-support.com' (omniORB-list at omniorb-support.com)
*Subject:* [omniORB] best way to see if a CORBA server is alive
What is the best way to see if a CORBA server is alive or not? My
requirement is to poll the server every x secs and see if
the application is still alive(or hasn?t crashed). I use omniORB 4.1.6.
Is there an API that does this or should I just invoke a RPC and see if
an exception is thrown?
Regards
Dhruba
------------------------------------------------------------------------
This e-mail contains privileged and confidential information intended
for the use of the addressees named above. If you are not the intended
recipient of this e-mail, you are hereby notified that you must not
disseminate, copy or take any action in respect of any information
contained in it. If you have received this e-mail in error, please
notify the sender immediately by e-mail and immediately destroy this
e-mail and its attachments.
_______________________________________________
omniORB-list mailing list
omniORB-list at omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
Loading...