[Jboss-cvs] JBoss Messaging SVN: r1256 - branches/Branch_1_0/src/main/org/jboss/jms/client/remoting
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Sep 5 15:05:33 EDT 2006
Author: clebert.suconic at jboss.com
Date: 2006-09-05 15:05:32 -0400 (Tue, 05 Sep 2006)
New Revision: 1256
Modified:
branches/Branch_1_0/src/main/org/jboss/jms/client/remoting/CallbackServerFactory.java
Log:
JBMESSAGING-536 - fix
Modified: branches/Branch_1_0/src/main/org/jboss/jms/client/remoting/CallbackServerFactory.java
===================================================================
--- branches/Branch_1_0/src/main/org/jboss/jms/client/remoting/CallbackServerFactory.java 2006-09-05 16:08:05 UTC (rev 1255)
+++ branches/Branch_1_0/src/main/org/jboss/jms/client/remoting/CallbackServerFactory.java 2006-09-05 19:05:32 UTC (rev 1256)
@@ -125,7 +125,7 @@
String serializationType = null;
int count = 0;
- String thisAddress = InetAddress.getLocalHost().getHostAddress();
+ String thisAddress = serverLocator.getHost();
boolean isSSL = serverLocator.getProtocol().equals("sslsocket");
Map params = serverLocator.getParameters();
@@ -138,7 +138,7 @@
{
try
{
- int bindPort = PortUtil.findFreePort("localhost");
+ int bindPort = PortUtil.findFreePort(thisAddress);
String callbackServerURI;
More information about the jboss-cvs-commits
mailing list