IBM Support

NameNotFoundException with jms/QueueConnectionFactory

Technote (troubleshooting)


Problem(Abstract)


When you have enabled Transaction Audit Information Log (TAIL), and you use it in asynchronous mode, you will receive a NameNotFoundException for the first transaction that you run.

Symptom

In the SystemOut.log, you can see the following error message after you executed the first transaction:

[05/04/12 11:37:55:782 CEST] 00000027 SystemOut     O ERROR     - javax.naming.NameNotFoundException: Name jms not found in context "java:comp/env"
at com.ibm.ws.naming.ipbase.NameSpace.getParentCtxInternal(NameSpace.java:1837)
at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1166)
at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:1095)
at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1233)
at com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:395)


Cause


InfoSphere Master Data Management (MDM) Server tries to find the local resource reference 'jms/QueueConnectionFactory'; but if InfoSphere MDM Server cannot find the local resource reference, it will use the global JNDI for this connection factory instead. This connection factory will be cached therefore the lookup only happen once.


Resolving the problem

The exception does not impact any function and can be ignored.

Document information

More support for: InfoSphere Master Data Management Server
Application configuration

Software version: 10.0

Operating system(s): AIX, Linux

Reference #: 1597041

Modified date: 20 June 2012


Translate this page: