Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1093

JMX Exception when registering a connection pool for an IP V6 address

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.0, 3.0.0
    • Affects Version/s: 2.12.0
    • Component/s: Monitoring
    • Environment:
      2.12.0-SNAPSHOT

      I am using mongo 2.12.0-SNAPSHOT to connect IPV6 address. However,
      it shows exception :
      Jan 24, 2014 11:40:55 AM com.mongodb.util.management.jmx.JMXMBeanServer registerMBean
      WARNING: Unable to register MBean org.mongodb.driver:type=ConnectionPool,clusterId=1,host=2001::18,port=27017
      javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
      at javax.management.ObjectName.construct(Unknown Source)
      at javax.management.ObjectName.<init>(Unknown Source)
      at com.mongodb.util.management.jmx.JMXMBeanServer.createObjectName(JMXMBeanServer.java:66)
      at com.mongodb.util.management.jmx.JMXMBeanServer.registerMBean(JMXMBeanServer.java:59)
      at com.mongodb.JMXConnectionPoolListener.connectionPoolOpened(JMXConnectionPoolListener.java:46)
      at com.mongodb.PooledConnectionProvider.<init>(PooledConnectionProvider.java:60)
      at com.mongodb.DefaultClusterableServerFactory.create(DefaultClusterableServerFactory.java:50)
      at com.mongodb.BaseCluster.createServer(BaseCluster.java:207)
      at com.mongodb.SingleServerCluster.<init>(SingleServerCluster.java:45)
      at com.mongodb.Clusters.create(Clusters.java:37)
      at com.mongodb.DBTCPConnector.start(DBTCPConnector.java:75)
      at com.mongodb.Mongo.<init>(Mongo.java:346)
      at com.mongodb.Mongo.<init>(Mongo.java:226)
      ..........

      Please let me known what is the cause ?.And how to fix it ?
      Thanks for your support.

            Assignee:
            craig.wilson@mongodb.com Craig Wilson
            Reporter:
            edamtrong11788 Dinh Dinh Trong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: