|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
NameNotFoundException.. |
« View previous topic :: View next topic » |
Author |
Message
|
lecmns |
Posted: Mon Feb 18, 2002 8:43 pm Post subject: |
|
|
Apprentice
Joined: 26 Dec 2001 Posts: 36
|
Below is the QueueConenctionFactory definition.
InitCtx> display QCF(MYQCF)
PORT(1415)
HOSTNAME(172.30.66.181)
QMANAGER()
USECONNPOOLING(YES)
CCSID(819)
MSGBATCHSZ(10)
TEMPMODEL(SYSTEM.DEFAULT.MODEL.QUEUE)
TRANSPORT(CLIENT)
SYNCPOINTALLGETS(NO)
MSGRETENTION(YES)
POLLINGINT(5000)
VERSION(2)
CHANNEL(SYSTEM.DEF.SVRCONN)
But the following line is failing.
(QueueConnectionFactory)ctxIn.lookup(lookUpStrIn);
Error being "javax.naming.NameNotFoundException: MYQCF"
I have four machines..
'A' is my client machine with ma88 installed.
'B' and C' are my MQServers clustered, both have repository queuemanagers
'D' is another machine which listens on these queues for processing requests.
When 'A' wasn't configured, 'B' and 'D' were communicating. That time, A' was giving the above error. When 'A' started communicating to 'B', 'D' failed in lookup ad showed the above error. What could be the trouble?
Can I avoid ma88 set up in the client machine and read all parameters from a remote machine? Can't we do only copying few jar files into the client machine and start using it to connect to the MQServer?
Guys, help me out..
am stuck and I am running short of time..
MNS |
|
Back to top |
|
 |
kolban |
Posted: Tue Feb 19, 2002 4:36 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
It sounds like using JMSAdmin to populate your JNDI repository is working fine but in your app, you are either binding to the wrong JNDI service or a different location within the service or specifiying the wrong PROVIDER_URL.
Can you post the start of your JMS app (where you connect to JNDI) and also, for comparison, your JMSAdmin.config file. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|