IBM Support

PI93952: CWNEN0030E WHEN MULTIPLE DEPLOYED EDITIONS OF AN APPLICATION CONTAIN THE SAME ENVIRONMENT ENTRIES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An application contains environment entries which are listed in
    the application.xml file.  If multiple editions of the
    application are deployed in WebSphere Application Server, the
    following error can occur...
    [1/24/18 14:07:38:391 GMT] 000002a2 InjectionBind E
    CWNEN0030E: The @Resource factory encountered a problem getting
    the object instance myTestUserName binding object.  The
    exception message was: Context:
    DevCell01/applications/com.ibm.ws.AppNameSpaces/TestApp/root,
    name: env/myTestUserName: First component in name
    env/myTestUserName not found.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server application edition support          *
    ****************************************************************
    * PROBLEM DESCRIPTION: JNDI lookup of java:app fails with      *
    *                      edition support                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When multiple editions of an application are installed using
    the WebSphere Application Server application edition support,
    and references are defined in the java:app naming context,
    then JNDI lookups may fail with the following error:
    CWNEN0030E: The @Resource factory encountered a problem getting
    the object instance myTestUserName binding object.  The
    exception message was: Context:
    DevCell01/applications/com.ibm.ws.AppNameSpaces/TestApp/root,
    name: env/myTestUserName: First component in name
    env/myTestUserName
    

Problem conclusion

  • When multiple editions of an application are installed, the
    resource reference processing code of the WebSphere
    Application Server is not properly binding java:app resources
    into JNDI. This support has been updated to properly support
    the edition feature. java:app resources will now be available
    in JNDI.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.5.5.14 and 9.0.0.8.  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

    PI93952

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-02-19

  • Closed date

    2018-03-12

  • Last modified date

    2018-03-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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R850 PSY

       UP

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

Document Information

Modified date:
19 October 2021