You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Forrest Xia (JIRA)" <ji...@apache.org> on 2009/05/15 09:40:46 UTC

[jira] Created: (GERONIMO-4632) Enable Geronimo to support IPv6 addresses

Enable Geronimo to support IPv6 addresses
-----------------------------------------

                 Key: GERONIMO-4632
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4632
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: Wish List
    Affects Versions: 2.1.5, 2.2
            Reporter: Forrest Xia


Currently, geronimo only accepts IPv4 addresses to function. For IPv6 addresses, such as "::", "::1", Geronimo does not provide support.

Can we enable this in geronimo 2.2 release or certain future release? Thanks!

I opened a discussion session in the mailing list, please check http://www.nabble.com/Does-geronimo-support-IPv6--td22801389s134.html.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4632) Enable Geronimo to support IPv6 addresses

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728011#action_12728011 ] 

Shawn Jiang commented on GERONIMO-4632:
---------------------------------------

Need to monitor IPV6 defects in components that Geronimo are using.


Key	                            Summary
GERONIMO-1078	org.openejb.client.ServerMetadata does not handle IPv6 addresses
DERBY-526	Network Client URL cannot take the IP Address as host name for IPV6 machines
DERBY-283	On IPv6/Ipv4 dual stack windows machines, the network server needs the following jvm properties to be prefixed while starting the server .
AXIS-2710	ipv6 address in endpoint url
AXIS-2784	Having a host name as an ipv6 address (ex : [2001::2002] on which a web service is running) causes problems in Axis
DERBY-4082	Cannot shutdown Network Server on IPv6 machine 'host: loopback6.xxx.xxx.xxx.com is not local to the server'
GERONIMO-4632	Enable Geronimo to support IPv6 addresses
NET-61	[net] FTPClient.listFiles() hangs on Red Hat Linux
http://activemq.apache.org/multicast-watch-out-for-ipv6-vs-ipv4-support-on-your-operating-system-or-distribution-or-network.html	 Multicast - Watch out for IPV6 vs IPV4 support on your operating system or distribution or network


> Enable Geronimo to support IPv6 addresses
> -----------------------------------------
>
>                 Key: GERONIMO-4632
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4632
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Wish List
>    Affects Versions: 2.1.5, 2.2
>            Reporter: Forrest Xia
>            Assignee: Shawn Jiang
>
> Currently, geronimo only accepts IPv4 addresses to function. For IPv6 addresses, such as "::", "::1", Geronimo does not provide support.
> Can we enable this in geronimo 2.2 release or certain future release? Thanks!
> I opened a discussion session in the mailing list, please check http://www.nabble.com/Does-geronimo-support-IPv6--td22801389s134.html.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-4632) Enable Geronimo to support IPv6 addresses

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang reassigned GERONIMO-4632:
-------------------------------------

    Assignee: Shawn Jiang

> Enable Geronimo to support IPv6 addresses
> -----------------------------------------
>
>                 Key: GERONIMO-4632
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4632
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Wish List
>    Affects Versions: 2.1.5, 2.2
>            Reporter: Forrest Xia
>            Assignee: Shawn Jiang
>
> Currently, geronimo only accepts IPv4 addresses to function. For IPv6 addresses, such as "::", "::1", Geronimo does not provide support.
> Can we enable this in geronimo 2.2 release or certain future release? Thanks!
> I opened a discussion session in the mailing list, please check http://www.nabble.com/Does-geronimo-support-IPv6--td22801389s134.html.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4632) Enable Geronimo to support IPv6 addresses

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727936#action_12727936 ] 

Shawn Jiang commented on GERONIMO-4632:
---------------------------------------

A related JIRA.

https://issues.apache.org/jira/browse/GERONIMO-2567

A related FAQ item:

http://cwiki.apache.org/confluence/display/GMOxKB/Remote+admin+using+deployer.jar+fails+to+connect+when+IPv6+is+used

