Uploaded image for project: 'Brooklyn'
  1. Brooklyn
  2. BROOKLYN-98

Deploying JBoss6Server to AWS fails: jmx port not open

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.7.0
    • None

    Description

      A customer reported failure when deploying JBoss6Server to aws-ec2 (timeout waiting for service up to be true).

      The `jmx.service.url` is `service:jmx:jmxmp://ec2-54-145-128-228.compute-1.amazonaws.com:31002` (note this is not port 31001).

      The entity also shows the fields:
      `jmx.direct.port.legacy.NOT_USED` on port `31001`
      `jmx.direct.port` on port `31002`.

      The aws security group only opened 31001.

      The problem is caused by the two `PortAttributeSensorAndConfigKey` in `UsesJmx` both pointing at `31001+`. When creating the VM, it only opens the first port in that range (i.e. 31001). However, when actually allocating values to the sensors the first gets 31001 and the second gets 31002. It may be a race which sensor gets which value.

      Attachments

        Activity

          People

            aled.sage Aled Sage
            aled.sage Aled Sage
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: