使用 JGroups 发生 failed sending up MERGE event 错误

红薯 发布于 2014/04/08 17:18
阅读 887
收藏 0
错误信息:
严重: failed sending up MERGE event
java.lang.NoClassDefFoundError: org/jgroups/protocols/pbcast/GmsImpl$Request
	at org.jgroups.protocols.pbcast.GMS.up(GMS.java:1004)
	at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:245)
	at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:636)
	at org.jgroups.protocols.BARRIER.up(BARRIER.java:119)
	at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:147)
	at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:184)
	at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)

啥意思啊,直接启动不了,之前没遇见过这样的问题。

加载中
0
h
helloyangxp

@红薯

请问这个问题是怎么回事?今天试用了下你写的J2Cache的时候也发现了这个问题?

h
helloyangxp
回复 @红薯 : 也没啥警告的啊!开始还没报这个错误,运行一段时间之后就容易出这个问题!
红薯
红薯
回复 @helloyangxp : 正常启动的时候有看到什么警告信息吗?
h
helloyangxp
回复 @红薯 : 运行到是还在运行!但是看到报一堆的这个错!太别扭了
红薯
红薯
不理会会怎样呢? 我倒是没怎么遇见过
0
天马行空&
天马行空&

跟我运用一样的错误,运行一段时间就有这个错误,不是知道是什么原因.



2015-06-11 11:41:10,655 [Timer-2,default,iZ25hh5cpgnZ-12056] ERROR [org.jgroups.protocols.MERGE2] - failed sending up MERGE event
java.lang.NoClassDefFoundError: org/jgroups/protocols/pbcast/GmsImpl$Request
at org.jgroups.protocols.pbcast.GMS.up(GMS.java:1004)
at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:245)
at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:636)
at org.jgroups.protocols.BARRIER.up(BARRIER.java:119)
at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:147)
at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:185)
at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)
at org.jgroups.protocols.MERGE2$FindSubgroupsTask._findAndNotify(MERGE2.java:332)
at org.jgroups.protocols.MERGE2$FindSubgroupsTask.findAndNotify(MERGE2.java:274)
at org.jgroups.protocols.MERGE2$FindSubgroupsTask$1.run(MERGE2.java:247)
at org.jgroups.util.TimeScheduler2$RecurringTask.run(TimeScheduler2.java:561)
at org.jgroups.util.TimeScheduler2$MyTask.run(TimeScheduler2.java:493)
at org.jgroups.util.TimeScheduler2$Entry.execute(TimeScheduler2.java:398)
at org.jgroups.util.TimeScheduler2$1.run(TimeScheduler2.java:258)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2015-06-11 11:41:20,423 [Timer-5,default,iZ25hh5cpgnZ-64711] DEBUG [org.jgroups.protocols.MERGE2] - iZ25hh5cpgnZ-64711 found different views : [iZ25hh5cpgnZ-12056|0], [iZ25hh5cpgnZ-64711|0]; sending up MERGE event with merge participants [iZ25hh5cpgnZ-12056, iZ25hh5cpgnZ-64711].
Discovery results:
[iZ25hh5cpgnZ-12056]: coord=iZ25hh5cpgnZ-12056
[iZ25hh5cpgnZ-64711]: coord=iZ25hh5cpgnZ-64711


2015-06-11 11:41:26,999 [Timer-2,default,iZ25hh5cpgnZ-12056] DEBUG [org.jgroups.protocols.MERGE2] - iZ25hh5cpgnZ-12056 found different views : [iZ25hh5cpgnZ-12056|0], [iZ25hh5cpgnZ-64711|0]; sending up MERGE event with merge participants [iZ25hh5cpgnZ-12056, iZ25hh5cpgnZ-64711].
Discovery results:
[iZ25hh5cpgnZ-64711]: coord=iZ25hh5cpgnZ-64711
[iZ25hh5cpgnZ-12056]: coord=iZ25hh5cpgnZ-12056


2015-06-11 11:41:26,999 [Timer-2,default,iZ25hh5cpgnZ-12056] ERROR [org.jgroups.protocols.MERGE2] - failed sending up MERGE event
java.lang.NoClassDefFoundError: org/jgroups/protocols/pbcast/GmsImpl$Request
at org.jgroups.protocols.pbcast.GMS.up(GMS.java:1004)
at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:245)
at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:636)
at org.jgroups.protocols.BARRIER.up(BARRIER.java:119)
at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:147)
at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:185)
at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)
at org.jgroups.protocols.MERGE2$FindSubgroupsTask._findAndNotify(MERGE2.java:332)
at org.jgroups.protocols.MERGE2$FindSubgroupsTask.findAndNotify(MERGE2.java:274)
at org.jgroups.protocols.MERGE2$FindSubgroupsTask$1.run(MERGE2.java:247)
at org.jgroups.util.TimeScheduler2$RecurringTask.run(TimeScheduler2.java:561)
at org.jgroups.util.TimeScheduler2$MyTask.run(TimeScheduler2.java:493)
at org.jgroups.util.TimeScheduler2$Entry.execute(TimeScheduler2.java:398)
at org.jgroups.util.TimeScheduler2$1.run(TimeScheduler2.java:258)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2015-06-11 11:41:41,377 [Timer-3,default,iZ25hh5cpgnZ-12056] DEBUG [org.jgroups.protocols.MERGE2] - iZ25hh5cpgnZ-12056 found different views : [iZ25hh5cpgnZ-12056|0], [iZ25hh5cpgnZ-64711|0]; sending up MERGE event with merge participants [iZ25hh5cpgnZ-12056, iZ25hh5cpgnZ-64711].
Discovery results:
[iZ25hh5cpgnZ-64711]: coord=iZ25hh5cpgnZ-64711
[iZ25hh5cpgnZ-12056]: coord=iZ25hh5cpgnZ-12056


