APAR status
Closed as program error.
Error description
If the value of the property in the XML file is null, then we
should get the NullPointerException every time the
connection pool is created.
.
Here is the stack
.
[03/09/24 5:07:14:444 JST] 1a9f3bff ConnectionFac E J2CA0009E:
\ [ X JMS$MSGHW12JYOTAP ミ ム ᄉ ホ g p  ネ ツ
ManagedConnectionFactory N X
com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactory
￐ C X ^ X ᆵ ₩ ム ᅬ メ ₩ ホ A ᅠ O ᆭ ￰ ￴ ₩ レ ₩ ᆱ :
java.lang.NullPointerException
at
com.ibm.ejs.j2c.XMLReader.getElementValueString(XMLReader.java:4
69)
at
com.ibm.ejs.j2c.XMLReader.getElementValueBoolean(XMLReader.java:
645)
at
com.ibm.ejs.j2c.ConnectionManager.<init>(ConnectionManager.java:
394)
at
com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.createCFD_Common(Co
nnectionFactoryBuilderImpl.java:297)
at
com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(C
onnectionFactoryBuilderImpl.java:1233)
at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.j
ava:313)
at
com.ibm.ejs.jms.JMSConnectionFactoryFactory.getObjectInstance(JM
SConnectionFactoryFactory.java:81)
at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.j
ava:313)
at
com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(
Helpers.java:884)
at
com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CN
ContextImpl.java:1762)
at
com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.j
ava:1615)
at
com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.j
ava:1525)
at
com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.jav
a:1225)
at
com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:132)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
...
Local fix
There have to provide some valid value to the xml property.
Problem summary
****************************************************************
* USERS AFFECTED: All WebSphere Application Server users who *
* use JCA Connection Pooling. *
****************************************************************
* PROBLEM DESCRIPTION: Upon first access of EJB, a *
* NullPointerException could *
* be seen in the logs, app works *
* fine after that. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
We were not checking for a null value from the XML parser.
Problem conclusion
A Null check was added and the problem was fixed.
Temporary fix Comments
APAR information |
APAR number |
PQ79338 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00A |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2003-10-08 |
Closed date |
2003-11-12 |
Last modified date |
2003-11-12 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
|