Multiple JavaSpaces (Blitz 1.29) from same configuration files?

Linda Briesemeister <[email protected]> Wed, 13 Jun 2007 16:54:48 -0700
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
Hello everyone,

After banging my head against the wall and almost being ready to give
up, I'd thought I give this mailing list a try.  I'm using Blitz 1.29
pretty much out-of-the box, having it installed with the
"installer_pj_1_29.jar" and then only adjusting the start-
blitz.config file to run Blitz in transient mode:

titanium:~/jini2_1/space linda$ diff config/start-blitz.config config/
start-blitz_ORIGINAL.config
40c40
<             blitzRoot, "config/transient-blitz.config"});
---
 >             blitzRoot, "config/blitz.config"});

To run the Blitz server, I simply do (where ~/jini2_1/space is
$BLITZ_HOME):

titanium:~/jini2_1/space linda$ java -Djava.security.policy=policy/
policy.all -jar $JINI_HOME/lib/start.jar config/start-blitz.config

Now we want to run multiple Blitz servers in our testbed and naively,
I thought I'd get by just overriding the name setting like this:

titanium:~/jini2_1/space linda$ java -Djava.security.policy=policy/
policy.all -jar $JINI_HOME/lib/start.jar config/start-blitz.config
org.dancres.blitz.name=Blitz_JavaSpace0

and in another terminal:

titanium:~/jini2_1/space linda$ java -Djava.security.policy=policy/
policy.all -jar $JINI_HOME/lib/start.jar config/start-blitz.config
org.dancres.blitz.name=Blitz_JavaSpace1

But no luck, as the second server complains about ports being already
bound.  Is there an easy way to make two Blitz instances run without
much change to the configuration files?

Thanks,
Linda

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html