[omniORB] omniOrb3 example programs

sylvain.guillemin@netcourrier.com sylvain.guillemin@netcourrier.com
Sun, 6 May 2001 18:36:06 +0200 (MET DST)


omniOrb3 example programs won't work on my machine, can somebody help ? He=
re are the details:

=23 1st problem :
---------------

If I try to run eg1 or eg2=5Fimpl, when I'm not logged as root, I get the =
following:

   =5Bme=40toto basics=5D=24 ./eg1 -ORBtraceLevel 30 -ORBtraceInvocations
   omniORB: throw INITIALIZE from corbaOrb.cc:374
   Caught CORBA::SystemException.

but both programs seems to work when I am logged as root.

=23 2nd problem :
---------------

eg2 and eg3 omniOrb example programs do not work, here are their outputs:

   =23 1st terminal
   =5Broot=40toto basics=5D=23 ./eg2=5Fimpl
   'IOR:010000000d00000049444c3a4563686f3a312e3000000000010000000000000026=
000000010100000a0000003132372e302e302e310037050e000000feb074f53a0000128b00=
00000000'

   =23 2nd terminal
   =5Broot=40toto basics=5D=23 ./eg2=5Fclt IOR:010000000d00000049444c3a456=
3686f3a312e30000000000100
   00000000000026000000010100000a0000003132372e302e302e310037050e000000feb=
074f53a00
   00128b0000000000 -ORBtraceLevel 30 -ORBtraceInvocations
   omniORB: strand Ripper: start.
   omniORB: gateKeeper is not installed. All incoming are accepted.
   omniORB: Initialising omniDynamic library.
   omniORB: strand Rope::incrRefCount: old value =3D 0
   omniORB: Creating ref to remote: root<0>
    target id      : IDL:omg.org/CORBA/Object:1.0
    most derived id: IDL:Echo:1.0
   omniORB: LocateRequest to remote: root<0>
   ll=5Fsend: 34 bytes
   4749 4f50 0100 0103 1600 0000 0100 0000 GIOP............
   0e00 0000 feb0 74f5 3a00 0012 8b00 0000 ......t.:.......
   0000                                    ..
   ll=5Frecv: 12 bytes
   4749 4f50 0100 0105 0000 0000           GIOP........
   omniORB: throw omniConnectionBroken from giopClient.cc:413
   omniORB: tcpSocketStrand::=7EStrand() close socket no. 5
   omniORB: throw COMM=5FFAILURE from remoteIdentity.cc:249
   omniORB: omniRemoteIdentity deleted.
   omniORB: strand Rope::decrRefCount: old value =3D 1
   omniORB: ObjRef(IDL:Echo:1.0) -- deleted.
   Caught system exception COMM=5FFAILURE -- unable to contact the object.
   omniORB: scavenger : start.

Can somebody explain what is happening ?

Obviously, to run eg3=5Fimpl & eg3=5Fclt I start the name server...

My config :
-----------

=5Broot=40toto basics=5D=23 uname -a
Linux toto 2.2.16-22 =231 Tue Aug 22 16:49:06 EDT 2000 i686 unknown
=5Broot=40toto basics=5D=23 =


=5Broot=40toto basics=5D=23 cat /etc/omniORB.cfg =

ORBInitRef NameService=3Dcorbaname::127.0.0.1
=5Broot=40toto basics=5D=23 =



Many thanks =21

Sylvain

----- La messagerie itin=E9rante sans abonnement NetCourrier -----
Web : www.netcourrier.com - Minitel : 3615 NETCOURRIER
T=E9l=E9phone : 08 36 69 00 21