RE: plz help.... rendezvous discovery in a subnet
"Anamanamuri, Suresh" <[email protected]> Mon, 26 Sep 2005 13:45:45 -0500
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Vanessa, A million thanks for the reply. This is what we are doing... We have two machines on the same subnet (linux)... Machine 1, creates a group "suresh" in netPeerGroup, publishes the "suresh" group advertisement in netPeerGroup, and then joins this group "suresh" . Rendezvous service is obtained from "suresh" group and using this service machine 1 becomes a rendezvous... Machine 2, tries to discover "suresh" group, using group id, in netPeerGroup (using a name, attribute based search from advertisements obtained). It looks for both local and remote advertisements continuously until the group by name "suresh" is found at 1 second interval. Our problem is that machine 2 never discovers the group "suresh" and thus the correct rendezvous. However, when we simulated machine 1 and machine 2 on the same computer, but in different sub directories... everything worked perfectly and beautifully... We didn't use any configurator of our own... When we executed the programs, the pop-up GUI was used to select options... In GUI configurator, we disabled HTTP settings (in Advanced tab), and removed the default seeding rendezvous (from Rendezvous/Relays tab)... The only thing that confounds us, is the fact that the programs run as desired when the programs are executed on the same machine with same configuration... However, the communication just doesn't happen when the programs are run on different machines... Any help is greatly appreciated Thank you, Suresh Anamanamuri. ________________________________ From: Vanessa Williams [mailto:[email protected]] Sent: Saturday, September 24, 2005 4:13 PM To: [email protected] Subject: Re: [JXTA user] plz help.... rendezvous discovery in a subnet Hi Suresh, unfortunately, there isn't enough information in your message to really help you. However, if the code works when both the rdv and discovering peer are on the same machine, it's most likely the configuration of the peers that is causing the problem. Can you provide more details about the configuration of the two peers? Also, did you use the default configurator or the ext/config package--and if the latter, which profile(s) did you use? Cheers, Vanessa On 23-Sep-05, at 5:47 PM, Anamanamuri, Suresh wrote: Thanks, Suresh Anamanamuri.