javax.management.InstanceAlreadyExistsException: org.mongodb.driver:type=ConnectionPool,clusterId=3,host=localhost,port=27017

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Alexej Kubarev, 1 year ago
org.mongodb.driver:type=ConnectionPool,clusterId=3,host=localhost,port=27017
via spring.io by Unknown author, 1 year ago
org.apache.tomcat.jdbc.pool.jmx:name=dataSourceMBean,type=ConnectionPool
via Stack Overflow by Roman Lapin
, 1 year ago
Catalina:type=DataSource,host=localhost,context=/dir-master,class=javax.sql.DataSource,name="jdbc/dir"
via GitHub by johanandren
, 1 year ago
kafka.consumer:type=app-info,id=testservice-3
via Stack Overflow by Carlos Eduardo
, 2 years ago
org.apache.activemq:BrokerName=localhost,Type=Broker
via Stack Overflow by StFS
, 1 year ago
Tomcat:j2eeType=Servlet,name=gor,WebModule=//localhost/gorserver,J2EEApplication=none,J2EEServer=none
javax.management.InstanceAlreadyExistsException: org.mongodb.driver:type=ConnectionPool,clusterId=3,host=localhost,port=27017
at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
at com.mongodb.JMXConnectionPoolListener.connectionPoolOpened(JMXConnectionPoolListener.java:52)
at com.mongodb.PooledConnectionProvider.(PooledConnectionProvider.java:60)
at com.mongodb.DefaultClusterableServerFactory.create(DefaultClusterableServerFactory.java:50)
at com.mongodb.BaseCluster.createServer(BaseCluster.java:202)
at com.mongodb.SingleServerCluster.(SingleServerCluster.java:45)
at com.mongodb.Clusters.create(Clusters.java:37)
at com.mongodb.DBTCPConnector.start(DBTCPConnector.java:75)
at com.mongodb.Mongo.(Mongo.java:346)
at com.mongodb.Mongo.(Mongo.java:327)
at com.mongodb.MongoClient.(MongoClient.java:268)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 month ago
Once, 4 months ago
4 times, 4 months ago
1270 times, 5 months ago
26 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.