ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-259

Add ICEfaces EE Support for WebSphere Portal 7

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EE-3.0.0.GA
    • Component/s: Release
    • Labels:
      None
    • Environment:
      ICEfaces EE 2.0.0, WebSphere Portal 7, PortletFacesBridge
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      This JIRA is to certify and document support for using ICEfaces EE 2 with WebSphere Portal 7.

      1. The existing ICEfaces 2 portlet samples should be tested successfully with WebSphere Portal 7.
      2. The instructions for using ICEfaces with WebSphere 7 should be documented and added to the ICEfaces EE Wiki on this page: http://wiki.icesoft.com/display/IFEE2/WebSphere+Portal+7

      See the following existing Portlet docs as a reference:

      - ICEfaces 2 Portlets doc: http://wiki.icefaces.org/display/ICE/Portlet+Development
      - Existing ICEfaces EE 1.8 WebSphere Portal Docs: http://wiki.icesoft.com/display/ICEboxDev/Configuring+WebSphere+6.1.0.1+Portal

        Issue Links

          Activity

          Hide
          Deryk Sinotte added a comment -

          Assigning to Greg who is currently working on support for this feature.

          Show
          Deryk Sinotte added a comment - Assigning to Greg who is currently working on support for this feature.
          Hide
          Greg Dick added a comment -

          http://jira.icefaces.org/browse/ICE-7807 ELExpression stack overflow on logout
          http://jira.icefaces.org/browse/PUSH-162 Various uncaught exceptions thrown in Push environment
          http://jira.icefaces.org/browse/ICE-7790 Cookie problem with myfaces (fixed)
          http://jira.icefaces.org/browse/ICE-7791 IllegalStateExceptions changing character encoding

          More as they are discovered

          Show
          Greg Dick added a comment - http://jira.icefaces.org/browse/ICE-7807 ELExpression stack overflow on logout http://jira.icefaces.org/browse/PUSH-162 Various uncaught exceptions thrown in Push environment http://jira.icefaces.org/browse/ICE-7790 Cookie problem with myfaces (fixed) http://jira.icefaces.org/browse/ICE-7791 IllegalStateExceptions changing character encoding More as they are discovered
          Hide
          Greg Dick added a comment -

          A couple new issues:

          http://jira.icesoft.org/browse/ICE-7875 (Setting the response code in the wrong place PortletFacesBridge)
          http://jira.icefaces.org/browse/ICE-7874 (Exception returned by server in Data Exporter)

          Show
          Greg Dick added a comment - A couple new issues: http://jira.icesoft.org/browse/ICE-7875 (Setting the response code in the wrong place PortletFacesBridge) http://jira.icefaces.org/browse/ICE-7874 (Exception returned by server in Data Exporter)
          Hide
          Greg Dick added a comment -

          Additional links

          Show
          Greg Dick added a comment - Additional links
          Hide
          Greg Dick added a comment -

          The problems encountered in WSP 7 environment consisted of managing a couple of bugs in MyFaces, a bug in the PortletFaces Bridge code, a problem with our push product using Threads that couldn't inherit MyFaces Portlet context ThreadLocal Variables, and various problems with some of ICEFaces resource code that wasn't encoding URLs properly for IBM's URL munging environment.

          Several issues clouded debugging this issue. There were a few spots in the push code where exceptions were silently caught and rethrown. One of these places was in a TimerTask, which is a no-no as it stops the Task from being rescheduled. This stopped the blocking connection from returning a <noop/> response if there were no responses pending.

          Another issue was trying to determine the place within the code that was throwing the exception since WebSphere doesn't fill in stack traces from inside its own code. We managed to get Idea to stop at a breakpoint when an IllegalStateException was thrown and to get a stack trace via the debugger. This is how we managed to find the spot in the IBM code where it was throwing the exception.

          Early on it looked like the push code with the various push and viewIds was a problem, but those symptoms turned out to be related to missing functionality caused by the exceptions from using threads. It looks like that group notification code is pretty sound at this stage. Part of that difficulty was understanding which request was what, given WebSphere's URL mangling process. It wasn't clear that all the requests passed through the Portlet ResourceHandlerImpl, but they do, and it's easy to put the cleartext URL into a header so that it can be read while looking through the network traffic log. Then we were able to identify the problems with the missing resources.

          Show
          Greg Dick added a comment - The problems encountered in WSP 7 environment consisted of managing a couple of bugs in MyFaces, a bug in the PortletFaces Bridge code, a problem with our push product using Threads that couldn't inherit MyFaces Portlet context ThreadLocal Variables, and various problems with some of ICEFaces resource code that wasn't encoding URLs properly for IBM's URL munging environment. Several issues clouded debugging this issue. There were a few spots in the push code where exceptions were silently caught and rethrown. One of these places was in a TimerTask, which is a no-no as it stops the Task from being rescheduled. This stopped the blocking connection from returning a <noop/> response if there were no responses pending. Another issue was trying to determine the place within the code that was throwing the exception since WebSphere doesn't fill in stack traces from inside its own code. We managed to get Idea to stop at a breakpoint when an IllegalStateException was thrown and to get a stack trace via the debugger. This is how we managed to find the spot in the IBM code where it was throwing the exception. Early on it looked like the push code with the various push and viewIds was a problem, but those symptoms turned out to be related to missing functionality caused by the exceptions from using threads. It looks like that group notification code is pretty sound at this stage. Part of that difficulty was understanding which request was what, given WebSphere's URL mangling process. It wasn't clear that all the requests passed through the Portlet ResourceHandlerImpl, but they do, and it's easy to put the cleartext URL into a header so that it can be read while looking through the network traffic log. Then we were able to identify the problems with the missing resources.

            People

            • Assignee:
              Greg Dick
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: