Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2014 08:53:02 -0600
From:      Dan Daley <dddaley@yahoo.com>
To:        Craig Rodrigues <rodrigc@FreeBSD.org>
Cc:        freebsd-net@freebsd.org, jenkins-admin@freebsd.org, "freebsd-java@freebsd.org" <freebsd-java@freebsd.org>
Subject:   Re: java.net.PlainDatagramSocketImpl.join(Native Method), invalid argument
Message-ID:  <43F3B96E-0BC7-4BEA-BAAF-CD43E69B1152@yahoo.com>
In-Reply-To: <CAG=rPVcbgJUy9vEOOC6uoExKgc-v6M8-itEjkYYaYSmwk_MTaQ@mail.gmail.com>
References:  <CAG=rPVcbgJUy9vEOOC6uoExKgc-v6M8-itEjkYYaYSmwk_MTaQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

I ran into this issue about a year and a half ago.  If this is the same =
issue, it had something to do with the way an IPv4 address is bound to =
IPv6. =20
I also ran into the issue on some older flavors of linux, though it =
seems that the issue didn't happen on newer flavors.

Sorry, I don't remember more details now.  But, maybe someone else can =
shed more light on the IPv4/IPv6 issue with UDP in Java.


On Feb 22, 2014, at 10:45 PM, Craig Rodrigues <rodrigc@FreeBSD.org> =
wrote:

> Hi,
>=20
> I can reproduce the following problem pretty easily
> on FreeBSD 9, 10, CURRENT.
>=20
> (1)  Install the devel/jenkins port
>=20
> (2)  Run:
>=20
> service jenkins onestart
>=20
> (3)  In /var/log/jenkins.log, I see a traceback:
>=20
> WARNING: UDP handling problem
> java.net.SocketException: Invalid argument
>        at java.net.PlainDatagramSocketImpl.join(Native Method)
>        at
> =
java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketI=
mpl.java:168)
>        at java.net.MulticastSocket.joinGroup(MulticastSocket.java:300)
>        at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:76)
> Feb 22, 2014 5:21:00 PM hudson.WebAppMain$3 run
>=20
>=20
>=20
> I reported this bug against Jenkins:
>=20
> https://issues.jenkins-ci.org/browse/JENKINS-21727
>=20
>=20
> but now I suspect that this is a FreeBSD bug or
> implementation with respect to multicast.
>=20
>=20
> Can someone help me debug this and isolate the problem?
> It's been a while since I've debugged Java code.
>=20
> Thanks.
> --
> Craig
> _______________________________________________
> freebsd-java@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to =
"freebsd-java-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43F3B96E-0BC7-4BEA-BAAF-CD43E69B1152>