Skip to main content

addRvdSeedingURI method

2 replies [Last post]
newen
Offline
Joined: 2008-01-04

I everybody, I'm sorry if my question has an obvious answer but I'm having problems when I use the method addRvdSeedingURI(). I looked for documentation but I didn't find the answer and I'm stuck with this.
Is there more examples than Programmer guide 2.5 I can access?
I found an example in "http://www.petrovic.org/blog/2006/11/15/a-turnkey-private-jxta-net-demo/"

At this moment I use two workstation for testing:
Workstation01 having the IP 192.168.218.168
Workstation02 having the IP 192.168.218.186

Is this code fragment right?
The object running on my workstation01 use the method addRdvSeedingURI like this:

private void configureJXTA(){
configurator = new NetworkConfigurator();
configurator.setHome(new File(jxtaHome);
configurator.addRdvSeedingURI("tcp://192.168.218.186");
configurator.setUseOnlyRendezvousSeeds(true);
try{
configurator.save();
}catch(Exception e){
e.printStackTrace();
}

}

The object running on my workstation02 use the method addRdvSeedingURI like this:

private void configureJXTA(){
configurator = new NetworkConfigurator();
configurator.setHome(new File(jxtaHome);
configurator.addRdvSeedingURI("tcp://192.168.218.168");
configurator.setUseOnlyRendezvousSeeds(true);
try{
configurator.save();
}catch(Exception e){
e.printStackTrace();
}

}

Thanks in advance for help!!!

Reply viewing options

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

Check this: http://forums.java.net/jive/message.jspa?messageID=259849&tstart=0

You will find seeds for your test applications. This should solve your problem.

Cheers,

J.

newen
Offline
Joined: 2008-01-04

Thanks once again!!! I'll test it!!!