User: starksm
Date: 01/10/02 19:09:09
Modified: src/main/org/jboss/mq/il/oil OILServerILService.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/oil/OILServerILService.java
Index: OILServerILService.java
===================================================================
RCS file:
/cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/oil/OILServerILService.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- OILServerILService.java 2001/09/30 00:40:16 1.9
+++ OILServerILService.java 2001/10/03 02:09:09 1.10
@@ -46,7 +46,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 OILServerILService extends org.jboss.mq.il.ServerILJMXService
implements Runnable, OILServerILServiceMBean
{
@@ -366,6 +366,12 @@
worker = new Thread(server.threadGroup, this, "OIL 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 OILServerIL(socketAddress, serverSocket.getLocalPort());
bindJNDIReferences();
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development