Re: multiple services in one vm?

Dan Creswell <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
Rikard Elofsson wrote:
> Vinod Johnson - Sun Microsystems skrev:
>> For configuring reggie see the com.sun.jini.reggie package javadocs
>> You must set the 'multicastInterfaces' configuration NetworkInterface[]
>> entry to contain only those NetworkInterfaces that you are interested
>> in. Same goes for LookupDiscovery (or LookupDiscoveryManager).
>>
>> The Configuration object that you pass in must contain a
>> multicastInterfaces entry as described above.
>
> Works perfectly: multicastInterfaces = new NetworkInterface[]
> {NetworkInterface.getByName("eth0")};
>

Sure you know this but it's worth saying:

Just be wary because eth0 might not always be the right/valid interface.

Cheers,

Dan.

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]
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.