ORBit2 echo example




Hm, I haven't played with CORBA for some time, so in order to update
my knowledge and see what am I missing I took classical echo example,
tried it under ORBit 0.5.16 and it works (probably).

Under ORBit2 (2.4.0) I get this on client side:

  Type messages to the server
  . as the only thing on the line stops
  a
  .
  
  ** (process:11967): WARNING **: CORBA_ORB_destroy: ORB still has 0 refs.
  
  ** ERROR **: file orbit-object.c: line 140 (do_unref): assertion failed: (robj->refs < ORBIT_REFCOUNT_MAX && robj->refs > 0)
  aborting...
  zsh: trace trap  ./client


and this on server side:

 Written the file echo.ior with the IOR of this server.
  Now waiting for requests...
 ** Message: [server] a
 
 ** (process:11989): WARNING **: CORBA_ORB_destroy: ORB still has 2
    refs.

(I pressed ctrl-c)

I would appreciate if someone could find time to look at the code and
explain what is wrong with it (code is attached).

echo.tar.gz



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]