[omniORB] Remote Invocation Problem on omniORB

Luke Deller ldeller@xplantechnology.com
Fri, 20 Apr 2001 14:49:51 +1000


This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C0C9A9.275805F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

I think that I am encountering the same problem.  I also have troubles with
a Windows 2000 client trying to connect to a Linux server (in my case the
server is using Debian 2.2 rather than RedHat).

As an example I ran "omniNames" in Linux and "nameclt" in Win2k.
I used the following command line flags..
on Linux (hostname heater):
/usr/local/bin/omniNames -start -logdir /var/local/omni -errlog
/var/local/omni/omniNames.errlog -ORBtraceLevel 20 -ORBtraceInvocations

on Win2k:
nameclt list -ORBInitRef NameService=corbaname::heater -ORBtraceLevel
20 -ORBtraceInvocations

The output from these commands are attached to this email.

Note that that other combinations of client & server OS work fine, ie:
                 Win2k-omniNames  Linux-omniNames
Win2k-nameclt    ok               fails
Linux-nameclt    ok               ok

Regards,
Luke.

-----Original Message-----
From: owner-omniorb-list@uk.research.att.com
[mailto:owner-omniorb-list@uk.research.att.com]On Behalf Of Duncan
Grisby
Sent: Tuesday, 17 April 2001 7:47 PM
To: ªLÀAÀs
Cc: 'omniorb-list@uk.research.att.com'
Subject: Re: [omniORB] Remote Invocation Problem on omniORB


On Thursday 12 April, =?Big5?B?qkzAQcBz?= wrote:

> I'm new to omniORB3, I've encountered an omniORB problem about remote
> invocation, will you help me to solve the problem?
> The scenario is i built both Lunux & Win32 omniORB edition, and run the
ECHO
> examples on Red Hat 6.2 & Windows 2000, echo/eg3_impl (server) run under
> Linux(ip:200.39.97.1), and echo/eg3_clt (client) run under
> Win32(ip:200.39.97.2), but the remote invocation was fail, the below is
the
> snapshot of omniNames trace output.

[...]
> connect from 200.39.97.2  <- from remote eg3_clt on Win32, remote
invocation
> failure
> omniORB: scavenger : scanning connections
> omniORB: throw omniConnectionBroken (minor 104) from
> tcpSocketMTfactory.cc:1060

That error is "Connection reset by peer", which suggests that the
Windows end closed the connection for some reason. What trace do you
get on the Windows end?

Cheers,

Duncan.

--
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --



------=_NextPart_000_0000_01C0C9A9.275805F0
Content-Type: application/octet-stream;
	name="omniNames.errlog"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="omniNames.errlog"

# created with: /usr/local/bin/omniNames -start -logdir /var/local/omni =
-errlog /var/local/omni/omniNames.errlog -ORBtraceLevel 20 =
-ORBtraceInvocations
omniORB: strand Ripper: start.
omniORB: scavenger : start.
omniORB: gateKeeper is tcpwrapGK 1.0 - based on tcp_wrappers_7.6=20
omniORB: The omniDynamic library is not linked.
omniORB: Initialising incoming rope factories.
omniORB: strand Rope::incrRefCount: old value =3D 0
omniORB: Starting incoming rope factories.

Fri Apr 20 13:46:38 2001:

omniORB: tcpSocketMTfactory Rendezvouser: start.
Starting omniNames for the first time.omniORB: tcpSocketMTfactory =
Rendezvouser: block on accept()

Wrote initial log file.
omniORB: Activating: key<0x4e616d6553657276696365>
Read log file successfully.
omniORB: Creating ref to local: key<0x4e616d6553657276696365>
 target id      : IDL:omg.org/CosNaming/NamingContextExt:1.0
 most derived id: IDL:omg.org/CosNaming/NamingContextExt:1.0
