Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-4404

ActiveMQ connectors default to 0.0.0.0 when ServerHostname is set to localhost or actual IP.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.3
    • 2.1.4, 2.2
    • ActiveMQ
    • Security Level: public (Regular issues)
    • None
    • Patch Available

    Description

      Ron Staerker reported that if you change ServerHostname in config-substitutions.properties from 0.0.0.0 to 127.0.0.1, the default ActiveMQ connectors on 61613 and 61616 will still bind to 0.0.0.0 instead of the new ServerHostname value. This seems to b caused by several pom.xml problems, where:
      <config-property-setting name="ServerUrl">tcp://${PlanServerHostname}:${PlanActiveMQPort}</config-property-setting>
      where PlanServerHostname is 0.0.0.0 and not in config-substitutions.properties
      <attribute name="host">#

      {ServerHostname}

      </attribute>
      is being substituted in at build time to be 0.0.0.0 instead of putting ${ServerHostname} in the plans.

      Attachments

        1. G4404_branch21.patch
          2 kB
          Lin Quan Jiang
        2. G4404_truck.patch
          2 kB
          Lin Quan Jiang

        Activity

          People

            djencks David Jencks
            drwoods Donald Woods
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: