2010-09-16 4 views

Répondre

4

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

qui l'a fait pour moi :)

1

JacORB connaît la propriété OAIAddr

Comment faire pour que le serveur utilise un numéro de port ou une adresse IP spécifique (dans le cas d'hôtes multi-hébergés)?

JacORB provides two properties that can be set to select a port number and IP address 
for servers to listen on. These properties are OAPort and OAIAddr. Thy can be set on 
the commandline using the -D switch to the Java interpreter, in the properties file, or 
in the source code of the server. In this last case, they are passed as arguments to 
the ORB.init() call.