Discussion:
[omniORB] omniORB 4.0.1 on AIX 5.1
Andreas.Eglseer at ecs.steyr.com ()
2007-07-31 13:55:43 UTC
Permalink
Hi All,

I've a strange behavior on AIX 5.1:
I used one of the poa examples to show
(src/examples/poa/implicit_activation),
but it's the same with all examples I tested.
The app is only working, if I give a portnumber in the ORBendPoint
parameter.
Could somebody give me a hint what I did wrong?

***@aixhost:implicit_activation >./eg1
omniORB: Cannot get the address of host .
omniORB: Error: Unable to create an endpoint of this description:
giop:tcp::0
Caught a CORBA::INITIALIZE
***@aixhost:implicit_activation >./eg1 -ORBendPoint giop:tcp:127.0.0.1
omniORB: Error: Unable to create an endpoint of this description:
giop:tcp:127.0.0.1
Caught a CORBA::INITIALIZE
***@aixhost:implicit_activation >./eg1 -ORBendPoint
giop:tcp:127.0.0.1:1234
I said, "Hello!".
The Echo object replied, "Hello!".
***@aixhost:implicit_activation >

Cheers,

Andreas.


Engineering Center Steyr GmbH & Co KG
Geschäftsführende Gesellschaft: Engineering Center Steyr GmbH
Geschäftsführer der geschäftsführenden Gesellschaft: Dipl. Ing. Franz Dorfer
Sitz der geschäftsführenden Gesellschaft: 4300 St. Valentin, Österreich
Firmenbuchgericht: St. Pölten / FN 140816h
Sitz der Gesellschaft: 4300 St. Valentin, Steyrer Strasse 32, Österreich
Firmenbuchgericht: St. Pölten / FN 222001y

CONFIDENTIALITY NOTE: This message contains information which may be privileged or confidential, or exempt from disclosure under applicable law.
If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, retention, archiving, or copying of this communication is strictly prohibited.
If you have received this e-mail in error, please notify us immediately by return e-mail to the sender of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20070731/7c2ee81c/attachment.htm
Mark Zimmerman
2007-07-31 22:16:41 UTC
Permalink
Post by Andreas.Eglseer at ecs.steyr.com ()
Hi All,
I used one of the poa examples to show
(src/examples/poa/implicit_activation),
but it's the same with all examples I tested.
The app is only working, if I give a portnumber in the ORBendPoint
parameter.
Could somebody give me a hint what I did wrong?
You used AIX (just kidding).

Actually, I have seen this same thin with omniORB 4.1 on AIX. I
tracked down the cause, once, but I have forgotten the exact location
in the code. The workaround, as you have found, is to specify the port
if you specify the address.

As I recall, the root cause is something silly like AIX expecting a
NULL in a system call when an empty string is passed instead. If
someone can remind me where, in the code, endpoints are created I may
have time to track this down again.

-- Mark

Loading...