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

Tried it out, it worked for me with both 0 and 1:

Using protocol string:
TCP(start_port=20043):TCPPING(initial_hosts=192.168.0.2[20043];port_range=5;time
out=3000;num_initial_members=2):FD(timeout=3000;max_tries=4):MERGE2(min_interval
=5000;max_interval=10000):VERIFY_SUSPECT(timeout=1500;down_thread=false;up_threa
d=false):pbcast.NAKACK(gc_lag=100):pbcast.STABLE(stability_delay=1000;desired_av
g_gossip=20000;down_thread=false;up_thread=false;max_bytes=0):UNICAST(timeout=50
00):pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;shun=true;print_local_a
ddr=true)
log4j:WARN No appenders could be found for logger (org.jgroups.conf.ClassConfigu
rator).
log4j:WARN Please initialize the log4j system properly.
Created channel with protocol: TCP(start_port=20043):TCPPING(initial_hosts=192.1
68.0.2[20043];port_range=5;timeout=3000;num_initial_members=2):FD(timeout=3000;m
ax_tries=4):MERGE2(min_interval=5000;max_interval=10000):VERIFY_SUSPECT(timeout=
1500;down_thread=false;up_thread=false):pbcast.NAKACK(gc_lag=100):pbcast.STABLE(
stability_delay=1000;desired_avg_gossip=20000;down_thread=false;up_thread=false;
max_bytes=0):UNICAST(timeout=5000):pbcast.GMS(join_timeout=5000;join_retry_timeo
ut=2000;shun=true;print_local_addr=true)
Connecting with groupname: mygroup

-------------------------------------------------------
GMS: address is laptop:20044
-------------------------------------------------------
######### Received object: [laptop:20044|0] [laptop:20044]
###
###
###
Got a view with 1 element(s)
laptop:20044
Timed out on receive
######### Received object: MergeView::[laptop:20043|1] [laptop:20043, laptop:200
44], subgroups=[[laptop:20043|0] [laptop:20043], [laptop:20044|0] [laptop:20044]
]
###
###
###
Got a view with 2 element(s)
laptop:20043
laptop:20044
BTW, this view is a mergeview

> TCP protocol stack won't mergeview with initial hosts specified as IP 
> addresses
> -------------------------------------------------------------------------------
>
>          Key: JGRP-14
>          URL: http://jira.jboss.com/jira/browse/JGRP-14
>      Project: JGroups
>         Type: Bug
>     Versions: 2.2.8
>  Environment: Linux and JGroups 2.2.7
>     Reporter: Zac Hansen
>     Assignee: Bela Ban
>      Fix For: 2.2.8
>  Attachments: belacode.java
>
>
> When I use a TCP protocol stack with TCPPING having initial members as ip 
> addresses: initial_members=192.168.1.200[4000], no merges will occur when 2 
> instances are started simultaneously.  The same thing with 
> initial_members=localhost[4000] merges fine when 2 instances are started 
> simultaneously.
> The following code reproduces the problem when started with a command line 
> parameter of 1, and works when run with a parameter of 0.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to