users@glassfish.java.net

Re: IPv6 not working with GlassFish 3.1.2.2 running JDK 6 but works with JDK 7

From: Dipl.-Ing. Torsten Liermann <lier_at_liermann-it.de>
Date: Thu, 20 Sep 2012 14:55:49 +0100

This is a problem in jdk 1.6 for windows. jdk 1.6 does not support
ipv6 in nio. Grizzly use nio. Glassfish use grizzly.

To.



On Thu, 20 Sep 2012 07:14:55 -0500 (CDT)
 forums_at_java.net wrote:
>I'm running GlassFish 3.1.2.2 on Windows Server 2008 R2 using the JDK 6 (u35)
>and it appears GlassFish is not listening any IPv6 ports. So I cloned my VM
>and on it I removed the JDK 6 and installed the JDK 7 (u7). With the same
>configuration, the VM running JDK 7 worked. I also have Axis running with our
>deployments and that worked with IPv6 on both VMs so I believe this is a
>GlassFish issue. I ran "netstat -a" on both VMs and here's what I found: VM
>with JDK6: TCP [::]:8080 TESTVM1:0 LISTENING (This is Axis) VM with JDK7: TCP
>[::]:4848 TESTVM2:0 LISTENING (This is GlassFish) TCP [::]:8080 TESTVM2:0
>LISTENING (This is Axis) *So my question is, has anyone else run into this
>issue?* Most of what I read online talks about disabling IPv6 which I don't
>want to do. I tried changing localhost in the host file, updating the
>domain.xml config file (erred with address="any" or "ANY" or "::" or "[::]"
>etc. None of those fixed the issue on JDK 6. Thank you, David
>
>--
>
>[Message sent by forum member 'ddecesare']
>
>View Post: http://forums.java.net/node/890405
>
>

----
Dipl.-Ing. Torsten Liermann          Tel: +49 151/11565077
Theodolindenplatz 2                   
81545 München                       http://liermann-it.de