[omniORB] Strange behaviour when calling ORB_init (omniorbpy)

Peter Gebauer peter.gebauer at bluefront.se
Fri Sep 24 17:34:42 BST 2004


Hello!

I have an application calling a remote object in an OmniORB ORB.

I initialize using ORB_init and cache the result object.
It works fine, but after a while the object returned from ORB_init
is None (I don't know why, perhaps it is some connection
timeout and the reference is somehow set to None) so I do the ckeck:

    if __orb__ is None:
        __orb__ = CORBA.ORB_init([], CORBA.ORB_ID)

Which, to my surprise, returns None now.
So there are two questions:

1) Why is the object returned by ORB_init suddenly None?
2) Why does ORB_init return None?

/Peter



More information about the omniORB-list mailing list