NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: OpenJDK7/amd64 problems



In article <87hbi2phkw.wl%MarkoSchuetz%web.de@localhost>,
Marko Schütz Schmuck  <MarkoSchuetz%web.de@localhost> wrote:
>-=-=-=-=-=-
>
>Using openjdk7-1.7.0.92.20100521nb1 on NetBSD 5.0.2/amd64 I am
>experiencing some issues related to networking.
>
>For example from i2p logs I see
>
>13:28:02.915 ERROR [JobQueue0   ] org.cybergarage.util.Debug    : 
>java.net.SocketException: Invalid argument
>        at java.net.PlainDatagramSocketImpl.join(Native Method)
>        at
>java.net.AbstractPlainDatagramSocketImpl.joinGroup(AbstractPlainDatagramSocketImpl.java:184)
>        at java.net.MulticastSocket.joinGroup(MulticastSocket.java:385)
>        at org.cybergarage.upnp.ssdp.HTTPMUSocket.open(HTTPMUSocket.java:107)
>        at
>org.cybergarage.upnp.ssdp.SSDPNotifySocket.<init>(SSDPNotifySocket.java:49)
>        at
>org.cybergarage.upnp.ssdp.SSDPNotifySocketList.open(SSDPNotifySocketList.java:67)
>        at org.cybergarage.upnp.ControlPoint.start(ControlPoint.java:814)
>        at org.cybergarage.upnp.ControlPoint.start(ControlPoint.java:875)
>        at net.i2p.router.transport.UPnP.runPlugin(UPnP.java:89)
>        at net.i2p.router.transport.UPnPManager.start(UPnPManager.java:64)
>        at
>net.i2p.router.transport.TransportManager.startListening(TransportManager.java:140)
>        at
>net.i2p.router.transport.CommSystemFacadeImpl.startup(CommSystemFacadeImpl.java:54)
>        at
>net.i2p.router.startup.BootCommSystemJob.runJob(BootCommSystemJob.java:41)
>        at net.i2p.router.JobQueueRunner.runCurrentJob(JobQueueRunner.java:145)
>        at net.i2p.router.JobQueueRunner.run(JobQueueRunner.java:85)
>        at java.lang.Thread.run(Thread.java:717)
>        at net.i2p.util.I2PThread.run(I2PThread.java:77)
>
>Similarly, the freenet logs show:
>
>Failed to run STUN to server stun.xten.com: java.io.IOException: Invalid
>argument - trying another, report if persistent
>java.io.IOException: Invalid argument
>        at java.net.PlainDatagramSocketImpl.send(Native Method)
>        at java.net.DatagramSocket.send(DatagramSocket.java:652)
>        at
>plugins.JSTUN.de.javawi.jstun.test.DiscoveryTest_.test1(DiscoveryTest_.java:102)
>        at
>plugins.JSTUN.de.javawi.jstun.test.DiscoveryTest_.test(DiscoveryTest_.java:70)
>        at plugins.JSTUN.JSTUN.runTest(JSTUN.java:69)
>        at plugins.JSTUN.JSTUN$DetectorThread.run(JSTUN.java:191)
>STUN failed: likely detections=0 unlikely detections=0
>
>I don't know whether it's related but netbeans crashes after the
>splash screen.

Try with -Djava.net.preferIPv4Stack=true

christos



Home | Main Index | Thread Index | Old Index