IBM Support

PM75089: JAVA.LANG.CLASSNOTFOUNDEXCEPTION: FAILED TO LOAD CLASS COM.IBM.OSGI.JNDI.FEP.GATEWAYBUNDLECONTEXTPROXY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a thrid party (non-WebSphere Application Server) initial
    context factory is used, such as WebLogic, a
    ClassNotFoundException similar to the following can occur when
    the third party provider attempts to load class
    com.ibm.osgi.jndi.fep.GatewayBundleContextProxy.
    
    javax.naming.CommunicationException [Root exception is
    java.rmi.UnmarshalException: error unmarshalling arguments;
    nested exception is:
    java.lang.ClassNotFoundException: Failed to load class
    com.ibm.osgi.jndi.fep.GatewayBundleContextProxy]
    at
    weblogic.jndi.internal.ExceptionTranslator.toNamingException(Exc
    eptionTranslator.java:74)
    at
    weblogic.jndi.internal.WLContextImpl.translateException(WLContex
    tImpl.java:439)
    at
    weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:3
    95)
    .
    .
    Caused by: java.lang.ClassNotFoundException: Failed to load
    class com.ibm.osgi.jndi.fep.GatewayBundleContextProxy
    at
    weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClass
    LoaderDelegate.java:208)
    at
    weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClass
    LoaderDelegate.java:135)
    at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:306)
    ...
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: GatewayBundleContextProxy               *
    *                      ClassNotFoundException during lookup    *
    *                      using third party initial context       *
    *                      factory.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    OSGi Applications needs to intercept JNDI lookups.  As part
    of doing this the environment passed to the initial context
    factory can be augmented.  If the factory is not a Wepshere
    Application Server factory, and the environment is augmented
    with an instance of the GatewayBundleContextProxy class, a
    ClassNotFoundException can occur when the factory passes the
    environment to a third party application server (non WebSphere
    Application Server).
    

Problem conclusion

  • This APAR fixes the problem by only augmenting the environment
    if the initial context factory class is IBM's.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.0.0.6 and 8.5.0.2.  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

    PM75089

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-16

  • Closed date

    2012-10-29

  • Last modified date

    2012-10-29

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R800 PSY

       UP

  • R850 PSY

       UP

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

Document Information

Modified date:
29 October 2021