Skip to main content

Rendezvous AutoStart is not starting.

1 reply [Last post]
enygma2002
Offline
Joined: 2008-12-22

Hi!

I just created a peer group with PSE enabled and I could not see the peers in the group.

After some searching, I found out that I needed a RDV for that group or peer discovery would not work.

If I explicitly make peers be RDV for that group, peer discovery works.

If I set autoStart(true) and do not make peers explicitly rdvs, NONE of the memebrs of the group will automatically be promoted to rdv and I can not see the peers inside the group. WHY?

Please help.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
enygma2002
Offline
Joined: 2008-12-22

My bad.

I was auto-starting for the netPeerGroup instead of autostarting for the new group.

The auto-start check period is 5 minutes by default so when creating a group it's best to explicitly promote the peer that creates the group to RDV instead of relying on auto-start because you will have to wait 5 minutes for jxta to catch up.

You can, of course, change the check interval but for the first time, I really think that an explicit rdv is best.

Conclusion:
- Peer that creates and then joins a group should be rdv for that group.
- Peer that joins a group should have auto-start enabled. It will become a rdv if it is needed to.