Problem with secure peer group - can not find other peers.

"Wil" <[email protected]>
Newsgroups gmane.comp.java.jxta.user
Message-ID <000001c59613$c7162730$74c8a8c0@cyberfusion>
Hi,

If anyone has seen my previous post with a big splurge of code in it
then please ignore it, I have sort of found the problem.

I have tried out some demo code, I got the secure peer group source from
the Programmers Guide and changed it so that 

1) It connected to a rendezvous
2) Used autostart, just to keep myself happy.
3) Did get getRemoteAdvertisements on the group created from the secure
peer group source.
4) Implemented a very simple listener for the remoteadvertisements
5) Sent propagateInGroup messages to the group
6) Implemented endpoint listener for the propagateInGroup messages.

I ran up various combinations of this code out of two different
directories on the same machine

In no case was I ever able to retrieve adverts for other peers in the
new group and I never received any propagation messages.

I made sure I left both clients running long enough so that the
rendezvous came in sync.

I am presuming that the Secure Peer Group code is sound, which means
that I am doing something wrong or I have made an incorrect assumption
about the JXTA architecture.

Does anyone have any idea what I could have done wrong, as I am pretty
sure that the code I have tested is OK seeing as I have implemented it a
number of times now.

Thanks
Wil

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 28/07/2005
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.