0

I'm trying to monitor BoneCP activities from a Play application. I have added the DB configurations in conf/application.conf

db.default.disableJMX=false
db.default.statisticsEnabled=true

When starting the Play application I added the relevant flags to enable JMX as well

-Dcom.sun.management.jmxremote 
-Dcom.sun.management.jmxremote.port=5678 
-Dcom.sun.management.jmxremote.local.only=false 
-Dcom.sun.management.jmxremote.ssl=false 
-Dcom.sun.management.jmxremote.authenticate=false

Application is starting without an issue, but when I try to connect from jconsole it gives me a "Connection Failed" error.

Are there any other configurations/steps that I need to do in order to get this properly working.

Switch
  • 14,783
  • 21
  • 69
  • 110

0 Answers0