[omniORB] stuck - help needed: calls on local object hang!
Tomasz Bech
tbech at polbox.com
Tue Jul 22 18:13:54 BST 2003
Hi all,
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
well)
int main(int argc, char** argv)
{
try {
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();
myecho->_obj_is_ready(boa);
// TEST START
cerr<<"calling echoString"<<endl;
cerr<<myechoref->echoString("test")<<endl;
cerr<<"passed"<<endl;
// TEST END
CORBA::String_var sior(orb->object_to_string(myechoref));
cerr << "'" << (char*)sior << "'" << endl;
......
What I should do to be able to call methods on local objects?!?!
(this works ok on Borland/Visigenic corba implementation)
Tom
More information about the omniORB-list
mailing list