IBM Support

PM94021: NOINITIALCONTEXTEXCEPTION CALLING CODE'S BUNDLECONTEXT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the Apache Aries enterprise bundle application
    (EBA), containing two OSGi Blueprint bundles, the following
    exception is encountered;
    
    javax.naming.NoInitialContextException: The calling code's
     BundleContext could not be determined.
    

Local fix

  • na
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile who deploy           *
    *                  Blueprint OSGi applications that utilise    *
    *                  JNDI                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: JNDI lookup errors occur in blueprint   *
    *                      applications                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    During JNDI lookup operations from OSGi applications, the
    OSGi bundle context information is necessary to correctly
    perform the lookup. APARs PM76868 and PM75089 altered how this
    bundle context was stored. For blueprint applications, these
    changes prevented the bundle context from being present, and
    so JNDI lookups failed.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM94021

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-07-29

  • Closed date

    2013-10-08

  • Last modified date

    2013-10-08

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

    PM90923

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

Fix information

  • Fixed component name

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • 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":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 January 2022