IBM Support

PM42282: MAKE PORTABLEREMOTEOBJECTDELEGATE SENSITIVE TO INTRA-JVM CLASSLOADERS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When we access the remote interface of an EJB
    from a second EAR, we get a ClassCastException.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.0                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: WebSphere Application Server for        *
    *                      z/OS issues a                           *
    *                      java.lang.ClassCastException            *
    *                      when an Application tries to load       *
    *                      the emote interface of an EJB           *
    *                      from a different Application.           *
    ****************************************************************
                                                                   *
    ****************************************************************
    When the lookup is done to get the remote interface of the
    bean, the PortableRemoteObject class passes a null value for
    the stub class to the wrapper class loader which returned a
    cached servant stub instead of the client stub. This caused
    the Servant Region of WebSphere Application Server on z/OS
    to issue a java.lang.ClassCastException.
    Example of the exception.
    'java.lang.ClassCastException:com.ibm.test._TestSessionRemote
    Stub incompatible with com.ibm.test.TestSessionRemote'
    

Problem conclusion

  • Code was updated to use context classloader to load the stub
    class.
    
    APAR PM42282 is currently targeted for inclusion in
    Service Level (8.0.0.2)  of WebSphere
    Application Server.
    
    Please refer to the Recommended Updates page for delivery
    information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM42282

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-23

  • Closed date

    2011-07-08

  • Last modified date

    2011-07-12

  • 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

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"800","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 October 2021