Author |
Message
|
mdc |
Posted: Sun Apr 27, 2008 4:02 pm Post subject: MQ 5.3 admin challenges with JMS |
|
|
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 |
|
 |
fjb_saper |
Posted: Sun Apr 27, 2008 5:37 pm Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Sun Apr 27, 2008 11:51 pm Post subject: |
|
|
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 |
|
 |
mdc |
Posted: Mon Apr 28, 2008 5:30 am Post subject: |
|
|
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 |
|
 |
mdc |
Posted: Mon Apr 28, 2008 5:36 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Mon Apr 28, 2008 8:14 am Post subject: |
|
|
 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 |
|
 |
|