WebSphere MQ: JNDI Error in EAI JMS Tranport:'Exception:javax.naming.NameNotFoundException

Issue:
 JNDI Error in EAI JMS Tranport:'Exception:javax.naming.NameNotFoundException:ReceiveGMSReferral;Message:ReceiveGMSReferral'

Version
WebSphere MQ 530.10

Solution
Go to <MQ-INSTALL-DIRECTORY>/java/bin
./JMSAdmin

InitCtx>define q(ReceiveGMSReferral) QUEUE(<QUEUE-NAME>) QMANAGER(<QMGR-NAME>)

dis q(*)

End

to test the JMS connection with queue manager:

./IVTRun -nojndi -client -m <QMGR-NAME> -host <HOST-NAME> -port <LISTENER-PORT> -channel <CHANNEL-NAME>

This confirms the connection works fine

Comments

Popular posts from this blog

Jenkins Dynmaic Parameter - List All Branches in a Git Repository

JMSWMQ2013: The security authentication was not valid that was supplied for QueueManager 'XYZ' with connection mode 'Client' and host name 'x.x.x.x(1415)'. Please check if the supplied username and password are correct on the QueueManager to which you are connecting.