ICEfaces
  1. ICEfaces
  2. ICE-6369

ACE: fileEntry use logs serialization warning in log

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 2 Advanced Component, fileEntry

      Description

      The following error is now reported in the server log (ace-showcase):

      Dec 8, 2010 6:12:23 PM com.sun.faces.context.SessionMap put
      WARNING: JSF1063: WARNING! Setting non-serializable attribute value into HttpSession (key: org.icefaces.resource-org.icefaces.component.fileentry.progress.fileform::v8r1tw05.txt, value class: org.icefaces.application.ResourceRegistryHolder).

        Activity

        Ken Fyten created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 2.0.0 [ 10230 ]
        Assignee Priority P2
        Assignee Mark Collette [ mark.collette ]
        Hide
        Mark Collette added a comment -

        In the core, ResourceRegistryHolder needs to be Serializable. As well, on a case by case basis, each of our Resource subclasses needs to be evaluated if they may be marked Serializable, as the Resource abstract class is not. For the ace:fileEntry component, make ProgressResource Serializable.

        Within ResourceRegistryHolder, There could be a transitent and non-transient reference to the Resource, where only one is set, depending if the Resource in question is Serializable, so that it will get serialized, if possible, and not be atempted, otherwise.

        Show
        Mark Collette added a comment - In the core, ResourceRegistryHolder needs to be Serializable. As well, on a case by case basis, each of our Resource subclasses needs to be evaluated if they may be marked Serializable, as the Resource abstract class is not. For the ace:fileEntry component, make ProgressResource Serializable. Within ResourceRegistryHolder, There could be a transitent and non-transient reference to the Resource, where only one is set, depending if the Resource in question is Serializable, so that it will get serialized, if possible, and not be atempted, otherwise.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23490 Mon Dec 13 09:40:32 MST 2010 ted.goddard ResourceRegistryHolder implements Serializable (ICE-6369)
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/application/ResourceRegistry.java
        Ken Fyten made changes -
        Assignee Mark Collette [ mark.collette ] Mircea Toma [ mircea.toma ]
        Ted Goddard made changes -
        Assignee Mircea Toma [ mircea.toma ] Ted Goddard [ ted.goddard ]
        Hide
        Ted Goddard added a comment -

        FileEntry will need to be tested in a cluster with Session replication.

        Show
        Ted Goddard added a comment - FileEntry will need to be tested in a cluster with Session replication.
        Ted Goddard made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23493 Mon Dec 13 12:31:55 MST 2010 ted.goddard ProgressResource implements Serializable (ICE-6369)
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/ace/component/src/org/icefaces/component/fileentry/ProgressResource.java
        Hide
        Ted Goddard added a comment -

        Session passivation results in the following Exception:

        java.io.NotSerializableException: org.icefaces.component.fileentry.ProgressResource
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)

        Show
        Ted Goddard added a comment - Session passivation results in the following Exception: java.io.NotSerializableException: org.icefaces.component.fileentry.ProgressResource at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: