August 31st, 2010, 05:45 AM
setting ports in jdk's CORBA
How can I assign specific ports to CORBA objects using Sun's (oracle's) CORBA implementation?
By default they appear to be assigned according to no particular pattern, which means firewalls have to forward all ports. This isn't desirable, especially for clients implementing one or two callback objects.
I have discovered the proprietary option -ORBServerPort which can be set when initializing the orb, but then all objects are created with this same port, which is ridiculous unless you only ever have one server object. I have more. I can't find a way to change this port without creating a new ORB.
Anyone have any ideas? Any help would be much appreciated.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!