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

EAP 5.1.0 - Server ports 1098 and 1099 bind to 0.0.0.0 instead of address mentioned when white space added after <parameter> tag in jboss-service.xml

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: EAP_EWP 5.1.0
    • Fix Version/s: TBD EAP 5
    • Component/s: Naming, Server boot
    • Labels:
      None
    • Environment:

      EAP 5.1.0

    • Steps to Reproduce:
      Hide

      1. In jboss-service.xml, change

      <parameter><null/></parameter>

      to

      <parameter>
      <null/>
      </parameter>

      2. Start the server with :

      ./run.sh -c all -b 10.65.193.112

      3. Take netstat results.

      We can see that ports 1099 and 1098 are bound to 0.0.0.0

      Show
      1. In jboss-service.xml, change <parameter><null/></parameter> to <parameter> <null/> </parameter> 2. Start the server with : ./run.sh -c all -b 10.65.193.112 3. Take netstat results. We can see that ports 1099 and 1098 are bound to 0.0.0.0
    • Estimated Difficulty:
      Medium
    • Release Notes Text:
      Hide
      CAUSE

      CONSEQUENCE

      FIX

      RESULT
      Show
      CAUSE CONSEQUENCE FIX RESULT
    • Release Notes Docs Status:
      Not Yet Documented
    • Docs QE Status:
      NEW

      Description

      In the jboss-service.xml:

      When whitespace added i.e.,

      if the line

      <parameter><null/></parameter>

      is changed to

      <parameter>
      <null/>
      </parameter>

      The bind address is seen as empty and binding occurs on all addresses.

      Netstat results:

      tcp 0 0 0.0.0.0:1098 0.0.0.0:* LISTEN 12901/java
      tcp 0 0 0.0.0.0:1099 0.0.0.0:* LISTEN 12901/java

      When whitespace removed(default file):

      <parameter><null/></parameter>

      tcp 0 0 10.65.193.112:1098 0.0.0.0:* LISTEN 13782/java
      tcp 0 0 10.65.193.112:1099 0.0.0.0:* LISTEN 13782/java

      Binding occurs on same address mentioned.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jiwils Jimmy Wilson
                Reporter:
                mkhandek Mugdha Khandekar
                Writer:
                Russell Dickenson
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: