IBM Support

PM28251: NotSerializableException: egl.java.FacesContext

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    - Operating System: Microsoft Windows XP
      - Product name: Rational Business Developer 7.5.1.3
    Description of problem:
    NotSerializableException: egl.java.FacesContext
    
    This happens when using HTTP session replication in WebSphere
    Application Server and also when using render parameters
    together with request-scoped faces managed beans in EGL
    portlets.
    
    Step to reproduce:
    1. Enable HTTP Session Replication within WebSphere Application
    Server. Configure a data source where the HTTP sessions will be
    stored, Within Application Servers ? server1 ? Session
    management ? Distributed environment settings, click on the link
    Database, specify the JNDI name of the data source just created
    and enter the credentials
    2. Create an EGL Web project. Create a .jsp file index.jsp if
    necessary
    3. Edit the .jsp file, add a button button1, create a JSF action
    on the Quick Edit tab and add in the .jsp file source code for
    the tag hx:scriptCollector an attribute
    preRender='#{index._preRender}'.
    4. Edit the generated EGL file index.egl for the page so that it
    looks contains this
    ???
    handler index type JSFHandler {onConstructionFunction =
    onConstruction, onPrerenderFunction = onPrerender, view =
    'index.jsp', viewRootVar = viewRoot}
     viewRoot UIViewRoot;
    
     // Function Declarations
     function onConstruction()
     end
     function onPrerender()
      SysLib.writeStdout('onPrerender');
      if (J2EELib.getRequestAttr('var1') != null) //EXCEPTION IS
    HERE
          SysLib.writeStdout('var1=
    '+J2EELib.getRequestAttr('var1'));
      end
     end
     function button1Action()
      SysLib.writeStdout('click on submit');
     end
    end
    ???
    5. Run the page on the server and click the button
    
    Workaround:
    None
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    EGL Java code deployed in a portlet that uses J2EELib may
    fail with an error like "NotSerializableException:
    egl.java.FacesContext".
    

Problem conclusion

  • The problem has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM28251

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-12-06

  • Closed date

    2011-05-06

  • Last modified date

    2011-05-06

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R751 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
06 May 2011