geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Forrest_Xia <>
Subject Re: Does geronimo support IPv6?
Date Fri, 15 May 2009 04:00:30 GMT

Tried on a IPv6 configured linux box, and got these findings, post here
first, later I will open JIRAs:
1. Geronimo does not support IPv6 style IP addresses in its configuration
files, for example, config-substitutions.propertes.
"Does not support" means any IPv6 addresses could not be used in the config
files, otherwise, the server won't start successfully. For example, ::
(equals of IPv4), ::1 (equals of IPv4),
2002:97d:eec3:629:9:123:124:111, etc.

2. Tomcat Little-G has alternative way to open sockets listening on IPv6
address, but full version of geronimo does not work in the same way.
The alternative way is using "ServerHostname=hostname" in, which hostname is mapped to IPv6 address in
/etc/hosts, for example, ::1, then tomcat little-g start successfully and
listen on ipv6address:port, for example,
tcp        0      0 ::1:8009                :::*                    LISTEN     
off (0.00/0/0)
tcp        0      0 ::1:1099                :::*                    LISTEN     
off (0.00/0/0)
tcp        0      0 ::1:9999                :::*                    LISTEN     
off (0.00/0/0)
tcp        0      0 ::1:8080                :::*                    LISTEN     
off (0.00/0/0)

But the the same way does not work with full version of geronimo, and failed
at some modules, for example,

The exception is like this:
org.apache.activemq.util.IdGenerator <clinit>
WARNING: could not generate unique stub
Throwable occurred: sles10sp24xm:

After these tries and some IPv6 study, a rough idea is that using hostname
instead of IP address in codes might be a way to enable geronimo working in
an IPv6 network environment.

Also I found whether setting JAVA_OPTS as below has no impact to tomcat
little-g listening on IPv6 address via hostname mapping. 

I will try to look into this further to make it more clear for us, welcome
any comments, thanks!


View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message