Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3838

Portlet Save State throws serialization error with model driven

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3.3
    • Fix Version/s: 2.5.x
    • Component/s: Plugin - Portlet
    • Labels:
      None
    • Environment:

      Pluto Portal Version: 1.1.7
      Servlet Container: Apache Tomcat/6.0.33 (cluster)
      Java Version: 1.6.0_29 (Sun Microsystems Inc. - Java HotSpot(TM) 64-Bit Server VM build 20.4-b02)

      Description

      Portlets running with the model driven interface are storing non serialized classes in the ognlvalue stack. The value stack is saved in the session in the saveStack method for the portlet state interceptor.

      My Portlets that do not use model driven seem to have no serialization issues.

      Sample application to replicate: https://github.com/ctwomey1/Struts2PortletExample

      I have replicated this problem in a simple tomcat cluster (2 nodes using a simple config, with pluto as the portal environment). As well as in an IBM WAS /Vignette portal combo.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ctwomey Chester Twomey
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: