Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-17843

stop-bamboo.sh does not work if jmx monitoring is enabled

    XMLWordPrintable

Details

    Description

      Summary

      stop-bamboo.sh does not work if JMX monitoring is enabled.

      Steps to Reproduce

      1. 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
      2. Start Bamboo
      3. 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>

      Attachments

        Activity

          People

            mwent Marek Went (Inactive)
            dlee@atlassian.com Deric Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: