Hello all,
we have a problem running two instances of JBoss on one machine:
The firewall on the machine running jBoss allows communication on
defined ports only (the ports jBoss uses). Therefore we need to
configure all ports used by jBoss explicitly.
The JNP Server uses an anonymous RMI port which is not configurable.
To make the port configurable, one line has to be added to
file org/jnp/server/main.java:
...
setPort(Integer.getInteger("jnp.port",getPort()).intValue());
vvvvvv
setRmiPort(Integer.getInteger("jnp.rmiPort",getRmiPort()).intValue());
^^^^^^
setLogging(Boolean.getBoolean("jnp.log"));
...
This modification adds an additional property "jnp.rmiPort" to the
jnp.properties file
which can be used to control the port.
Would someone please change the sources?
Best regards
Wolfgang Bauer
[EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]