IBM Support

NameNotFoundException with jms/QueueConnectionFactory

Troubleshooting


Problem

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.

[{"Product":{"code":"SSPVUA","label":"IBM InfoSphere Master Data Management Server"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Application configuration","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"}],"Version":"10.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21597041