ICEfaces
  1. ICEfaces
  2. ICE-6044

getRemoteAddr() method is not available for PortletRequests

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta1
    • Fix Version/s: 2.0-Beta2, 2.0.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces 2 portlets portal

      Description

      In the ThreadBlockingAdaptingServlet.blockUntilRespond() method, if no response is made, we release the semaphore and log a warning message. That message includes a call to the request.getRemoteAddr() method. However, if the request is a PortletRequest (rather than a ServletRequest), that method is not available and the logging call throws and exception.

        Activity

        Hide
        Deryk Sinotte added a comment -

        Adjusted the class to check the type of the request and use an "unknown" value if running in a portlet environment.

        Show
        Deryk Sinotte added a comment - Adjusted the class to check the type of the request and use an "unknown" value if running in a portlet environment.

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: