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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • TBD EAP 5
    • EAP_EWP 5.1.0
    • Naming, Server boot
    • None
    • EAP 5.1.0

    • 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
    • Medium
    • Hide
      CAUSE

      CONSEQUENCE

      FIX

      RESULT
      Show
      CAUSE CONSEQUENCE FIX RESULT
    • Not Yet Documented
    • 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.

      Attachments

        Activity

          People

            rhn-support-jawilson Jimmy Wilson
            mkhandek Mugdha Khandekar (Inactive)
            Russell Dickenson Russell Dickenson (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: