User: starksm
Date: 01/10/02 19:09:11
Modified: src/main/org/jboss/mq/il/uil 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
1.10 +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.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- UILServerILService.java 2001/09/30 00:53:16 1.9
+++ UILServerILService.java 2001/10/03 02:09:11 1.10
@@ -45,7 +45,7 @@
* Implements the ServerILJMXService which is used to manage the JVM IL.
*
* @author Hiram Chirino ([EMAIL PROTECTED])
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.10 $
*/
public class UILServerILService extends org.jboss.mq.il.ServerILJMXService
implements Runnable, UILServerILServiceMBean
{
@@ -374,6 +374,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