Author: ron.sigal(a)jboss.com
Date: 2009-07-28 16:39:04 -0400 (Tue, 28 Jul 2009)
New Revision: 5313
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/Connector.java
Log:
JBREM-1139: Adjusts PortUtil range in getInvokerConfig().
Modified: remoting2/branches/2.2/src/main/org/jboss/remoting/transport/Connector.java
===================================================================
--- remoting2/branches/2.2/src/main/org/jboss/remoting/transport/Connector.java 2009-07-28
20:38:11 UTC (rev 5312)
+++ remoting2/branches/2.2/src/main/org/jboss/remoting/transport/Connector.java 2009-07-28
20:39:04 UTC (rev 5313)
@@ -524,6 +524,7 @@
String serverBindPort = (String)
invokerConfig.get("serverBindPort");
String path = (String) invokerConfig.get("path");
+ PortUtil.updateRange(invokerConfig);
String host = clientConnectAddress != null ? clientConnectAddress :
serverBindAddress != null ? serverBindAddress :
InetAddress.getLocalHost().getHostAddress();
int port = clientConnectPort != null ? Integer.parseInt(clientConnectPort)
: serverBindPort != null ? Integer.parseInt(serverBindPort) :
PortUtil.findFreePort(serverBindAddress != null ? serverBindAddress :
InetAddress.getLocalHost().getHostAddress());
Show replies by date