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 » MQ 5.3 admin challenges with JMS

Post new topic  Reply to topic
 MQ 5.3 admin challenges with JMS « View previous topic :: View next topic » 
Author Message
mdc
PostPosted: Sun Apr 27, 2008 4:02 pm    Post subject: MQ 5.3 admin challenges with JMS Reply with quote

Novice

Joined: 08 Apr 2008
Posts: 12

Received this message:

MQJMS1017: non-local MQ queue not valid for receiving or browsing

What I am now beginning to wonder is if I have really setup MQ properly. Here is my configuration.

- WebSphere MQ 5.3 installed on a Linux system.
- Defined a QMGR and Q on this Linux System
- Defined a QCF and Q in JNDI using JMSAdmin
- I want my JMS Program running on the same Linux system to connect to the QManager and Queue on the same system to get and put messages using a client transport and NOT BINDING MODE.


Question: I can't make it work. Can someone give me some sample MQ setup commands that might remove the trial and error that I am experiencing?

Maybe I am real close to working with the latest error, but I really don't know as I am a MQ-Series admin novice.

I have gotten this far in my program run and System.out.println output:

Context=javax.naming.directory.InitialDirContext@2ae28fd4
Factory=com.ibm.mq.jms.MQQueueConnectionFactory@b7be13b5
Connection=com.ibm.mq.jms.MQQueueConnection@73b0dd1f
Destination=queue://MY.QUEUE.MANAGER/
Session=com.ibm.mq.jms.MQQueueSession@30f81c52
MQJMS1017: non-local MQ queue not valid for receiving or browsing
-bash-3.00$
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Apr 27, 2008 5:37 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You can only receive messages from a queue that has been defined as a "queue local" to the queue manager you're connected to. Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Sun Apr 27, 2008 11:51 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Also, using MQ v5.3 is not proper any more. It's out of support, please use version 6.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mdc
PostPosted: Mon Apr 28, 2008 5:30 am    Post subject: Reply with quote

Novice

Joined: 08 Apr 2008
Posts: 12

fjb_saper wrote:
You can only receive messages from a queue that has been defined as a "queue local" to the queue manager you're connected to. Enjoy


So if I create a queue manager and then create a queue and set its queue manager to the name of the queue manager, is that correct? I then assume that a JMS/MQ client can then connect to this arrangement and put and get messages to that queue? Do I need to create a channel for this?
Back to top
View user's profile Send private message
mdc
PostPosted: Mon Apr 28, 2008 5:36 am    Post subject: Reply with quote

Novice

Joined: 08 Apr 2008
Posts: 12

jefflowrey wrote:
Also, using MQ v5.3 is not proper any more. It's out of support, please use version 6.


I agree, but that is not possible, besides IBM is managing the change, so I am not worried about that right now.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Apr 28, 2008 8:14 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

mdc wrote:
fjb_saper wrote:
You can only receive messages from a queue that has been defined as a "queue local" to the queue manager you're connected to. Enjoy


So if I create a queue manager and then create a queue and set its queue manager to the name of the queue manager, is that correct? I then assume that a JMS/MQ client can then connect to this arrangement and put and get messages to that queue? Do I need to create a channel for this?

No, This has nothing to do with the JNDI layer. This is at the MQ layer.
Any queue defined at the JNDI layer is supposed to exist at the MQ layer.
At the JNDI layer you do not define the type of queue.

Read up on your basics...


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ 5.3 admin challenges with JMS
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.