This page last changed on Jan 04, 2015 by rberg.

I just found out that the UDPListener is not working in Linux.
It works fine in Windows and OS X.

I have tested with Java 6, 7 and 8 in Linux (Ubuntu) and definitely it doesn't work
The same bin, running in Windows Java 7 OR OS X java 8 works fine.

In Linux the problem seems to be with IPV4,
I can see with netstat -naup the UDP port 7001 (in my case) is open for IPV6 but the same port is not open for IPV4.

udp 0 0 0.0.0.0:4520 0.0.0.0:* 1456/asterisk
udp 0 0 0.0.0.0:4569 0.0.0.0:* 1456/asterisk
udp 0 0 0.0.0.0:631 0.0.0.0:* 12881/cups-browsed
udp 0 0 0.0.0.0:60028 0.0.0.0:* 575/transmission-da
udp 0 0 0.0.0.0:55934 0.0.0.0:* 12710/avahi-daemon:
udp 0 0 0.0.0.0:47752 0.0.0.0:* 575/transmission-da
udp 0 0 0.0.0.0:10000 0.0.0.0:* 1693/perl
udp 0 0 0.0.0.0:5000 0.0.0.0:* 1456/asterisk
udp 0 0 0.0.0.0:5060 0.0.0.0:* 1456/asterisk
udp 0 0 10.0.1.255:137 0.0.0.0:* 617/nmbd
udp 0 0 10.0.1.100:137 0.0.0.0:* 617/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 617/nmbd
udp 0 0 10.0.1.255:138 0.0.0.0:* 617/nmbd
udp 0 0 10.0.1.100:138 0.0.0.0:* 617/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 617/nmbd
udp 0 0 0.0.0.0:51413 0.0.0.0:* 575/transmission-da
udp 0 0 0.0.0.0:5353 0.0.0.0:* 12710/avahi-daemon:
udp6 0 0 :::10000 :::* 31063/java
udp6 0 0 :::7001 :::* 31063/java
udp6 0 0 :::42872 :::* 12710/avahi-daemon:
udp6 0 0 :::4001 :::* 31063/java
udp6 0 0 :::4002 :::* 31063/java
udp6 0 0 :::5353 :::* 12710/avahi-daemon:
udp6 0 0 :::3333 :::* 31063/java

Edited:
Just tested in Raspbian java 1.7 and worked.
Ubuntu in 64bits java.. raspbian in 32bits.
I'll try in Ubuntu 32bits.

UDPListener is working fine with Pro1.1 for me on Synology DS212+ NAS (linux). I had some initial problems, but those disappeared after a couple of restarts of my synology and raspberry (the UDP sender).

Posted by pz1 at Jan 05, 2015 11:35

It is working now in Ubuntu with Java 1.7 (won't work with Java 1.8 as in OS X)
The problem was when I set the system to default JRE 6 or & it still for some reason pointing to Java 8.
I've exported JRE_HOME to the correct path.

Still interesting fact it works with java 1.8 in OS X like a charm.

The annoying "Unable to retrieve controller identity" still in Ubuntu with Java 1.7

Posted by rberg at Jan 05, 2015 11:39
Document generated by Confluence on Jun 05, 2016 09:38