ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » NameNotFoundException..

Post new topic  Reply to topic
 NameNotFoundException.. « View previous topic :: View next topic » 
Author Message
lecmns
PostPosted: Mon Feb 18, 2002 8:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
kolban
PostPosted: Tue Feb 19, 2002 4:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » NameNotFoundException..
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.