How do I make sure JacORB uses a fixed port, lets say 6001, when I use the ORB.object_to_string method?
I tried a few things in the JacORB config, but every generated IOR was a random port.
How do I make sure JacORB uses a fixed port, lets say 6001, when I use the ORB.object_to_string method?
I tried a few things in the JacORB config, but every generated IOR was a random port.
jacorb.net.server_socket_factory=org.jacorb.orb.factory.PortRangeServerSocketFactory
jacorb.net.server_socket_factory.port.min=52677
jacorb.net.server_socket_factory.port.max=52679
That did it for me :)