J2CA0122I messages occur under stress testing
 Technote (troubleshooting)
 
Problem(Abstract)
An application running in WebSphere® Application Server V5 does an indirect JNDI lookup (through the java:comp/env context). Under high load, the J2CA0122I informational message may be output:

J2CA0122I: Resource reference abc/myCF could not be located, so default values of the following are used: [Resource-ref settings]
res-auth: 1 (APPLICATION)
res-isolation-level: 0 (TRANSACTION_NONE)
res-sharing-scope: true (SHAREABLE)
res-resolution-control: 999 (undefined)
 
Cause
When an application does a direct JNDI lookup, the J2CA0122I messages are expected in the SystemOut.log. See this technote for more information.

When an application does an indirect JNDI lookup and the J2CA0122I message appears in the SystemOut.log under high load, then this might due to a thread safety issue in WebSphere Application Server that would cause an indirect lookup to behave like a direct lookup and cause the J2CA0122I message to be output.

 
Resolving the problem
The problem is fixed by APAR PQ90851 which is included in Cumulative Fix 7 (V5.0.2.7) and higher for WebSphere Application Server V5.0.2 and Cumulative Fix 1 (V5.1.1.1) and higher for WebSphere Application Server V5.1.1.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > JNDI/Naming
Operating system(s): Windows
Software version: 5.1.1
Software edition:
Reference #: 1253970
IBM Group: Software Group
Modified date: Jan 22, 2007