users@glassfish.java.net

How do I configure iiop listener for ipv6

From: Dipl.-Ing. Torsten Liermann <lier_at_liermann-it.de>
Date: Thu, 06 Oct 2011 13:32:01 +0200

Hi,

on my glassfish installation there are net services like jmx, jms listening on all ipv4 and ipv6 interfaces:

TCP 0.0.0.0:8686 0.0.0.0:0 LISTEN
TCP [::]:8686 [::]:0 LISTEN

TCP 0.0.0.0:7676 0.0.0.0:0 LISTEN
TCP [::]:7676 [::]:0 LISTEN

How do I have to setup the iiop listener for ipv6 and ipv4?

A configuration like:

<iiop-listener
   port="3700"
   id="orb-listener-1"
   address="0.0.0.0"
   lazy-init="true"></iiop-listener>

will only bind the iiop listener on all ipv4 interfaces.

When I try an address syntax like "[::]" or "::" it does not work.

Thanks for a hint
Torsten