Discussion:
[omniORB] remote call hangs
Aaron Brice
2012-06-29 22:51:47 UTC
Permalink
Hello,

I have a C++ CORBA object on a remote ARM system calling a method on a
local python object. Any method I call in this way hangs, although it
works the other way around (python object calling methods on the remote C++
object).

I ran it with traceLevel 10, and I see this on the ARM system:

omniORB: LocateRequest to remote: root<0>

and this on the local system:

omniORB: Handling a GIOP LOCATE_REQUEST.

And then nothing, no errors, it just hangs. Any ideas?

Thanks,
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20120629/95474911/attachment.html>
Duncan Grisby
2012-07-03 09:41:26 UTC
Permalink
Post by Aaron Brice
I have a C++ CORBA object on a remote ARM system calling a method on a
local python object. Any method I call in this way hangs, although it
works the other way around (python object calling methods on the
remote C++ object).
omniORB: LocateRequest to remote: root<0>
omniORB: Handling a GIOP LOCATE_REQUEST.
And then nothing, no errors, it just hangs. Any ideas?
Perhaps you forgot to activate the POA in your Python code? If not,
please run with these options on the server:

-ORBtraceLevel 25 -ORBtraceInvocations 1 -ORBtraceThreadId 1
-ORBtraceTime 1

That will give more information about what is going on.

Cheers,

Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
Aaron Brice
2012-07-03 17:22:57 UTC
Permalink
Post by Duncan Grisby
Post by Aaron Brice
I have a C++ CORBA object on a remote ARM system calling a method on a
local python object. Any method I call in this way hangs, although it
works the other way around (python object calling methods on the
remote C++ object).
omniORB: LocateRequest to remote: root<0>
omniORB: Handling a GIOP LOCATE_REQUEST.
And then nothing, no errors, it just hangs. Any ideas?
Perhaps you forgot to activate the POA in your Python code? If not,
-ORBtraceLevel 25 -ORBtraceInvocations 1 -ORBtraceThreadId 1
-ORBtraceTime 1
That will give more information about what is going on.
Cheers,
Duncan.
Yes, sorry, I did forget to activate the POA even though I remember reading
in the documentation that doing so is the most common cause of the program
hanging. Works fine now.

Thanks,
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20120703/efe52063/attachment.html>
Loading...