Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.