2015-06-11 11:41:41,377 [Timer-3,default,iZ25hh5cpgnZ-12056] ERROR [org.jgroups.protocols.MERGE2] - failed sending up MERGE event
java.lang.NoClassDefFoundError: org/jgroups/protocols/pbcast/GmsImpl$Request
at org.jgroups.protocols.pbcast.GMS.up(GMS.java:1004)
at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:245)
at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:636)
at org.jgroups.protocols.BARRIER.up(BARRIER.java:119)
at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:147)
at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:185)
at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)
at org.jgroups.protocols.MERGE2$FindSubgroupsTask._findAndNotify(MERGE2.java:332)
at org.jgroups.protocols.MERGE2$FindSubgroupsTask.findAndNotify(MERGE2.java:274)
at org.jgroups.protocols.MERGE2$FindSubgroupsTask$1.run(MERGE2.java:247)
at org.jgroups.util.TimeScheduler2$RecurringTask.run(TimeScheduler2.java:561)
at org.jgroups.util.TimeScheduler2$MyTask.run(TimeScheduler2.java:493)
at org.jgroups.util.TimeScheduler2$Entry.execute(TimeScheduler2.java:398)
at org.jgroups.util.TimeScheduler2$1.run(TimeScheduler2.java:258)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2015-06-11 11:41:41,984 [Timer-5,default,iZ25hh5cpgnZ-64711] DEBUG [org.jgroups.protocols.MERGE2] - iZ25hh5cpgnZ-64711 found different views : [iZ25hh5cpgnZ-12056|0], [iZ25hh5cpgnZ-64711|0]; sending up MERGE event with merge participants [iZ25hh5cpgnZ-12056, iZ25hh5cpgnZ-64711].
Discovery results:
[iZ25hh5cpgnZ-12056]: coord=iZ25hh5cpgnZ-12056
[iZ25hh5cpgnZ-64711]: coord=iZ25hh5cpgnZ-64711


2015-06-11 11:41:57,319 [Timer-5,default,iZ25hh5cpgnZ-12056] DEBUG [org.jgroups.protocols.MERGE2] - iZ25hh5cpgnZ-12056 found different views : [iZ25hh5cpgnZ-12056|0], [iZ25hh5cpgnZ-64711|0]; sending up MERGE event with merge participants [iZ25hh5cpgnZ-12056, iZ25hh5cpgnZ-64711].
Discovery results:
[iZ25hh5cpgnZ-64711]: coord=iZ25hh5cpgnZ-64711
[iZ25hh5cpgnZ-12056]: coord=iZ25hh5cpgnZ-12056


2015-06-11 11:41:57,320 [Timer-5,default,iZ25hh5cpgnZ-12056] ERROR [org.jgroups.protocols.MERGE2] - failed sending up MERGE event
java.lang.NoClassDefFoundError: org/jgroups/protocols/pbcast/GmsImpl$Request
at org.jgroups.protocols.pbcast.GMS.up(GMS.java:1004)
at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:245)
at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:636)
at org.jgroups.protocols.BARRIER.up(BARRIER.java:119)
at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:147)
at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:185)
at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)
at org.jgroups.protocols.MERGE2$FindSubgroupsTask._findAndNotify(MERGE2.java:332)
at org.jgroups.protocols.MERGE2$FindSubgroupsTask.findAndNotify(MERGE2.java:274)
at org.jgroups.protocols.MERGE2$FindSubgroupsTask$1.run(MERGE2.java:247)
at org.jgroups.util.TimeScheduler2$RecurringTask.run(TimeScheduler2.java:561)
at org.jgroups.util.TimeScheduler2$MyTask.run(TimeScheduler2.java:493)
at org.jgroups.util.TimeScheduler2$Entry.execute(TimeScheduler2.java:398)
at org.jgroups.util.TimeScheduler2$1.run(TimeScheduler2.java:258)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2015-06-11 11:42:10,735 [Timer-4,default,iZ25hh5cpgnZ-64711] DEBUG [org.jgroups.protocols.MERGE2] - iZ25hh5cpgnZ-64711 found different views : [iZ25hh5cpgnZ-12056|0], [iZ25hh5cpgnZ-64711|0]; sending up MERGE event with merge participants [iZ25hh5cpgnZ-12056, iZ25hh5cpgnZ-64711].
Discovery results:
[iZ25hh5cpgnZ-12056]: coord=iZ25hh5cpgnZ-12056
[iZ25hh5cpgnZ-64711]: coord=iZ25hh5cpgnZ-64711


0
天马行空&
天马行空&

关闲掉所有的tomcat服务器.然后再重新启动.现在没有发现此问题.

不知道是不是因为shutdown.sh时没关掉完服务器引起的.这个还得多试试才知道.

返回顶部
顶部