Date: Sun, 22 Mar 2020 19:57:26 +0100 From: Michael Osipov <1983-01-06@gmx.net> To: Max Peak <max.peak@formindata.com>, freebsd-java@freebsd.org Subject: Re: openjdk11- tomcat9- no ipv6 Message-ID: <02f61978-ba84-8b27-a255-f2f0c929c82d@gmx.net> In-Reply-To: <73ea4b69-619b-cdaf-d690-a50bfed23c35@formindata.com> References: <73ea4b69-619b-cdaf-d690-a50bfed23c35@formindata.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 2020-03-22 um 19:30 schrieb Max Peak: > Greetings freebsd-java gurus, >=20 > I am experiencing some difficulty with the freebsd-openjdk11 port. My=20 > setup is x86machine, freebsd12, tomcat9, openjdk11. >=20 > Tomcat listens to port 8443 for both tcp4 and tcp6 when using openJDK8.= =20 > After a config change (../rc.d/tomcat9) to use openjdk11 instead, tomca= t=20 > listens only for tcp4, not tcp6. >=20 > See freebsd *web and networking=C2=A0 services* forum, thread: *openjdk= 11-=20 > tomcat9- no ipv6* for more detail. Please let me know if there is=20 > anything I can do to help resolve this issue. >=20 > Also, I would be interested in a temporary workaround. While I need the= =20 > OS to work dual-stack (which it does), I only need tomcat to work on tc= p6. Tomcat committer here... There has been some fuzz on users@tomcat.a.o recently on IPv6. There=20 seem also to be an issue with IPv6-mapped IPv4 addresses. I highly doubt that this is a Tomcat issue per s=C3=A9, it is either an O= S or=20 JDK one. Greg knows better about the internals of the C implementation.=20 A general advise is if it does not work with one connector for dual=20 stack. Configure two with the specific addresses. Unfortunately, our entire enterprise network is IPv4 only, therefore I=20 cannot test anything on our servers. Have you actually tried to bind a dual-stack socket with netcat/socat=20 and see whether this works on FreeBSD? Please try and report. Michael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02f61978-ba84-8b27-a255-f2f0c929c82d>