javax.management.MalformedObjectNameException: Invalid character ':' in value part of property

JIRA | Dinh Dinh Trong | 3 years ago
  1. 0

    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.

    JIRA | 3 years ago | Dinh Dinh Trong
    javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Handemelindo 1 times, last 3 weeks ago
  2. Andreas Häber 4 times, last 6 months ago
9 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.management.MalformedObjectNameException

    Invalid character ':' in value part of property

    at javax.management.ObjectName.construct()
  2. Java RT
    ObjectName.<init>
    1. javax.management.ObjectName.construct(Unknown Source)
    2. javax.management.ObjectName.<init>(Unknown Source)
    2 frames
  3. org.eclipse.orbit.mongodb_2.10.1.v20130422-1135.jar
    JMXMBeanServer.registerMBean
    1. com.mongodb.util.management.jmx.JMXMBeanServer.createObjectName(JMXMBeanServer.java:66)
    2. com.mongodb.util.management.jmx.JMXMBeanServer.registerMBean(JMXMBeanServer.java:59)
    2 frames
  4. MongoDB Java Driver
    Mongo.<init>
    1. com.mongodb.JMXConnectionPoolListener.connectionPoolOpened(JMXConnectionPoolListener.java:46)
    2. com.mongodb.PooledConnectionProvider.<init>(PooledConnectionProvider.java:60)
    3. com.mongodb.DefaultClusterableServerFactory.create(DefaultClusterableServerFactory.java:50)
    4. com.mongodb.BaseCluster.createServer(BaseCluster.java:207)
    5. com.mongodb.SingleServerCluster.<init>(SingleServerCluster.java:45)
    6. com.mongodb.Clusters.create(Clusters.java:37)
    7. com.mongodb.DBTCPConnector.start(DBTCPConnector.java:75)
    8. com.mongodb.Mongo.<init>(Mongo.java:346)
    9. com.mongodb.Mongo.<init>(Mongo.java:226)
    9 frames