IBM Support

PI16935: JAVAX.NAMING.NAMENOTFOUNDEXCEPTION FOR EJB3.1 EJB IN SERVANT REGIONS STARTED AFTER THE FIRST SERVANT REGION COMES UP.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Once the application is deployed and started, it is able to
    complete JNDI lookups for TestEJB successfully in the first
    servant that is started, but in the rest of the servants, the
    application encounters this exception
    javax.naming.NameNotFoundException:
    Name "AccessLogBean" not found in context "java:module".
    at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal
    (NameSpace.java:1228)
    at com.ibm.ws.naming.ipbase.NameSpace.lookup
    (NameSpace.java:1141)
    ...
    

Local fix

  • change EJB lookup to not use java: namespace lookups
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of Enterprise Java Beans (EJBs) on    *
    *                  servers with multiple servants              *
    ****************************************************************
    * PROBLEM DESCRIPTION: The java:module context is only         *
    *                      populated in the first servant region.  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The EJB container only binds EJBs in the first servant
    region that starts for performance.  For most contexts, this
    is correct because the contexts are stored in the control
    region and are shared amongst all servant regions, but it is
    not correct for the java:module context, which is local-only.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI16935

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-04-29

  • Closed date

    2014-05-28

  • Last modified date

    2014-05-28

  • 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

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"800","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 October 2021