IBM Support

PM70014: INVALIDNAMEEXCEPTION THROWN INSTEAD OF NAMENOTFOUNDEXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Lookup of java: JNDI names that have the correct syntax, but are
    not in the java: namespace throw InvalidNameException in Liberty
    profile servers, but NameNotFoundException in full profile
    servers.
    
    Example Stack :
    
    javax.naming.InvalidNameException: java:/jdbc/DataSource
    [7/25/12 15:16:20:862 CEST] 00000016 SystemErr
             at
    com.ibm.ws.jndi.url.contexts.javacolon.internal.JavaURLName.<ini
    t>(JavaURLName.java:83)
    [7/25/12 15:16:20:863 CEST] 00000016 SystemErr
             at
    com.ibm.ws.jndi.url.contexts.javacolon.internal.JavaURLNameParse
    r.parse(JavaURLNameParser.java:36)
    
    Liberty Profile server.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile performing           *
    *                  JNDI lookups of unavailable "java:" names   *
    ****************************************************************
    * PROBLEM DESCRIPTION: InvalidNameException thrown in Liberty  *
    *                      profile servers, but                    *
    *                      NameNotFoundException thrown in full    *
    *                      profile servers.                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Lookups of java: names that are not in the recognized contexts
    (comp, global, app, module) throw an InvalidNameException
    on Liberty profile servers instead of a NameNotFoundException.
    

Problem conclusion

  • The type of exception thrown by Liberty profile servers was
    changed to be the same as for full profile servers, a
    NameNotFoundException.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.0.1. 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

    PM70014

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-01

  • Closed date

    2012-08-07

  • Last modified date

    2012-08-30

  • 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

    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:
29 October 2021