Skip to main content

New to Jxta. Can't get it started. Help!!!

1 reply [Last post]
andrew_i
Offline
Joined: 2009-05-06
Points: 0

Hello to all!
I'm very new to this technology and I just can't make it work. I'm trying to make two peers.
The first peer, Peer1 creates a Peer advertisement and publishes it on the network. The second peer, Peer2 should be able to retrieve this advertisement. The only problem is that i couldn't do this. I attached the code

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
boylejohnr
Offline
Joined: 2008-10-27
Points: 0

Sorry, I have only had a quick look at the code and not tried to run compile.

Since there is no Rendevous running they can not find each other unless multicast is enabled. Try enabling (can not remember if default). Also rather than edge use ADHOC , this will start Rendezvous on the local instance is required.

Post back if still issues, also Check out the download code for Practical JXTA, they work and are simple.