[omniNotify] RE: [omniORB] omniNotify optimization when sender/receiver on same machine

Frederic Prin frederic.prin at silvaco.com
Tue Jul 6 17:17:31 BST 2004


Yes... I knew my question was stupid...!

But I'm looking for an issue on a Linux RH  EL3 64 bits port that makes
a 'receiver' programs (that runs fine on all my others platforms) not to
receive anything that comes from 'sender' programs except those that
runs on the same machine than the receiver runs on. 
After investigation, the pb is located between the notifd (that can runs
on any platforms) and the receiver program.
Because, when compiling omniNotify2.1 I had to hack some files regarding
LongLong support:
- add #undef HAS_LongLong in RDIstrstream.h
- replace CORBA::ULong ts, tn; definition by unsigned long ts, tn; in
RDITimeWrappers.h for out_local() and out_gmt()
- same replacement as above in RDITimeWrappers.cc  in fmt_local() and 

I suspect my hack especially regarding Long or LongLong management and
Any Long and LongLong support, since I think that omniNotify uses a lot
of Any for event data and filter management. But, in the same time, I
had to do the same hack for my solaris2.8 64bit platform that works
perfectly...!

I also suspect a mistake regarding little/big endian conversion on Linux
rh el3 64 bits

Finaly I also note that the ./configure program do not recognize my
Linux RHEL3 64bit platform (but succeed!)... And I don't know if it can
do something wrong ?
The fact is I had a lot of compil warnings regarding incompatible
pointer assigment or somethin'

So If you or the omniNotify guru has an idea, an hint or a direction in
which to look for something, I will really appreciate since I don't know
what to debug....!

Many thanks

Fred
    

-----Original Message-----
From: Duncan Grisby [mailto:duncan at grisby.org] 
Sent: mardi 6 juillet 2004 15:50
To: Frederic Prin
Cc: omninotify-list at omniorb-support.com;
omniorb-list at omniorb-support.com
Subject: Re: [omniORB] omniNotify optimization when sender/receiver on
same machine 


On Monday 5 July, "Frederic Prin" wrote:

> Strange and certainly stupid question:
> Does someone know if omniNotify2.1 can work without notifd running 
> when both sender and receiver are on the same machine !!?

notifd has nothing to do with whether clients and servers are on the
same machine or not. They are all just CORBA clients and servers as far
as it is concerned. You always need notifd, since that is where the
event distribution functionality lives.

The only alternative is to link one of your programs with the omniNotify
library, so rather than a stand alone notifd, you have it as part of one
of your processes.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --




More information about the omninotify-list mailing list