User: starksm Date: 01/10/02 19:08:55 Modified: src/main/org/jboss/mq/il/uil Tag: Branch_2_4 UILServerILService.java Log: We need to check the socketAddress against "0.0.0.0/0.0.0.0" because this is not a valid address on Win32 while it is for *NIX. See BugParade bug #4343286. Revision Changes Path No revision No revision 1.2.2.3 +7 -1 jbossmq/src/main/org/jboss/mq/il/uil/UILServerILService.java Index: UILServerILService.java =================================================================== RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/uil/UILServerILService.java,v retrieving revision 1.2.2.2 retrieving revision 1.2.2.3 diff -u -r1.2.2.2 -r1.2.2.3 --- UILServerILService.java 2001/09/30 01:14:11 1.2.2.2 +++ UILServerILService.java 2001/10/03 02:08:54 1.2.2.3 @@ -50,7 +50,7 @@ * * @author Hiram Chirino ([EMAIL PROTECTED]) * @created August 16, 2001 - * @version $Revision: 1.2.2.2 $ + * @version $Revision: 1.2.2.3 $ */ public class UILServerILService extends org.jboss.mq.il.ServerILJMXService implements Runnable, UILServerILServiceMBean { protected ServerSocket serverSocket; @@ -137,6 +137,12 @@ worker = new Thread(server.threadGroup, this, "UIL Worker"); worker.start(); + /* We need to check the socketAddress against "0.0.0.0/0.0.0.0" + 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(); serverIL = new UILServerIL(socketAddress, serverSocket.getLocalPort()); bindJNDIReferences();
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development