I am trying to do performance monitoring of bitbucket staging server and followed instructions on https://confluence.atlassian.com/bitbucketserver0413/enabling-jmx-counters-for-performance-monitoring-873875206.html
Despite following instructions from above, JConsole login window keeps complaining "Connection failed: Connection refused". Not sure why. I tried with FQDN, IP address but in vain.
Please advise
There are a few things to do to make it work:
* start bitbucket with -Djava.rmi.server.hostname=`hostname -f` (Linux)
* if you use ssl, you may have to import your CA's root certificates into the Java trusstore, if you use a corporate CA
* if you use proxy settings, make sure you excluded local traffic, or your proxy can handle JMX
* you may have to configure JMX role to user mappings on the server (jmxpassword.properties)
* use the correct user name when autenticating with JMX
Also make sure that hostname -f actually prints the FQDN of the server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Mike. I tried all what you suggested but in vain.
The host running bitbucket is not behind a firewall.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.