Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-411

RPM Installed Init Script Incorrectly Configures Overide UDP Port Setting

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.2.0.GA, 4.2.0.GA_CP01
    • System
    • None
    • Release Notes
    • Workaround Exists
    • Hide

      Comment the line of the init script that reads "JBOSS_UDP_PORT=${JBOSS_UDP_PORT:-"45566"}", or remove all of the lines specified in the description of this JIRA issue.

      Show
      Comment the line of the init script that reads "JBOSS_UDP_PORT=${JBOSS_UDP_PORT:-"45566"}", or remove all of the lines specified in the description of this JIRA issue.
    • Low

    Description

      The 'jbossas' init script installed by the EAP RPM incorrectly sets the jboss.partition.udpPort system property which overrides the XML settings in the various JGroups protocol stack configurations. It also rendors the other JGroups UDP port properties that are being set useless.

      The effect of this incorrect configuration is that all four cluster channels that exist in EAP 4.2 will see each other and complain about this repeatedly.

      To fix this, all references to the jboss.partition.udpPort system property need to be removed from this file. Specifically, lines 70 and 71:

      #define the jgroups UDP port (multicast) for clustering
      JBOSS_UDP_PORT=${JBOSS_UDP_PORT:-"45566"}

      and lines 153 and 154:

      [ "x$JBOSS_UDP_PORT" != "x" ] && \
      JAVA_OPTS="$JAVA_OPTS -Djboss.partition.udpPort=$JBOSS_UDP_PORT"

      Line numbers may vary based on the specific init file because of manual edits and/or environment differences, but the line text should be the same.

      Attachments

        Activity

          People

            rhn-engineering-dbhole Deepak Bhole
            rhn-support-jawilson Jimmy Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: