<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
Hi Ulf,<br>
<br>
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. <br>
<br>
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. <br>
<br>
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?<br>
<br>
Thanks again....<br>
Eric<br>
<br>
<br>
Ulf Stoermer wrote:<br>
<blockquote type="cite"
cite="midDKEAKEAIBKKGMEELLOEIMEEDCHAA.ulf@emi.yamaha.co.jp">
<pre wrap="">Hi Eric,
even though CORBA and COM are conceptually very similar
this is an area where they differ completely.
CORBA doesn't provide for automatic server activation on ORB level.
In this case you need the help of an implementation repository.
Turn to chapter 14.4 of your book Advanced CORBA Programming
to read in more detail about it.
OmniORB doesn't offer an implementation repository at the moment
but it should be possible to use one from another vendor/project
e.g. from the TAO orb.
On the other hand, a bunch of people are currently working on an
implementation repository for Omni, but I have no idea what the
current status is. Maybe someone of them can speak out?
Cheers
Ulf
</pre>
<blockquote type="cite">
<pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:omniorb-list-bounces@omniorb-support.com">omniorb-list-bounces@omniorb-support.com</a>
[<a class="moz-txt-link-freetext" href="mailto:omniorb-list-bounces@omniorb-support.com">mailto:omniorb-list-bounces@omniorb-support.com</a>]On Behalf Of Eric
Damphousse
Sent: Saturday, 28 June 2003 1:11 AM
To: OmniORB
Subject: [omniORB] newbie quick queries
Hi all,
I have a few questions concerning a few items that I don't have a clear
idea of
1. servant objects
I have my client on one machine, server on another, up and running.
On the server, there is an object that the client wants to use. Does the
object need to be running (instantiated) for it to be usable, or
can the server start it up when the client queries for it. If so, can
someone clue me in... cause I have found nothing (which doesn't
mean much) on how to do this. Under COM I would need to do a
cocreateinstance of the object, and it would start up, if not
already running. Is there something similar I can do with CORBA.
Hey, that's only one question!
Thanks in advance...
Eric
_______________________________________________
omniORB-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:omniORB-list@omniorb-support.com">omniORB-list@omniorb-support.com</a>
<a class="moz-txt-link-freetext" href="http://www.omniorb-support.com/mailman/listinfo/omniorb-list">http://www.omniorb-support.com/mailman/listinfo/omniorb-list</a>
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
omniORB-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:omniORB-list@omniorb-support.com">omniORB-list@omniorb-support.com</a>
<a class="moz-txt-link-freetext" href="http://www.omniorb-support.com/mailman/listinfo/omniorb-list">http://www.omniorb-support.com/mailman/listinfo/omniorb-list</a>
</pre>
</blockquote>
<br>
</body>
</html>