IBM Support

PI39795: JNDI Contexts in the java:* namespaces are not serializable

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • JNDI Contexts (i.e. javax.naming.Context) in the java:*
    namespaces - java:global, java:app, java:module, and
    java:comp - are not serializable.  This can particularly be
    a problem for stateful session EJBs which would need to be
    able to passivate with a java:* Context for a field instance
    variable. The result would be a NotSerializableException
    which would prevent the EJB from passivating.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile - JNDI               *
    ****************************************************************
    * PROBLEM DESCRIPTION: JNDI Contexts in the java:* namespaces  *
    *                      are not serializable                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    JNDI Contexts (i.e. javax.naming.Context) in the java:*
    namespaces - java:global, java:app, java:module, and java:comp -
    are not serializable.  This can particularly be a problem for
    stateful session EJBs which would need to be able to passivate
    with a java:* Context for a field instance variable.  The result
    would be a NotSerializableException which would prevent the EJB
    from passivating.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI39795

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-04-27

  • Closed date

    2015-05-07

  • Last modified date

    2015-08-13

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • R855 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022