[omniORB] oneway operations

Ivanov, Roumen Roumen.Ivanov@drkw.com
Fri, 15 Jun 2001 14:52:43 +0200


Hi,
You are probably sending and immediately destroying your client (even the
orb). If so, try a short sleep before destroying the orb.
Roumen

-----Original Message-----
From:	David Hyde [SMTP:davidh@cavendish.co.uk]
Sent:	Friday, June 15, 2001 12:28
To:	OmniOrb mailing list (E-mail)
Subject:	[omniORB] oneway operations

Hi,

I am building and running on Windows 2000 with MSVC++ 6 and all the latest
service packs applied.  I am using OmniORB 3.02.

I have an interface which has one oneway operation defined.  I am finding
that if I use this operation from a process (on the same machine) then the
function call doesn't get through.  If, however, I run the client in the
debugger then the call does.  If I make the call non-oneway then everything
works fine.  Other oneway calls in the system seem to work ok.

This is the output from the process which doesn't work:

omniORB configuration file: c:\OmniOrb\Conf\OmniOrb.cfg either does not
exist or
 is not a file.
omniORB: The omniDynamic library is not linked.
omniORB: strand Rope::incrRefCount: old value = 0
omniORB: Creating ref to remote: key<0x4e616d6553657276696365>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id:
omniORB: Initial reference `NameServiceSHADOW' resolved from -ORBInitRef
argumen
t.
omniORB: strand Ripper: start.
omniORB: scavenger : start.
omniORB: strand Rope::incrRefCount: old value = 1
omniORB: Creating ref to remote: key<0x4e616d6553657276696365>
 target id      : IDL:omg.org/CosNaming/NamingContext:1.0
 most derived id:
omniORB: strand Rope::incrRefCount: old value = 0
omniORB: Creating ref to remote: root/<16777216>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:omg.org/CosNaming/NamingContextExt:1.0
omniORB: LocateRequest to remote: root/<16777216>
omniORB: strand Rope::incrRefCount: old value = 0
omniORB: Creating ref to remote: root<0>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:cavendish.co.uk/InterAct/IInterActDomainService:1.0
omniORB: LocateRequest to remote: root<0>
omniORB: omniRemoteIdentity deleted.
omniORB: strand Rope::decrRefCount: old value = 1
omniORB: ObjRef(IDL:cavendish.co.uk/InterAct/IInterActDomainService:1.0) --
dele
ted.
omniORB: Preparing to shutdown ORB.
omniORB: scavenger : woken by poke()
omniORB: scavenger : exit.
omniORB: strand Ripper: exit.
omniORB: ORB shutdown is complete.
omniORB: No more references to the ORB -- deleted.


omniORB: omniRemoteIdentity deleted.
omniORB: strand Rope::decrRefCount: old value = 1
omniORB: ObjRef(IDL:omg.org/CosNaming/NamingContextExt:1.0) -- deleted.
omniORB: omniRemoteIdentity deleted.
omniORB: strand Rope::decrRefCount: old value = 2
omniORB: ObjRef() -- deleted.
omniORB: omniRemoteIdentity deleted.
omniORB: strand Rope::decrRefCount: old value = 1
omniORB: ObjRef() -- deleted.






And this is the output from the process that does:

omniORB configuration file: c:\OmniOrb\Conf\OmniOrb.cfg either does not
exist or
 is not a file.
omniORB: The omniDynamic library is not linked.
omniORB: strand Rope::incrRefCount: old value = 0
omniORB: Creating ref to remote: key<0x4e616d6553657276696365>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id:
omniORB: Initial reference `NameServiceSHADOW' resolved from -ORBInitRef
argumen
t.
omniORB: strand Ripper: start.
omniORB: scavenger : start.
omniORB: strand Rope::incrRefCount: old value = 1
omniORB: Creating ref to remote: key<0x4e616d6553657276696365>
 target id      : IDL:omg.org/CosNaming/NamingContext:1.0
 most derived id:
omniORB: strand Rope::incrRefCount: old value = 0
omniORB: Creating ref to remote: root/<16777216>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:omg.org/CosNaming/NamingContextExt:1.0
omniORB: scavenger : scanning connections
omniORB: LocateRequest to remote: root/<16777216>
omniORB: strand Rope::incrRefCount: old value = 0
omniORB: Creating ref to remote: root<0>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:cavendish.co.uk/InterAct/IInterActDomainService:1.0
omniORB: LocateRequest to remote: root<0>
omniORB: omniRemoteIdentity deleted.
omniORB: strand Rope::decrRefCount: old value = 1
omniORB: ObjRef(IDL:cavendish.co.uk/InterAct/IInterActDomainService:1.0) --
dele
ted.
omniORB: Preparing to shutdown ORB.
omniORB: scavenger : woken by poke()
omniORB: scavenger : exit.
omniORB: strand Ripper: exit.
omniORB: ORB shutdown is complete.
omniORB: No more references to the ORB -- deleted.



Any ideas???


Thanks very much







________________________________________________________
David Hyde
The Cavendish Organisation Ltd.        
Admiral House                       
St. Leonards Rd				Tel: +44 1753 836600 
Windsor					Fax: +44 1753 855021         
Berkshire SL4 3BL 
United Kingdom

email: davidh@cavendish.co.uk

http://www.cavendish.co.uk/ 

Confidential Information may be in this message. If you are not the intended
addressee please treat it as confidential, contact us immediately. Thank
you.
______________________________________________________________