I have been provided by USER_ID and PASSWORD from MQ Administrator to connect to IBM MQ from our JMS application hosted on Webloigc 12c (12.1.3).
Following is the configuration made by me in Weblogic:- 1. Create a foreign server. Specified JNDI initial context factory as "com.sun.jndi.fscontext.RefFSContextFactory" and JNDI connection URL as path of .bindings file.
Create destination in foreign server.
Create connection factory in foreign server. Specified the username and password provided by MQ administrator.
Restarted the server.
After restart, server log show the error "JMSWMQ2013" and MQ administrator reported that following error
----- cmqxrsrv.c : 2321 -------------------------------------------------------
09/30/2016 11:09:46 AM - Process(10686.64) User(mqm) Program(amqzlaa0)
Host(vlq9dmqsdv01.fulcrumlimited.ca) Installation(Installation1)
VRMF(8.0.0.4) QMgr(FCSWIFTD)
AMQ5540: Application 'weblogic.Server' did not supply a user ID and password
MQ Administrator also reported that he is receive User ID as OS user which created EJB and not the one specified in Foreign Server.
What configuration I need to do, so that weblogic send proper username and password to IBM MQ.