[jboss-jira] [JBoss JIRA] Commented: (JGRP-561) MacOSX: tos value > 0 causes an exception

Bela Ban (JIRA) jira-events at lists.jboss.org
Wed Jul 18 03:49:47 EDT 2007


    [ http://jira.jboss.com/jira/browse/JGRP-561?page=comments#action_12369294 ] 
            
Bela Ban commented on JGRP-561:
-------------------------------

Okay, on Apple's port of JDK 5, this only works with -Djava.net.preferIPv4Stack=true. It doesn't work with an IPv6 stack

> MacOSX: tos value > 0 causes an exception
> -----------------------------------------
>
>                 Key: JGRP-561
>                 URL: http://jira.jboss.com/jira/browse/JGRP-561
>             Project: JGroups
>          Issue Type: Bug
>            Reporter: Bela Ban
>         Assigned To: Bela Ban
>            Priority: Minor
>             Fix For: 2.6
>
>
> 3 [WARN] UDP: - traffic class of 8 could not be set, will be ignored
> java.net.SocketException: Invalid argument
>         at java.net.PlainDatagramSocketImpl.socketSetOption(Native Method)
>         at java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:299)
>         at java.net.DatagramSocket.setTrafficClass(DatagramSocket.java:1052)
>         at org.jgroups.protocols.UDP.createSockets(UDP.java:460)
>         at org.jgroups.protocols.UDP.start(UDP.java:362)
>         at org.jgroups.stack.Configurator.startProtocolStack(Configurator.java:75)
>         at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:273)
>         at org.jgroups.JChannel.connect(JChannel.java:368)
>         at SimpleChat.start(SimpleChat.java:20)
>         at SimpleChat.main(SimpleChat.java:85)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list