[omniORB] newbie quick queries

Ulf Stoermer ulf at emi.yamaha.co.jp
Mon Jun 30 14:02:11 BST 2003


Hi Eric,

to be honest, I don't quite understand your setup
and what you want to achieve. Do you want a redundant
server object that you can fall back on if the other one
isn't around? Can you please post more details or maybe
someone else can help out?

Cheers

Ulf


-----Original Message-----
From: omniorb-list-bounces at omniorb-support.com
[mailto:omniorb-list-bounces at omniorb-support.com]On Behalf Of Eric
Damphousse
Sent: Monday, 30 June 2003 11:51 AM
To: Ulf Stoermer
Cc: OmniORB
Subject: Re: [omniORB] newbie quick queries


Hi Ulf,

Thanks for the reply... That helps quite a bit. There are definitely pros
and cons to automatic server activation, one big one that comes to mind is
security. I have dealt in the past with DCOM security and, well, ouch. I can
definitely move ahead with servers pre activated for now.

Since I have you "on the line", I have been playing around with one little
servant object I have written that returns the host name of the machine it
is currently running on. My current setup is as such: 1 Solaris for my
client and 1 active servant object, 1 XP that is running the name service
and 1 Linux that is also running an active servant object. Both servant
objects are identical, i.e., they return the host name of the box. I have
create a simple naming service hierarchy, being Hillsboro.Tests/TestObject.

When I deactivate the servant object running on my Solaris box, and run the
client, all works beautifully, i.e. the servant object running on the Linux
system responds correctly. If I start the servant object on my Solaris box
then rerun the client, I get a CORBA::SystemException:
N5CORBA12COMM_FAILUREE on the client and a core dump of my servant object on
the Solaris box, and I am not to sure why. My guess is that my name service
is not properly setup, i.e. is it not specific enough. I have a few ideas
that might fix the problem, but I cant say I feel at ease with them. So my
question is how does one deal with such a setup in a CORBA way of doing
things?

Thanks again....
Eric






More information about the omniORB-list mailing list