Geronimo
  1. Geronimo
  2. GERONIMO-4404

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.1.4, 2.2
    • Component/s: ActiveMQ
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Patch Info:
      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.

      1. G4404_branch21.patch
        2 kB
        Shawn Jiang
      2. G4404_truck.patch
        2 kB
        Shawn Jiang

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            David Jencks
            Reporter:
            Donald Woods
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development