Root context is =
IOR:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696=
e67436f6e746578744578743a312e300000010000000000000023000000010100000a0000=
003132372e302e302e3100f90a0b0000004e616d6553657276696365
Checkpointing Phase 1: Prepare.
Checkpointing Phase 2: Commit.
Checkpointing completed.
omniORB: tcpSocketMTfactory Rendezvouser: unblock from accept()
omniORB: tcpSocketMTfactory Rendezvouser: accept new strand.
omniORB: tcpSocketMTfactory Rendezvouser: block on accept()
omniORB: tcpSocketMTfactory Worker: start.
connect from 10.11.12.32
omniORB: Dispatching remote call '_is_a' to: =
key<0x4e616d6553657276696365>
omniORB: Dispatching remote call '_is_a' to: =
key<0x4e616d6553657276696365>
omniORB: Dispatching remote call 'list' to: =
key<0x4e616d6553657276696365>
omniORB: Activating: root/<0>
omniORB: Creating ref to local: root/<0>
 target id      : IDL:omg.org/CosNaming/BindingIterator:1.0
 most derived id: IDL:omg.org/CosNaming/BindingIterator:1.0
omniORB: Dispatching local call 'next_n' to root/<0>
omniORB: Ref to: root/<0> -- deleted.
omniORB: throw omniConnectionBroken (minor 104) from =
tcpSocketMTfactory.cc:1060
omniORB: tcpSocketMTfactory Worker: #### Connection closed.
omniORB: tcpSocketMTfactory Worker: exit.
omniORB: tcpSocketStrand::~Strand() close socket no. 8
omniORB: scavenger : scanning connections

------=_NextPart_000_0000_01C0C9A9.275805F0
Content-Type: application/octet-stream;
	name="nameclt.log"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="nameclt.log"

$ nameclt list -ORBInitRef NameService=3Dcorbaname::heater =
-ORBtraceLevel 20 -ORBtraceInvocations
omniORB: The omniDynamic library is not linked.
omniORB: strand Rope::incrRefCount: old value =3D 0
omniORB: Creating ref to remote: key<0x4e616d6553657276696365>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id:
omniORB: Initial reference `NameService' resolved from -ORBInitRef =
argument.
omniORB: Invoke '_is_a' on remote: key<0x4e616d6553657276696365>
omniORB: strand Ripper: start.
omniORB: scavenger : start.
omniORB: strand Rope::incrRefCount: old value =3D 1
omniORB: Creating ref to remote: key<0x4e616d6553657276696365>
 target id      : IDL:omg.org/CosNaming/NamingContext:1.0
 most derived id:
omniORB: Invoke '_is_a' on remote: key<0x4e616d6553657276696365>
omniORB: Invoke 'list' on remote: key<0x4e616d6553657276696365>
omniORB: strand Rope::incrRefCount: old value =3D 0
omniORB: Creating ref to remote: root/<0>
 target id      : IDL:omg.org/CosNaming/BindingIterator:1.0
 most derived id: IDL:omg.org/CosNaming/BindingIterator:1.0
omniORB: LocateRequest to remote: root/<0>
omniORB: Invoke 'next_one' on remote: root/<0>
omniORB: throw BAD_OPERATION from giopClient.cc:495
omniORB: omniRemoteIdentity deleted.
omniORB: strand Rope::decrRefCount: old value =3D 1
omniORB: ObjRef(IDL:omg.org/CosNaming/BindingIterator:1.0) -- deleted.
list: Unexpected error encountered.
omniORB: Preparing to shutdown ORB.
omniORB: scavenger : woken by poke()
omniORB: scavenger : exit.
omniORB: strand Ripper: exit.
omniORB: ORB shutdown is complete.
omniORB: omniRemoteIdentity deleted.
omniORB: strand Rope::decrRefCount: old value =3D 2
omniORB: ObjRef() -- deleted.
omniORB: omniRemoteIdentity deleted.
omniORB: strand Rope::decrRefCount: old value =3D 1
omniORB: ObjRef() -- deleted.
------=_NextPart_000_0000_01C0C9A9.275805F0--