PQ55111: WAS V401 ACCESS DEFINED DATASOURCE USING 'RESOURCE REFERENCE' LOOKUP JAVA:COMP/ENV/JDBC RESULTS IN ERROR JAVANAMESPACEACCESSOR

APAR status
Closed as duplicate of another APAR.

Error description
For WebSphere Application Server for z/OS Version 4.0.1,
installation of an application includes code that is
invoked during servlet initialization.  This code
attempts to access the defined DataSource, using the
'resource reference' name for lookup
(java:comp/env/jdbc/resource-name).  This results in
the error "javaNameSpaceAccessor is not being set", and
a javax.naming.ConfigurationException is thrown, which
indicates that the naming environment is not properly
initialized.
..
Example of error in trace file:
======= == ===== == ===== ====
ExtendedMessage: value 1 =
    "Exception data=javax.naming.NameNotFoundException:
       Name jdbc not found in context "java:comp/env"."
 Trace: 2001/11/15 11:51:36.401 01 t=8D6020 c=UNK key=P8
   (13007002)
     FunctionName: com.ibm.ws390.util.JNDIRegisterer
   SourceId: com.ibm.ws390.util.JNDIRegisterer
   Category: DEBUG
   ExtendedMessage: JNDIRegisterer: create this subcontext:
    ; value 1 = "jdbc"
..
Also in the trace file there will a entry that looks
like a successful registration of the datasource
(jdbc/localPool):
Log entry:
=== =====
..
Trace: 2001/11/15 11:51:36.328 01 t=8D6020 c=UNK key=P8
  (13007002)
   FunctionName: com.ibm.ws390.csi.WS390BeanMetadataStore
   SourceId: com.ibm.ws390.csi.WS390BeanMetadataStore
   Category: DEBUG
   ExtendedMessage: uMOF ResourceName : jdbc/localPool
   name : jdbc/localPool
   bind : S1EP_DataSource
   AMC : B6BC9981BD7CD1C00000025C000000090A010308.B6BC99863E6D36
 800000025C000000090A010308.B6BC99874EB660010000025C000000090A01
   auth : 1
   cmp : 0
Local fix Problem summary Problem conclusion Temporary fix Comments
This APAR is a duplicate of 
PQ52493 for the WebSphere
Application Server Version 4.0.1 for z/OS and OS/390.  The
testcase that reproduces the error for PQ55111 is the same
testcase that is used for 
PQ52493.  The error no longer occurs
with the code fix for 
PQ52493.
APAR information
APAR number PQ55111
Reported component name WEBSPHERE OS/39
Reported component ID 5655A9800
Reported release 401
Status CLOSED DUB
PE NoPE
HIPER NoHIPER
Submitted date 2001-11-21
Closed date 2002-02-08
Last modified date 2002-04-12

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros

Fix information
Fixed component name WEBSPHERE OS/39
Fixed component ID 5655A9800

Applicable component levels


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 #: PQ55111
IBM Group: Software Group
Modified date: Apr 12, 2002