[jboss-jira] [JBoss JIRA] Resolved: (JGRP-299) NotificationBusDemo problem with 2.4CR2

Bela Ban (JIRA) jira-events at jboss.com
Wed Sep 6 17:18:32 EDT 2006


     [ http://jira.jboss.com/jira/browse/JGRP-299?page=all ]

Bela Ban resolved JGRP-299.
---------------------------

    Resolution: Done

Looks like your JVM doesn't support setting this option. I therefore recommend you remove the tos="8" line from your config file

> NotificationBusDemo problem with 2.4CR2
> ---------------------------------------
>
>                 Key: JGRP-299
>                 URL: http://jira.jboss.com/jira/browse/JGRP-299
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: MacOSX, Java 1.5
>            Reporter: Christian Pekeler
>         Assigned To: Bela Ban
>
> [/Users/christian/Projects/JGroups-2.4CR2.src]> java -cp dist/jgroups-all.jar:lib/commons-logging.jar:lib/concurrent.jar:lib/xalan.jar org.jgroups.demos.NotificationBusDemo 
> Starting NotificationBus with name BusDemo
> Sep 5, 2006 4:56:53 PM org.jgroups.JChannel init
> INFO: JGroups version: 2.4CR2
> Sep 5, 2006 4:56:53 PM org.jgroups.protocols.UDP createSockets
> INFO: sockets will use interface 192.168.5.142
> Sep 5, 2006 4:56:53 PM org.jgroups.protocols.UDP createSockets
> WARNING: 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:456)
>         at org.jgroups.protocols.UDP.start(UDP.java:383)
>         at org.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java:589)
>         at org.jgroups.stack.DownHandler.run(Protocol.java:118)
> Sep 5, 2006 4:56:53 PM org.jgroups.protocols.UDP createSockets
> WARNING: 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:527)
>         at org.jgroups.protocols.UDP.start(UDP.java:383)
>         at org.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java:589)
>         at org.jgroups.stack.DownHandler.run(Protocol.java:118)
> Sep 5, 2006 4:56:53 PM org.jgroups.protocols.UDP createSockets

-- 
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