dev@glassfish.java.net

"No RDV provider" error at shoal-gms module

From: wangweiat hotmail <fatboyslimww_at_hotmail.com>
Date: Mon, 14 Apr 2008 17:21:02 +0800

Dear everyone:
 
There is "No RDV provider" error was found in server.log file. and itwas repeated every 2 seconds.
it is the error message:[#|2008-04-14T16:01:25.203+0800|WARNING|sun-appserver9.1|ShoalLogger|_ThreadID=29;_ThreadName=HealthMonitor;_RequestID=ad38ac62-6102-4bea-9f48-80125b69a400;|Failed to send messagejava.io.IOException: No RDV provider at net.jxta.impl.rendezvous.RendezVousServiceImpl.propagateToNeighbors(RendezVousServiceImpl.java:757) at net.jxta.impl.rendezvous.RendezVousServiceInterface.propagateToNeighbors(RendezVousServiceInterface.java:311) at net.jxta.impl.pipe.WirePipe.sendMessage(WirePipe.java:487) at net.jxta.impl.pipe.NonBlockingWireOutputPipe.sendUnModified(NonBlockingWireOutputPipe.java:217) at net.jxta.impl.pipe.NonBlockingWireOutputPipe.send(NonBlockingWireOutputPipe.java:202) at com.sun.enterprise.jxtamgmt.HealthMonitor.send(HealthMonitor.java:369) at com.sun.enterprise.jxtamgmt.HealthMonitor.reportMyState(HealthMonitor.java:300) at com.sun.enterprise.jxtamgmt.HealthMonitor.run(HealthMonitor.java:330) at java.lang.Thread.run(Thread.java:595)|#]
 
I used the version of UR1. there was one domain(domain1) and onenodeagent(mynodeagent) at my box.I think there must be 3 conditions to reproduce the error1) two or more clusters were started 2) domain must be restarted after clusters was started3) firstly started cluster was deleted this Exception is coming out.
 
I tryed to found the cause from the shoal-gms module's source.in the HealthMonitor.java ,net.jxta.pipe.OutputPipe's object outputPipewas defined, outputPipe.send()was used to do JXTA.
 
and in NetworkManager.java ,static net.jxta.peergroup.PeerGroup's object netPeerGroupwas defined, the netPeerGroup manages all the outputPipe.
 
when firstly started cluster(cluster1) was deleted?netPeerGroup isclosed by netPeerGroup.stopApp() function in NetworkManager#stop().so outputPipe object could not be used any more. thereforException were happened while other clusters(cluster2) do JXTA bycalling outputPipe.send() function.
 
solution 1: check the netPeerGroup before call outputPipe.send() function, ifnull, donn't call outputPipe.send().
 
solution 2: don't close the netPeerGroup while firstly started cluster(cluster1)was deleted. so, remain clusters (cluster2) could use outputPipe.send()function to do JXTA, and all the clusters ware deleted then close thenetPeerGroup.
 
Does anyone has any idea of the "No RDV provider" error at shoal-gmsmodule?
 
Best RegardsWang Wei
_________________________________________________________________
多个邮箱同步管理,live mail客户端万人抢用中
http://get.live.cn/product/mail.html