Question about ORBit Naming Service...does it have to be running on same computer as the server that binds an object to it?

View: New views
2 Messages — Rating Filter:   Alert me  

Question about ORBit Naming Service...does it have to be running on same computer as the server that binds an object to it?

by Beach, Doug :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hello,

 

I was wondering of anyone knows if when you use ORBit2 Naming Service, whether or not it has to be running on the same computer where the server program that does ‘CosNaming_NamingContext_rebind’ is running.  

 

When I run the Naming Service and the ORBit2 sample program ‘name-resolve-server’ on the same computer A, then the client program ‘name-resolve-client’ on another computer B, the client program can resolve the server exposed object using a call to ‘CosNaming_NamingContext_resolve’.

 

But if I run the Naming Service on computer B, and the ORBit2 sample program ‘name-resolve-server’ on computer A, and the client program ‘name-resolve-client’ back on computer B, the client program fails to resolve the server exposed object using a call to ‘CosNaming_NamingContext_resolve’.  I get the error:

“** ERROR **: failed resolving service at name-service IDL:omg.org/CosNaming/NamingContext/NotFound:1.0”

 

Regards,

Doug

 

Douglas J. Beach
Software Engineer Sr.
Lockheed Technical Operations, Owego NY
Voice:  (607)751-6016 /  E-mail:  Doug.Beach@...
http://www.lmdtech.com/

 


_______________________________________________
orbit-list mailing list
orbit-list@...
http://mail.gnome.org/mailman/listinfo/orbit-list

Re: Question about ORBit Naming Service...does it have to be running on same computer as the server that binds an object to it?

by Alejandro Garcia Castro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Apr 18, 2007 at 12:31:29PM -0400, Beach, Doug wrote:
> Hello,
>
> I was wondering of anyone knows if when you use ORBit2 Naming Service,
> whether or not it has to be running on the same computer where the
> server program that does 'CosNaming_NamingContext_rebind' is running.  
>

Naming service can be in different computer, you just have to activate
the use of IP sockets:

http://www.gnome.org/projects/ORBit2/orbit-faq/faq/faq.html#i_cant_connect_to_my_remote_objects

We are using a naming service in a different computer for our project
(www.fisterra.org). Maybe you have already seen this but just in case,
check this information:

http://www.gnome.org/projects/ORBit2/orbit-faq/faq/faq.html#i_cant_connect_to_my_remote_objects

Another option is that you are asking for this solution:

http://mail.gnome.org/archives/orbit-list/2004-November/msg00015.html

You do not have to apply that patch because it is already in the
current version of ORBit2.

I hope it helps.

Regards.

--

Alejandro Garcia Castro
mailto: acastro@...
http://www.igalia.com
_______________________________________________
orbit-list mailing list
orbit-list@...
http://mail.gnome.org/mailman/listinfo/orbit-list