2017-03-07 2 views
0
WARNING: JGRP000014: Discovery.timeout has been deprecated: GMS.join_timeout should be used instead 

나에게 직접 정의되지 않은 이유는 무엇입니까? 적어도 나는, 그것은 생각하지 않는다 우리가 GMS.join_timeout경고 : JGRP000014 : Discovery.timeout이 더 이상 사용되지 않습니다. GMC.join_timeout을 대신 사용해야합니다.

를 사용하는 것처럼 여기 보이는이 하나가

 log().info(
      "Starting JChannel for Distributable Sessions config:{} with channel name of {}", 
      configString, 
      channelName 
     ); 
     jChannel = new JChannel(new PlainConfigurator(configString)); 

     jChannel.connect(channelName); 
     replicatedSessionIds = new ReplicatedHashMap<>(jChannel); 

     sessionIds = replicatedSessionIds; 

     if (! sessionDistributedTest) 
     { 
      replicatedSessionIds.start(TIME_OUT); 
     } 

그 로그 님에게 메일

Starting JChannel for Distributable Sessions config:TCP(bind_addr=172.20.0.4;bind_port=7800;max_bundle_size=200000):TCPPING(timeout=3000;initial_hosts=dex.master[7800],dex.slave[7800];port_range=1):VERIFY_SUSPECT(timeout=1500):pbcast.NAKACK2(use_mcast_xmit=false;discard_delivered_msgs=true):pbcast.STABLE(stability_delay=1000;desired_avg_gossip=50000;max_bytes=400000):pbcast.GMS(print_local_addr=true;join_timeout=2000;view_bundling=true):pbcast.STATE_SOCK with channel name of Dex_SpringSecurity_Cluster_Dev 

jgroups 3.6.13의 출력을 구성 방법

답변

1

실제로는 timeoutconfigString p 채널 생성자 : TCPPING.timeout

나는 당신이 개 제안이 : XML 기반 구성에

  • 스위치; 일반 텍스트 구성은 더 이상 지원되지 않습니다.
  • tcp.xml과 함께 제공된 3.6.13을 사용하고 원하는대로 수정하십시오. 귀하의 설정은 약간 날짜가 표시됩니다.
+0

4.0에서는 "Java Config"가 지원되므로 텍스트 형식을 사용할 필요가 없습니다. 나는 우리 코드에서 XML을 죽이려고 노력했다. (그렇다. 아마도 3 개의 다른 XML 설정을 가지고있다.) – xenoterracide

+0

예, 물론 프로그래밍 방식의 구성을 사용할 수있다. XML 구성 외에도이 기능을 사용할 수 있습니다. –

관련 문제