We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d0e704 commit 320b82dCopy full SHA for 320b82d
src/main/com/mongodb/DBPortPool.java
@@ -90,9 +90,12 @@ DBPortPool get( ServerAddress addr ){
90
}
91
MBeanServerFactory.getMBeanServer().registerMBean(p, on);
92
} catch (JMException e) {
93
- Bytes.LOGGER.log(Level.WARNING, "jmx registration error: " + e + " continuing...");
+ Bytes.LOGGER.log(Level.WARNING, "JMX registration error: " + e +
94
+ "\nConsider setting com.mongodb.MongoOptions.alwaysUseMBeans property to true." +
95
+ "\nContinuing...");
96
} catch (java.security.AccessControlException e) {
97
98
99
100
101
0 commit comments