From: Adrian B. <ej...@us...> - 2004-03-14 23:07:06
|
User: ejort Date: 04/03/14 14:58:08 Modified: src/main/org/jboss/mq/il/uil2 UILServerILService.java Log: Reapplied ANY address fix Revision Changes Path 1.5 +3 -3 jbossmq/src/main/org/jboss/mq/il/uil2/UILServerILService.java Index: UILServerILService.java =================================================================== RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/uil2/UILServerILService.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- UILServerILService.java 27 Aug 2003 04:31:33 -0000 1.4 +++ UILServerILService.java 14 Mar 2004 22:58:08 -0000 1.5 @@ -23,11 +23,12 @@ import org.jboss.mq.il.uil2.msgs.BaseMsg; import org.jboss.mq.il.uil2.SocketManager; import org.jboss.security.SecurityDomain; +import org.jboss.system.server.ServerConfigUtil; /** This is the server side MBean for the UIL2 transport layer. * * @author Sco...@jb... - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ * * @jmx:mbean extends="org.jboss.mq.il.ServerILJMXServiceMBean" */ @@ -185,8 +186,7 @@ because this is not a valid address on Win32 while it is for *NIX. See BugParade bug #4343286. */ - if (socketAddress.toString().equals("0.0.0.0/0.0.0.0")) - socketAddress = InetAddress.getLocalHost(); + socketAddress = ServerConfigUtil.fixRemoteAddress(socketAddress); serverIL = new UILServerIL(socketAddress, serverSocket.getLocalPort(), clientSocketFactoryName, enableTcpNoDelay, bufferSize, chunkSize); |