[jboss-remoting-commits] JBoss Remoting SVN: r4062 - remoting2/branches/2.x/src/main/org/jboss/remoting/transport.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Thu Apr 24 04:10:12 EDT 2008


Author: ron.sigal at jboss.com
Date: 2008-04-24 04:10:12 -0400 (Thu, 24 Apr 2008)
New Revision: 4062

Modified:
   remoting2/branches/2.x/src/main/org/jboss/remoting/transport/PortUtil.java
Log:
JBREM-865: Logs more informative message if IPv6 is not available.

Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/transport/PortUtil.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/transport/PortUtil.java	2008-04-24 08:08:02 UTC (rev 4061)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/transport/PortUtil.java	2008-04-24 08:10:12 UTC (rev 4062)
@@ -90,7 +90,8 @@
       }
       catch (IOException e)
       {
-         if ("Protocol family unavailable".equalsIgnoreCase(e.getMessage()))
+         if ("Protocol family unavailable".equalsIgnoreCase(e.getMessage()) ||
+             "Protocol family not supported".equalsIgnoreCase(e.getMessage()))
          {
             log.debug("perhaps IPv6 is not available: " + e.getMessage());
          }




More information about the jboss-remoting-commits mailing list