users@glassfish.java.net

Glassfish V2.1.1 not support ipv6£¿

From: xuqingkang2 <xuqingkang2_at_163.com>
Date: Sun, 5 Dec 2010 16:06:21 +0800 (CST)

Hi all:

Sorry,I don't know whether there had been be one same topic about it in this forum.

Do glassfish v2.1.1 support ipv6? I had done following operation.

1,installed ipv6 on my windows 2003 and appended the ipv6's entry into "hosts" file.and [ping ipv6linker/ipv6test] succeeded on another machine.

<ul>

<li>fe80::20c:29ff:fe05:4e45%4 ipv6linker </li>

<li>2::1 ipv6test</li>

</ul>

2,asadmin start-domain

3,code one java main class which using [new Socket("ipv6test",$port)] for testing whether the glassfish's port can be connected. The result is:

Available port are:3820(IIOP SSL Port) 3920(IIOP SSL Port) 8686(JMX-Connector's port)

Unavailable port are:8080 8181 4848 3700

And i try to use jconsole to connect glassfish within URL(service:jmx:rmi:///jndi/rmi://ipv6test:8686/jmxrmi),it succeeded.

<ul> <strong>My questions </strong>are:

<li> >after i change the http-listener's address to ipv6test like following,domain's startup failed due to:Address family not supported by protocol family : bind : 8080.

<http-listener acceptor-threads="1" address="ipv6test" blocking-enabled="false" default-virtual-server="server" enabled="true" family="inet" id="http-listener-1" port="8080" security-enabled="false" server-name="" xpowered-by="true">

<li> >whether glassfish v2.1.1 support ipv6 completely? It is likely that web and ejb container are not supporting ipv6.

<li> >How can i tune glassfish's configure for ipv6, includeing domain.config/java vm properties so forth...

</ul>