Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      All

      Description

      File uploading in WebMC seems to work less well than in component-showcase. This is for application level fixes or work-arounds that can be done to alleviate the problem.

        Issue Links

          Activity

          Hide
          Mark Collette added a comment -

          ICE-3206 deals with the problem where Ted was uploading the same file again, and it failed with a zip file exception, due to deleting the new file when trying to delete the old file.

          Mandeep emailed me that my experimental code to throttle progress notifications in the UploadServer seemed to help. So, I'm going to do this at the application level, by throttling the server pushes to less than one per second.

          Also, there was this exception, which didn't break the upload, indicating we're using component level bindings to session scoped beans. We should try to remove those.

          Also 4 out of 24 times the file upload worked but following was seen in the log file

          [#|2008-06-18T15:16:28.123-0600|WARNING|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=22;_ThreadName=Render Thread - 3;_RequestID=61a67afa-a2b9-4fe3-bac3-39e99741e4ec;|executePhase(RESTORE_VIEW 1,com.icesoft.faces.context.BridgeFacesContext@10df8c7) threw exception
          javax.el.PropertyNotFoundException: /WEB-INF/inc/participants.jspx @73,51 binding="#

          {participant.participantsTable}

          ": Target Unreachable, identifier 'participant' resolved to null
          at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:95)
          at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:244)
          at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:249)
          at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:249)

          Show
          Mark Collette added a comment - ICE-3206 deals with the problem where Ted was uploading the same file again, and it failed with a zip file exception, due to deleting the new file when trying to delete the old file. Mandeep emailed me that my experimental code to throttle progress notifications in the UploadServer seemed to help. So, I'm going to do this at the application level, by throttling the server pushes to less than one per second. Also, there was this exception, which didn't break the upload, indicating we're using component level bindings to session scoped beans. We should try to remove those. Also 4 out of 24 times the file upload worked but following was seen in the log file [#|2008-06-18T15:16:28.123-0600|WARNING|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=22;_ThreadName=Render Thread - 3;_RequestID=61a67afa-a2b9-4fe3-bac3-39e99741e4ec;|executePhase(RESTORE_VIEW 1,com.icesoft.faces.context.BridgeFacesContext@10df8c7) threw exception javax.el.PropertyNotFoundException: /WEB-INF/inc/participants.jspx @73,51 binding="# {participant.participantsTable} ": Target Unreachable, identifier 'participant' resolved to null at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:95) at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:244) at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:249) at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:249)
          Hide
          Mark Collette added a comment -

          Added the application level render manager throttling from progress events.

          Subversion 16951
          ossrepo\projects\webmc\src\com\icesoft\faces\presenter\presentation\Presentation.java

          Show
          Mark Collette added a comment - Added the application level render manager throttling from progress events. Subversion 16951 ossrepo\projects\webmc\src\com\icesoft\faces\presenter\presentation\Presentation.java

            People

            • Assignee:
              Unassigned
              Reporter:
              Mark Collette
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: