Details

    • Sub-task
    • Resolution: Done
    • Major
    • 6.0.0.M1
    • None
    • System service
    • None

    Description

      I was looking why the server didn't not boot cleanly after the change in the parent issue and it turns out it triggers a bug in Main.ServerConfigUtil.fixRemoteAddressProperty.

      public static void fixRemoteAddressProperty(String systemPropertyName,
      String defaultValue)
      {
      String old = System.getProperty(systemPropertyName);
      if (old == null)
      {
      if (defaultValue != null)

      { String fixed = fixRemoteAddress(old); <<< HERE should be 'defaultValue' instead System.setProperty(systemPropertyName, fixed); }

      }
      else

      { String fixed = fixRemoteAddress(old); System.setProperty(systemPropertyName, fixed); }

      }

      Attachments

        Activity

          People

            dandread1@redhat.com Dimitrios Andreadis
            dandread1@redhat.com Dimitrios Andreadis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: