glassfish
  1. glassfish
  2. GLASSFISH-1425

Catalina's (de)serialization mechanism for HTTP sessions does not support StandardSession subclasses

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 9.1pe
    • Fix Version/s: 9.1pe_dev
    • Component/s: web_container
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Sun

    • Issuezilla Id:
      1,425
    • Status Whiteboard:
      Hide

      fixed-pwc12

      Show
      fixed-pwc12

      Description

      Catalina's (de)serialization mechanism for HTTP sessions does not follow
      standard serialization contracts and makes it hard if not impossible for
      o.a.c.session.StandardSession subclasses to have additional data serialized.

      This functionality is needed for (de)serializing in-memory replicated sessions.

        Activity

        Hide
        jluehe added a comment -

        Fixed:

        Checking in FileStore.java;
        /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/FileStore.java,v
        <-- FileStore.java
        new revision: 1.3; previous revision: 1.2
        done
        Checking in JDBCStore.java;
        /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/JDBCStore.java,v
        <-- JDBCStore.java
        new revision: 1.4; previous revision: 1.3
        done
        Checking in StandardManager.java;
        /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/StandardManager.java,v
        <-- StandardManager.java
        new revision: 1.12; previous revision: 1.11
        done
        Checking in StandardSession.java;
        /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/StandardSession.java,v
        <-- StandardSession.java
        new revision: 1.23; previous revision: 1.22
        done
        Checking in StoreBase.java;
        /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/StoreBase.java,v
        <-- StoreBase.java
        new revision: 1.7; previous revision: 1.6
        done

        Show
        jluehe added a comment - Fixed: Checking in FileStore.java; /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/FileStore.java,v <-- FileStore.java new revision: 1.3; previous revision: 1.2 done Checking in JDBCStore.java; /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/JDBCStore.java,v <-- JDBCStore.java new revision: 1.4; previous revision: 1.3 done Checking in StandardManager.java; /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/StandardManager.java,v <-- StandardManager.java new revision: 1.12; previous revision: 1.11 done Checking in StandardSession.java; /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/StandardSession.java,v <-- StandardSession.java new revision: 1.23; previous revision: 1.22 done Checking in StoreBase.java; /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/StoreBase.java,v <-- StoreBase.java new revision: 1.7; previous revision: 1.6 done
        Hide
        jluehe added a comment -

        Incremental fix: Now that standard deserialization is used by default, make sure
        that any transient fields that are instantiated at construction time are also
        instantiated during "readObject".

        Show
        jluehe added a comment - Incremental fix: Now that standard deserialization is used by default, make sure that any transient fields that are instantiated at construction time are also instantiated during "readObject".
        Hide
        jluehe added a comment -

        Checking in StandardSession.java;
        /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/StandardSession.java,v
        <-- StandardSession.java
        new revision: 1.24; previous revision: 1.23
        done

        Show
        jluehe added a comment - Checking in StandardSession.java; /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/StandardSession.java,v <-- StandardSession.java new revision: 1.24; previous revision: 1.23 done
        Hide
        kmeduri added a comment -

        Merged the fix to PWC12Dev_Branch:

        Checking in
        appserv-webtier/src/java/org/apache/catalina/session/FileStore.java;/cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/FileStore.java,v
        <-- FileStore.java
        new revision: 1.2.16.1; previous revision: 1.2
        done
        Checking in
        appserv-webtier/src/java/org/apache/catalina/session/JDBCStore.java;/cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/JDBCStore.java,v
        <-- JDBCStore.java
        new revision: 1.3.16.1; previous revision: 1.3
        done
        Checking in
        appserv-webtier/src/java/org/apache/catalina/session/StandardManager.java;
        /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/StandardManager.java,v
        <-- StandardManager.java
        new revision: 1.9.6.2; previous revision: 1.9.6.1
        done
        Checking in
        appserv-webtier/src/java/org/apache/catalina/session/StandardSession.java;
        /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/StandardSession.java,v
        <-- StandardSession.java
        new revision: 1.18.6.2; previous revision: 1.18.6.1
        done
        Checking in
        appserv-webtier/src/java/org/apache/catalina/session/StoreBase.java;/cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/StoreBase.java,v
        <-- StoreBase.java
        new revision: 1.6.16.1; previous revision: 1.6
        done

        Show
        kmeduri added a comment - Merged the fix to PWC12Dev_Branch: Checking in appserv-webtier/src/java/org/apache/catalina/session/FileStore.java;/cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/FileStore.java,v <-- FileStore.java new revision: 1.2.16.1; previous revision: 1.2 done Checking in appserv-webtier/src/java/org/apache/catalina/session/JDBCStore.java;/cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/JDBCStore.java,v <-- JDBCStore.java new revision: 1.3.16.1; previous revision: 1.3 done Checking in appserv-webtier/src/java/org/apache/catalina/session/StandardManager.java; /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/StandardManager.java,v <-- StandardManager.java new revision: 1.9.6.2; previous revision: 1.9.6.1 done Checking in appserv-webtier/src/java/org/apache/catalina/session/StandardSession.java; /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/StandardSession.java,v <-- StandardSession.java new revision: 1.18.6.2; previous revision: 1.18.6.1 done Checking in appserv-webtier/src/java/org/apache/catalina/session/StoreBase.java;/cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/session/StoreBase.java,v <-- StoreBase.java new revision: 1.6.16.1; previous revision: 1.6 done
        Hide
        kmeduri added a comment -

        CCed kmeduri

        Show
        kmeduri added a comment - CCed kmeduri

          People

          • Assignee:
            jluehe
            Reporter:
            jluehe
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: