[omniORB] omniORB4 echo examples and the orbcheck_OMNI code.....

steinhoffc@schneider.com steinhoffc@schneider.com
Tue Oct 8 16:23:01 2002


I have installed and compiled omniORB 4.0.0 in the omniORB-4.0.0debug
directory succussfully (or so it seems). I Then started testing the
examples, I started with the echo example, got everything compiled ok (or
so it seems) and then tried to run them.  "eg1" works great, but the other
two I can't seem to get to work at all.

In the second example "eg2_impl" starts up fine and  prints the ior. But
when I start up the client "eg2_clt" I get the following error

Got the Orb!!!
Got object Reference!
Narrow complete!
Got String!!!
Caught a CORBA::SystemException.
Caught a System Exception: : 1096024066
CORBA::TRANSIENT

I added some messages and some code to print out the exception messages
(that i copied from you). Here is the error code I changed to print the
message

  catch(CORBA::SystemException& se) {
         cerr << "Caught a CORBA::SystemException." << endl;
         cerr << "Caught a System Exception: " << ": " << se.minor() <<
endl;
         cerr << (char*)typeid(se).name()<<endl;
  }

Everything seems to be fine and I am wondering what to do now? I also
started looking on the web at the omniORB and everything seems to be in
line. According to the output we get the orb, the refernece, it gets
narrowed and fails on the call to echoString(). Any Ideas????



In example third example the "eg3_impl"  fails to start up with the
following exception

 Got the Orb!
Resolved rootPOA!
Narrowed the POA!
Activated the poa!
IOR:000000000000000d49444c3a4563686f3a312e3000000000000000010000000000000064000102000000000e3136312e3232322e312e31303500f7fd0000000efe3da2f4e9ef1a0000000000000000000000000200000000000000080000000041545400000000010000001c00000000000100010000000105010001000101090000000100010109
Caught CORBA::SystemException.
Caught a System Exception: : 1096024115
CORBA::NO_RESOURCES


So I then tried to run to the orbcheck_OMNI and I get the following
error.....
FAIL: CORBA::Exception thrown during orb::resolve_initial_references,
typename = CORBA::NO_RESOURCES

I am not sure what would have changed, are you guys able to connect to the
NameService??? Any Ideas???

I thought I would check with you first before I sent it out to the
omniSupportList. All the code for these examples is in
/opt/oss/omniORB-4.0.0debug/omniORB-4.0.0/src/examples/echo

                                     Thanks for your help
                                                Craig
Craig Steinhoff
UW-736
920-592-2229