Skip to main content

JXTA can not find existing peers

6 replies [Last post]
lmikhailov
Offline
Joined: 2007-05-22
Points: 0

Hello everybody,

I have created two peers. I am running one on my home ISP provided fast connection. I am also running another one on a hosted linux account. rdvconfig on both accounts shows that both peers are connected to standard randezvous peers. When I do peers -r and later peers both show lists of peers and sometimes these lists have common elements. However it is very rarely that I can see one of my peers from the other one if at all. Is there anything that could be tweaked?

All feedback is very welcome!

Leon

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
learning_jxta
Offline
Joined: 2007-03-21
Points: 0

Which release do you use?

lmikhailov
Offline
Joined: 2007-05-22
Points: 0

I am using jxta-shell-2.4.1.

Leon.

jimbosi
Offline
Joined: 2007-06-14
Points: 0

Hey Leon,
I'm not exactly an expert here, but I had similar problems and it turned out to be a matter of configuration. I found this document to be quite useful:

http://bench.jxta.org/config.html

good luck!
Jim

h1pp0
Offline
Joined: 2007-07-12
Points: 0

Hey jimbosi,
Can you provide link according to the new hosting?

Thanks.

jimbosi
Offline
Joined: 2007-06-14
Points: 0

Hi,

well, I couldn't find the original document since they moved everything around. Thanks SUN!

Anyway, I've got a similar configuration to you (although I've got my own rendezvous server on the net) and I finally realised that you can't ONLY be a rendezvous client, you also need to be a relay client. This seems to be because the Relay part does a bit of routing for you by finding your network gateway and sending things off to the right places.

The only other hint I can give you is to print out your configuration advertisement (I don't know if you can do this from the jxta shell or not) which should show you what services are running for your configuration.

hope that helps!
jim

drrsatzteil
Offline
Joined: 2007-03-23
Points: 0

Actually the RDV peers are responsible for propagating messages over the network (Propagate pipes) and the relay peers transport messages that were sent through Unicastpipes. So you can be either RDV or relay, they just have some different tasks.

You will need a RDV as soon as the different peers are in different networks.If a peer is not directly reachable (Firewall, NAT) you will need a relay to be able to send messages to this peer.

Correct me if I'm wrong ;-)

Thomas