RE: Multiple Peers

"BESSA Sergio Bruno" <[email protected]>
Newsgroups gmane.comp.java.jxta.user
Message-ID <[email protected]>
Hi Vanessa,

 

I know we can have as many peers as we want running on the same machine, as long as they are running on different directories, but on this case I want to run only one application, with several peers. I think it is possible with some recent JXTA version...

 

Thanks,

 

Sergio

 

-----Original Message-----
From: Vanessa Williams [mailto:[email protected]] 
Sent: terça-feira, 16 de Agosto de 2005 12:11
To: [email protected]
Subject: Re: [JXTA user] Multiple Peers

 

Sergio,

 

I can't remember where the documentation is, but the trick is to have each peer use a different working directory (use -DJXTA_HOME=peerhomedir option) and each must use different ports for its transports (you can't have two peers trying to use port 9701 for tcp on the same machine). That's all there is to it.

 

Vanessa

 

 

On 16-Aug-05, at 6:43 AM, BESSA Sergio Bruno wrote:





Hi all,

 

I need help on finding information about multiple peers running in the same java virtual machine. I read somewhere that this was possible but I'm not being able to find the document where I found this information....

Is it really possible to have multiple peers in the same JVM?

Any help is really appreciated.

 

Thank you all.

 

Regards,

 

Sérgio Bessa
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.