[jboss-jira] [JBoss JIRA] (JGRP-1919) SimpleChat example doesn't work

Huy Nguyen (JIRA) issues at jboss.org
Wed Jul 1 03:21:02 EDT 2015


    [ https://issues.jboss.org/browse/JGRP-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085167#comment-13085167 ] 

Huy Nguyen edited comment on JGRP-1919 at 7/1/15 3:20 AM:
----------------------------------------------------------

If you're on the latest osx yosemite, add the routing for IPv6 as follow:

{{sudo route add -inet6 default -interface en0}}

where en0 is the interface that has both inet and inet6 addresses.

This would allow you to use run the SimpleChat example without having to force it to use ipv4


was (Author: huyhnguyen):
If you're on the latest osx yosemite, add the routing for IPv6 as follow:

sudo route add -inet6 default -interface en0

where en0 is the interface that has both inet and inet6 addresses.

This would allow you to use run the SimpleChat example without having to force it to use ipv4

> SimpleChat example doesn't work
> -------------------------------
>
>                 Key: JGRP-1919
>                 URL: https://issues.jboss.org/browse/JGRP-1919
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 3.6.2
>            Reporter: rama rama
>            Assignee: Bela Ban
>             Fix For: 3.4.8
>
>
> Hello,
> i have try to run SimpleChat.java class (provided on example) but it doesn't work... with version 3.6.2 i run two java but they doesn't 'connect' eachother..
> i got this error (if i use ipv4 the error persist, it change only the fact that is an ipv4 ip)
> ----
> WARNING: JGRP000034: iMac-di-Rama-78: failure sending message to /ff0e:0:0:0:0:8:8:8: java.io.IOException: No route to host
> ----
> version 3.4.8 isn't affected, and two process
> runned with this version connect and i can see the messages.
> Also,  no error is displayed on 3.4.8
> just to avoid misunderstanding
> 1. i have read the other 'similar' message
> 2. i have try 
> java org.jgroups.tests.McastReceiverTest +
> java org.jgroups.tests.McastSenderTest
> and work
> 3. i have try to use ipv4 and jgroups.bind_addr props
> what is strange is that with 3.4.8 the example work out of the box.
> os: osx
> java: 1.7.0_76



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list