[omniORB] Server on dedicated port

Alex Tingle alex.tingle at bronermetals.com
Thu Jun 10 10:49:25 BST 2004


Wally,

There is nothing wrong with what you are trying to do. It should work. 
I've done it myself.

You should probably run both client and server with the trace level 
turned up. That would help you to diagnose the problem. The first 
question I would try to answer is, is the server receiving any network 
traffic, or is the problem entirely in the client?

BTW, I don't think the ORBpoaUniquePersistentSystemIds option is 
necessary, but I don't think that setting it will cause any problems.

-Ale Tingle

--
Dammit Jim, I'm a programmer... not a mind reader!

On 9 Jun 2004, at 18:33, Green, Wallace J wrote:

> I am trying to develop a relatively simple server using OmniOrb on
> Linux.
>
> I'd like the server to run on a dedicated port.  I'd also like a client
> to be able to resolve this server using "resolve_initial_references".
> I'm trying to reduce the number of processes running so I'm avoiding 
> the
> nameserver.
>
> I have set the server to create an object (with id) using the INSpoa.  
> I
> run the server with the ORBpoaUniquePersistentSystemIds and ORBendPoint
> Command line options.  When the server runs, I can see it listening on
> the desired port by using "netstat".
>
> I have set an InitRef  entry in the omni configuration file and try to
> "resolve_initial_references" in the client.  The
> resolve_initial_refererences does return a non-null object, but when
> this object is narrowed, I get an error "omniORB: ERROR -- the
> application attempted to invoke an operation on a nil reference.".
>
> So, obviously I'm doing something wrong.  Does anyone have any clues?
> It would be real nice if someone had a set of example programs which do
> this type of operation that work.
>
>
>
> Wally Green
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list




More information about the omniORB-list mailing list