Posted by rtimmons
on March 21, 2010 at 1:38 PM PDT
I am having a problem with restarting peers in my network and reforming the connections (the restarts are forced by errors that have nothing to do with JXTA).
General outline: I have a single rendezvous peer and several normal peers. Peers use a single propagated pipe to distribute advertisements followed by individual pairs of peers making a BiDi pipe. When I start up the application, the forming of the BiDi pipe happens very quickly, but once a peer crashes and is restarted, the advertisement/propagate pipe still works but the formation of the BiDi pipe fails repeatedly and only eventually works after 3-10 minutes.
I have tried both clearing and not clearing the cache directory for the peer that is restarted, does not seem to make a difference either way. Fiddling with the timeouts on the ServerPipe/JxtaBiDiPipe has not helped either. Does anyone have other ideas?
Thanks in advance.