Problem with Blitz on MacBook (MacOS_X)

Christian Hager <[email protected]> Tue, 21 Nov 2006 04:54:22 -0700
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <LISTSERV%[email protected]>
I'm trying to run the Blitz Javaspace on a MacBook running Mac OS X and I
keep getting the following exception. I currently have no idea why because.
I ran the same Code on a Windows XP machine and there it works.
Blitz seems to start normally but when I try to instantiate LookupDiscovery
in my application I get the below error.

lookupDiscovery = new LookupDiscovery (LookupDiscovery.ALL_GROUPS);

Failed to init lookup
java.net.BindException: Address already in use
 at java.net.PlainDatagramSocketImpl.bind0(Native Method)
 at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)
 at java.net.DatagramSocket.bind(DatagramSocket.java:368)
 at java.net.MulticastSocket.<init>(MulticastSocket.java:147)
 at java.net.MulticastSocket.<init>(MulticastSocket.java:112)
 at
net.jini.discovery.LookupDiscovery$AnnouncementListener.<init>(LookupDiscovery.java:1025)
 at net.jini.discovery.LookupDiscovery$10.run(LookupDiscovery.java:3073)
 at java.security.AccessController.doPrivileged(Native Method)
 at net.jini.security.Security$5.run(Security.java:543)
 at java.security.AccessController.doPrivileged(Native Method)
 at net.jini.security.Security.doPrivileged(Security.java:540)
 at net.jini.discovery.LookupDiscovery.beginDiscovery(LookupDiscovery.java:3071)
 at net.jini.discovery.LookupDiscovery.<init>(LookupDiscovery.java:1884)
 at org.ac.computegrid.utils.ServiceFinder.getService(ServiceFinder.java:86)
 at org.ac.computegrid.worker.GenericWorker.<init>(GenericWorker.java:75)
 at org.ac.computegrid.worker.GenericWorker.main(GenericWorker.java:59)

I was hoping anybody here could point me out to what the problem might be.

Thanks in advance for any help.

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