> Enable Geronimo to support IPv6 addresses
> -----------------------------------------
>
>                 Key: GERONIMO-4632
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4632
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Wish List
>    Affects Versions: 2.1.5, 2.2
>            Reporter: Forrest Xia
>            Assignee: Shawn Jiang
>
> Currently, geronimo only accepts IPv4 addresses to function. For IPv6 addresses, such as "::", "::1", Geronimo does not provide support.
> Can we enable this in geronimo 2.2 release or certain future release? Thanks!
> I opened a discussion session in the mailing list, please check http://www.nabble.com/Does-geronimo-support-IPv6--td22801389s134.html.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4632) Enable Geronimo to support IPv6 addresses

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724915#action_12724915 ] 

Shawn Jiang commented on GERONIMO-4632:
---------------------------------------

Most errors I can see are in Tomcat when it trys to use the ipv6 address as a part of ObjectName.    That's because IPV6 address contain ":" which is not allowed as a part of ObjectName.

{noformat}
2009-06-28 09:04:59,859 INFO  [StandardService] Starting service Catalina
2009-06-28 09:04:59,906 ERROR [StandardHost] Host registering failed!
javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
	at javax.management.ObjectName.construct(ObjectName.java:602)
	at javax.management.ObjectName.<init>(ObjectName.java:1403)

..............

2009-06-28 09:04:59,953 INFO  [StandardPipeline] Can't register valve org.apache.catalina.valves.AccessLogValve[[2002:94d:b373::94d:b373]]
javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
	at javax.management.ObjectName.construct(ObjectName.java:602)
	at javax.management.ObjectName.<init>(ObjectName.java:1403)
	at org.apache.catalina.valves.ValveBase.createObjectName(ValveBase.java:330)
	at org.apache.catalina.core.StandardPipeline.registerValve(StandardPipeline.java:297)

.............
2009-06-28 09:04:59,984 WARN  [MapperListener] Error registering contexts
javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
	at javax.management.ObjectName.construct(ObjectName.java:602)
	at javax.management.ObjectName.<init>(ObjectName.java:1403)
	at org.apache.catalina.connector.MapperListener.registerEngine(MapperListener.java:267)
	at org.apache.catalina.connector.MapperListener.init(MapperListener.java:114)
..........
2009-06-28 09:05:06,437 ERROR [StandardContext] Error starting static Resources
javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
	at javax.management.ObjectName.construct(ObjectName.java:602)
	at javax.management.ObjectName.<init>(ObjectName.java:1403)
	at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3960)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4119)
...............
2009-06-28 09:05:06,593 ERROR [ContainerBase] ContainerBase.addChild: start: 
LifecycleException:  java.io.IOException: Context did not start for an unknown reason
	at org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:278)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
....................
2009-06-28 09:05:07,906 INFO  [StandardService] Stopping service Catalina
2009-06-28 09:05:07,937 WARN  [MapperListener] Error unregistering MBeanServerDelegate
javax.management.ListenerNotFoundException: Unknown listener
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.removeNotificationListener(DefaultMBeanServerInterceptor.java:1338)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.removeNotificationListener(DefaultMBeanServerInterceptor.java:1245)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.removeNotificationListener(JmxMBeanServer.java:830)
	at org.apache.catalina.connector.MapperListener.destroy(MapperListener.java:165)
	at org.apache.catalina.connector.Connector.stop(Connector.java:1179)
	at org.apache.catalina.core.StandardService.stop(StandardService.java:593)
{noformat}


To fix this.  We should encode the ipv6 before creating ObjectName in tomcat.   Decode it back when needed.



> Enable Geronimo to support IPv6 addresses
> -----------------------------------------
>
>                 Key: GERONIMO-4632
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4632
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Wish List
>    Affects Versions: 2.1.5, 2.2
>            Reporter: Forrest Xia
>            Assignee: Shawn Jiang
>
> Currently, geronimo only accepts IPv4 addresses to function. For IPv6 addresses, such as "::", "::1", Geronimo does not provide support.
> Can we enable this in geronimo 2.2 release or certain future release? Thanks!
> I opened a discussion session in the mailing list, please check http://www.nabble.com/Does-geronimo-support-IPv6--td22801389s134.html.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.