Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
5.12.3.1
-
Severity 3 - Minor
-
Description
Summary
stop-bamboo.sh does not work if JMX monitoring is enabled.
Steps to Reproduce
- Enable JMX monitoring by adding -Dcom.sun.management.jmxremote.port=<portNum> to the startup parameters https://confluence.atlassian.com/bamboo0512/monitoring-and-profiling-bamboo-838556863.html
- Start Bamboo
- After Bamboo has started, stop Bamboo using stop-bamboo.sh
Expected Results
Bamboo is stopped
Actual Results
The below exception is thrown:
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: <portNum>; nested exception is: java.net.BindException: Address already in use
Workaround
Stop Bamboo by using kill <pid>