Uploaded image for project: 'JBoss Remoting'
  1. JBoss Remoting
  2. JBREM-1229

Display recreated InvokerLocator when bind address is 0.0.0.0

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.2.3.SP2, 2.5.2.SP3 (Flounder)
    • Fix Version/s: 2.5.3 (Flounder) , 2.2.3.SP3
    • Component/s: None
    • Labels:
      None

      Description

      Occasionally, the character "_" is used in hostnames, which is illegal, according to http://www.ietf.org/rfc/rfc952.txt. The java.net.URI parser gets confused, and the detectable phenomenon is the replacement of the port with -1.

      When 0.0.0.0 is given as the bind address, org.jboss.remoting.ServerInvoker calls org.jboss.Remoting.InvokerLocator.validateLocator() to create an InvokerLocator with a host accessible over a network. By default, the host name is used, which leads to the problem described above.

      If the system property InvokerLocator.BIND_BY_HOST (actual value "remoting.bind_by_host"), the host address will be used instead, which would work around the problem.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ron_sigal Ronald Sigal
                Reporter:
                ron_sigal Ronald Sigal
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: