(i've post similar on omniorb group, but here the traffic is bigger, so
the answer could be faster).
I'm using old BOA (with omniORB 4.0.1) and all calls on local object hang.
To simplify I took example boa/eg2_impl.cpp and added calling of
echoString. This call never returns (never goes into impl::echoString as
int main(int argc, char** argv)
CORBA::ORB_var orb = CORBA::ORB_init(argc, argv);
CORBA::BOA_var boa = orb->BOA_init(argc, argv, "omniORB4_BOA");
Echo_i* myecho = new Echo_i();
Echo_var myechoref = myecho->_this();
// TEST START
// TEST END
cerr << "'" << (char*)sior << "'" << endl;
What I should do to be able to call methods on local objects?!?!
Maybe I miss something obvious, but this works ok on Borland/Visigenic
Thread-per-connection is default in omniorb. Stack trace looks like main
thread (which calls echoString) is waiting in condition, the
'dispatch/listener' thread is waiting for data_or_somtething.