IPv6 not working with GlassFish 22.214.171.124 running JDK 6 but works with JDK 7
I'm running GlassFish 126.96.36.199 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.