Skip to main content

[jxta 2.5] RendezVous connection

2 replies [Last post]
fra86co
Offline
Joined: 2011-01-18
Points: 0

Hello,
i've another problem whit jxta 2.5 RendezVous.
I create a peerGroup in which i've started 2 Rendezvous, which don't see each other
the test is executed in local on my pc,and i've used the method RendezVousService.getConnectedRendezVous() to see the connected RDV.
There is a known bug in this ?
Anyone knows how two make 2 RendezVous see each other ???
Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dmallen
Offline
Joined: 2011-01-18
Points: 0

I have precisely the same problem (although I'm using 2.6).
I can't offer a particular solution, but investigating this myself there could be several sources of this problem which you can eliminate.
First, if you're running 2 RDVs on a single machine, they need to have separate ports and otherwise separate networking configuration so as not to step all over one another. Also, from reading documentation, apparently multiple peers never work within the same JVM, so you should be running them in separate JVM processes.
I have tried (unsuccessfully) to add a seed rendezvous through the network configurator, so that RDV 1 seeds to RDV 2. Then, after bringing up the network, I wait for an RDV connection -- that works, (or at least the function returns true) but still messages don't pass between the two peers.
I still have a pile of unresolved warning messages on startup that JXSE spits out -- it's not clear what these mean, or what (if anything) I need to do about them.
19, 2011 1:07:51 PM net.jxta.logging.Logging logCheckedWarning
WARNING: Line 304 net.jxta.impl.rendezvous.RendezVousServiceImpl.startApp()
Stalled until there is an endpoint service
Jan 19, 2011 1:07:51 PM net.jxta.logging.Logging logCheckedWarning
WARNING: Line 193 net.jxta.impl.peer.PeerInfoServiceImpl.startApp()
Stalled until there is a resolver service
Jan 19, 2011 1:07:51 PM net.jxta.logging.Logging logCheckedWarning
WARNING: Line 511 net.jxta.impl.discovery.DiscoveryServiceImpl.startApp()
Stalled until there is a rendezvous service
Jan 19, 2011 1:07:51 PM net.jxta.logging.Logging logCheckedWarning
WARNING: Line 737 net.jxta.impl.endpoint.router.EndpointRouter.startApp()
Endpoint Router start stalled until rendezvous service available
Jan 19, 2011 1:07:51 PM net.jxta.logging.Logging logCheckedWarning
WARNING: Line 304 net.jxta.impl.rendezvous.RendezVousServiceImpl.startApp()
Stalled until there is an endpoint service
Jan 19, 2011 1:07:51 PM net.jxta.logging.Logging logCheckedWarning
WARNING: Line 193 net.jxta.impl.peer.PeerInfoServiceImpl.startApp()
Stalled until there is a resolver service
Jan 19, 2011 1:07:51 PM net.jxta.logging.Logging logCheckedWarning
WARNING: Line 243 net.jxta.impl.endpoint.relay.RelayTransport.startApp()
Stalled until there is a discovery service
Jan 19, 2011 1:07:51 PM net.jxta.logging.Logging logCheckedWarning
WARNING: Line 511 net.jxta.impl.discovery.DiscoveryServiceImpl.startApp()
Stalled until there is a rendezvous service
Jan 19, 2011 1:07:51 PM net.jxta.logging.Logging logCheckedWarning
WARNING: Line 737 net.jxta.impl.endpoint.router.EndpointRouter.startApp()
Endpoint Router start stalled until rendezvous service available
Jan 19, 2011 1:07:51 PM net.jxta.logging.Logging logCheckedWarning
WARNING: Line 309 net.jxta.impl.pipe.PipeServiceImpl.startApp()
Stalled until there is a rendezvous service
Jan 19, 2011 1:07:51 PM net.jxta.logging.Logging logCheckedWarning
WARNING: Line 243 net.jxta.impl.endpoint.relay.RelayTransport.startApp()
Stalled until there is a discovery service
Jan 19, 2011 1:07:51 PM net.jxta.logging.Logging logCheckedWarning
WARNING: Line 524 net.jxta.platform.NetworkManager.waitForRendezvousConnection()
Trying to wait for RendezVous connection while not being an EDGE.

fra86co
Offline
Joined: 2011-01-18
Points: 0

Dear dmallen,
I've make 2 different configuration and start two different JVM.
I've also tried to seed RDV each other but without success.If i start an other EDGE peer it seems to see only one of the RDV.
I begin to thinking that is simpler to re-implement this discovery function by myself instead of make JXTA working !!! :D
Also i've the same warning.