users@glassfish.java.net

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

From: <forums_at_java.net>
Date: Thu, 20 Sep 2012 07:14:55 -0500 (CDT)

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