[omniORB] reliability

Julien Teisseire zzteisseire at echo.fr
Wed Apr 20 10:20:11 BST 2005


Ok !
I did not catch my call the object function (I only catched call to
omniobr func ...).
Now I catch everything as you suggested me and my program became more
reliable of course.

Thank you.
Now I would like to know if it is possible to 'load balance' object
between a pool of servers ... ?

Regards,
Julien

Le mercredi 20 avril 2005 à 08:01 +0200, Wernke zur Borg a écrit :
> > 
> > Could someone tell me why client program exits when my server stops ?
> >
> 
> Most probably there is a bug in your program. Are you catching exceptions?
> 
> >
> > I need to know how to retry connect to server after loosing it.
> >
> 
> I guess you have to restart your program. If you manage to keep it up just
> re-invoke your method. Connection handling is ORB internal.
>  
> > It seams there isn't any exception management when server is
> > disconnected from the network (or crashed).
> 
> Yes, there is. Are you catching exceptions?
> 
> > How to make client application reliable in all that cases ?
> 
> Put a try-catch block around all method invocations on remote objects.
> 
> Robustness and reliability does not come for free. You would have to become
> more specific if this does not help.
> 
> Regards, Wernke
> 
> 
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list




More information about the omniORB-list mailing list