PQ72818: NAMESPACE CONTEXT MISSING CAUSING NAMENOTFOUNDEXCEPTION: NAME COMP/ENV/JDBC NOT FOUND IN CONTEXT "JAVA:" IN EJBSTORE | |||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||
![]() 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 methodProblem 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 is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
|
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
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.