Re: Generating JXTA_HOME directories for multiple peers for testing purposes
Mohamed Abdelaziz <[email protected]> Wed, 10 May 2006 10:26:55 -0700
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
you should look at the new tutorials under the platform http://platform.jxta.org/source/browse/platform/binding/java/tutorials/ Mohamed Igor Mekterovic wrote: > Hi all, > > I would like to run hundreds and/or thousands of peers on local machine(and > other machines in LAN). > > AFAIK, to have multiple peers running on the same computer every peer > instance has to have it's own JXTA_HOME directory and: > > - peers must have different names (not sure about this) > - peers must run on different ports > > > I've been reading source code of http://bench.jxta.org/ and I can see that > they only set peer name and not the port. Furthermore, in readme.txt it is > said: > ------- > Notes on running the Load Tests > .. > This will launch three peers in separate subdirs - p0, p1 and p2. You > should name the three peers p0, p1 and p2 in the configuration dialogs > for the three peers that will popup one after the other. > ... > ------- > > I don't want to set those ports by hand in the popups for hundreds of peers. > > Finnaly the question: > - Is there a way to generate JXTA_HOME directories for multiple peers > programmatically? Is there a way to generate "empty" JXTA_HOME dirs with > different names and ports? > > - And, while we're on the subject, does anybody have any experience with > running multiple peers on the same PC, e.g. how many peers were you able to > run on what confuguration? > > Thanks in advance, > > Igor > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >