PQ72818: NAMESPACE CONTEXT MISSING CAUSING NAMENOTFOUNDEXCEPTION: NAME COMP/ENV/JDBC NOT FOUND IN CONTEXT "JAVA:" IN EJBSTORE

 A fix may be available

Obtain the fix for this APAR



APAR status
Closed as program error.

Error description
When attempting to do a lookup on a datasource in the method
ejbStore in a BMP the following error message appears in
application server region job output.
.
javax.naming.NameNotFoundException: Name comp/env/jdbc not found
in context "java:"
.
The lookup up may have been successful in a previous call to
the method.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 version 4.0.1 for z/OS and OS/390.           *
****************************************************************
* PROBLEM DESCRIPTION: javax.naming.NameNotFoundException:     *
*                      Name comp/env/jdbc not found in context *
*                      "java:"                                 *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
javax.naming.NameNotFoundException occurs when doing a lookup
of a name in the java:comp/env namespace from an ejbStore method
Problem conclusion
The javax.naming.NameNotFoundException occurred during ejbStore
method because the wrong javaNameSpace was being used to do the
name lookup. The name space was wrong because the commit of the
transaction was running on an outer bean's context which did
not have the required elements bound to it. The code was updated
to make the correct bean's name space available during the
ejbStore.

APAR PQ72818 is associated with SERVICE LEVEL W401602 of
WebSphere Application Server version 4.0.1 for z/OS and OS/390.
Temporary fix Comments
APAR information
APAR number PQ72818
Reported component name WASKBASE
Reported component ID 5655A9801
Reported release 401
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2003-04-03
Closed date 2003-09-23
Last modified date 2003-10-03

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
BBOUBINF          

Fix information
Fixed component name WASKBASE
Fixed component ID 5655A9801

Applicable component levels
R401 PSY UQ80473    UP03/09/30 P F309

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 401
Software edition:
Reference #: PQ72818
IBM Group: Software Group
Modified date: Oct 3, 2003