Author: ron.sigal(a)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());
}
Show replies by date