Trying to disable Multicast to run multiple JavaSpace's

timur mehrvarz <[email protected]>
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
Hello,

we're trying to disable multicast traffic, so that we can run two (or
more) JavaSpaces in parallel - in the same LAN.

Despite the fact that we have disabled multicast usage (zero length
array for multicastInterfaces), JINI discovers all configured
interfaces:

  [.....]
  Mar 22, 2005 11:23:16 AM com.sun.jini.reggie.RegistrarImpl init
  CONFIG: multicast disabled
  Mar 22, 2005 11:23:16 AM net.jini.config.AbstractConfiguration
getEntryInternal
  [.....]

Obviously, multicast is disabled. Nevertheless:

  root@wherever#snoop -d qfe3 net 224.0.1.84 or net 224.0.1.85
  Using device /dev/qfe (promiscuous mode)
   wherever-qfe3 -> JINI-ANNOUNCEMENT.MCAST.NET IP  D=224.0.1.84
S=10.215.203.68 LEN=28, ID=9325
            app1 -> JINI-ANNOUNCEMENT.MCAST.NET IP  D=224.0.1.84
S=10.215.203.66 LEN=28, ID=40772
            app1 -> JINI-ANNOUNCEMENT.MCAST.NET IP  D=224.0.1.84
S=10.215.203.66 LEN=28, ID=40773

Multicast announcements are being sent out.

Is there any way to totally disable the multicast traffic?

Cheers,
Timur


Startup: ===
#!/bin/sh
/apps/java/j2sdk/current/bin/java
-Djava.util.logging.config.file=reggie.log.properties
-Djava.security.policy=services.all.policy
-Djsk.lib=/apps/jini/jini2_0_002/lib -jar
/apps/jini/jini2_0_002/lib/start.jar t1.config
===


transient-reggie.config: ===
import net.jini.jeri.BasicILFactory;
import net.jini.jeri.BasicJeriExporter;
import net.jini.jeri.tcp.TcpServerEndpoint;

com.sun.jini.reggie {

     multicastInterfaces = new java.net.NetworkInterface[]{};
     initialMemberGroups = new String[] { "cb-member-group" };
}
===

===========================================================================
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

JDC members can download the JavaSpaces(tm) Technology from:
http://developer.java.sun.com/developer/products/jini/
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.