The content of this guide is the following:
The target audience for this document is JOnAS administrators intending to specify the range of ports to be used by RMI on JOnAS, in order to pass through firewalls.
This section describes how to modify JOnAS configuration files in order to specify a range of ports to be used by RMI when using the IIOP protocol.
The following example uses a range of 10 ports, starting at port 33000. The IP address 150.11.135.17 is also given as an example for the host running JOnAS.
The following properties of this file should be uncommented and specified:
jacorb.net.server_socket_factory=org.jacorb.orb.factory.PortRangeServerSocketFactory jacorb.net.server_socket_factory.port.min=33000 jacorb.net.server_socket_factory.port.max=33010 OAIAddr=150.11.135.17
Use of the iiop protocol should be specified, and the port number for the registry must be the first port number identified in the range above.
carol.protocols=iiop carol.iiop.url=iiop://150.11.135.17:33000
This configuration for specifying the port numbers will not work when launching JOnAS in the background; it must be launched in the foreground:
jonas start -fg