ICEfaces
  1. ICEfaces
  2. ICE-7426

Add ability to configure getRemoteHost()

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-1.8.2.GA_P03, 2.1-Beta2
    • Fix Version/s: 3.0.RC1, 3.0, EE-1.8.2.GA_P04
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Netscaler load balancer
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      When accessing an application through a Netscaler load balancer, there is a 4-5 second delay which looks to be caused by a call to getRemoteHost. We should provide a configurable mode where getRemoteHost() is not called and a String value for the IP address is used in its place.

        Issue Links

          Activity

          Hide
          Jack Van Ooststroom added a comment -

          To avoid the getRemoteHost() calls to be executed the newly introduced disableRemoteHostLookup context parameter can be used as follows depending on the ICEfaces version.

          ICEfaces 1.8:

          <context-param>
          <param-name>com.icesoft.faces.disableRemoteHostLookup</param-name>
          <param-value>true</param-value>
          </context-param>

          ICEfaces 2:

          <context-param>
          <param-name>org.icepush.disableRemoteHostLookup</param-name>
          <param-value>true</param-value>
          </context-param>

          Marking this one as FIXED.

          Show
          Jack Van Ooststroom added a comment - To avoid the getRemoteHost() calls to be executed the newly introduced disableRemoteHostLookup context parameter can be used as follows depending on the ICEfaces version. ICEfaces 1.8: <context-param> <param-name>com.icesoft.faces.disableRemoteHostLookup</param-name> <param-value>true</param-value> </context-param> ICEfaces 2: <context-param> <param-name>org.icepush.disableRemoteHostLookup</param-name> <param-value>true</param-value> </context-param> Marking this one as FIXED.

            People

            • Assignee:
              Jack Van Ooststroom
              Reporter:
              Tyler Johnson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: