Skip to main content

can not discovery

2 replies [Last post]
Joined: 2008-03-26

Hey , i am new in this world
I have tried the example of discovery in jxta 2.5 tutorial, it work fine.

After that i try to change the configuration of discovery server become rendezvous and discovery clint become edge. It can not work, the client can not find the pipe advertisement from server. The Client only found the pipe advertisement of server if the server configured as ADHOC or EGDE??

Could someone told me or explain to me about this???why??
If like that how to connect to RDV if can not find the advertisement that publish by it.

thank you

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2007-01-31


I am not 100% clear about your issue, but:

a) There is no such thing as a 'server' in JXTA. So both devices on your network are peers.
b) If they are located on the same LAN, they should have not problem finding each other when configured as EDGE and starting the JXTA network by joining the Net Peer Group.
c) If you have published a Pipe Advertisement on one peer (A) and the other peer (B) can see A, it should be able to retrieve the pipe advertisement from A.
d) But, you may also consider having A making a remote publishing of its pipe advertisement for B.

I hope this helps, but let me know more about your problem if not.



Joined: 2008-03-26

Thanks for your reply,

I try the example of discovery in JXTA 2.5 guide, based on that example i have 2 peer , they are discoveryServer peer and discoveryClient peer.

When i configured both of it as ADHOC or EDGE , everything work fine, discoveryServer peer can publish it advertisement and discoveryClient peer can discover and find the advertisement.

But it can not work if i configured discoveryServer peer as Rendezvous and discoveryClient as Edge, the discoveryClient peer can not find the advertisement that publish by discoveryServer peer.

The code based on JXTA programmers Guide source 2.5, i just change the configuration only.

sorry if disturb you ,