IBM Support

PI94494: LOOKUP FOR THE JAVA:APP RESULTS IN CONFIGURATIONEXCEPTION IF THE LOOKUP HAPPENS DURING THE STARTUP OF THE APP.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If we try to lookup the env-entry in java:app namespace during
    the application startup, it results in the following exception.
    ---------------------------------
    javax.naming.ConfigurationException: A JNDI operation on a
    "java:" name cannot be completed because the server runtime is
    not able to associate the operation's thread with any J2EE
    application component.  This condition can occur when the JNDI
    client using the "java:" name is not  executed on the thread
    of a server application request.
    ---------------------------------
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: JNDI lookups do not work during CDI     *
    *                      bootstrapping                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    CDI bootstrapping can trigger application code with observer
    methods, however this took place before the JNDI namespaces
    were initilized
    

Problem conclusion

  • The order of events during application startup has been
    reworked. Due to architectural limitations only the java:app
    namespace should be used inside CDI observers that activate
    during application startup
    
    The fix for this APAR is currently targeted for inclusion in
    fixpacks 9.0.0.8 and 18.0.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

    PI94494

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-03-01

  • Closed date

    2018-05-18

  • Last modified date

    2018-05-18

  • 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

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
19 October 2021