geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Jiang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-4632) Enable Geronimo to support IPv6 addresses
Date Sun, 28 Jun 2009 01:38:47 GMT

    [ 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.


Mime
View raw message