Author |
Message
|
WMBEAI |
Posted: Thu Sep 17, 2009 1:09 am Post subject: mqrc 2085 BIP2623E |
|
|
Acolyte
Joined: 02 Mar 2009 Posts: 66
|
i have a message flow which has around 10 input queues.I have not defined (created) few queues in the server.
Can anyone explain why the below error appears in my messages log
BIP2623E: Unable to open queue 'SFI
IN' on WebSphere MQ queue manager 'QM': completion code 2; reason code 2085. : /build/S600_P/src/DataFlowEngine/ImbMqManager.cpp: 601: ImbMqConnection::getQueue: ComIbmMQConnectionMan
ager: ComIbmMQConnectionManager |
|
Back to top |
|
 |
Luke |
Posted: Thu Sep 17, 2009 1:29 am Post subject: |
|
|
Centurion
Joined: 10 Nov 2008 Posts: 128 Location: UK
|
Err, because you haven't created the queues? |
|
Back to top |
|
 |
WMBEAI |
Posted: Thu Sep 17, 2009 1:53 am Post subject: |
|
|
Acolyte
Joined: 02 Mar 2009 Posts: 66
|
why it needs to try to open the object? |
|
Back to top |
|
 |
Luke |
Posted: Thu Sep 17, 2009 1:56 am Post subject: |
|
|
Centurion
Joined: 10 Nov 2008 Posts: 128 Location: UK
|
WMBEAI wrote: |
why it needs to try to open the object? |
Because that's how MQInput nodes work - you deploy a flow with one and it opens the queue for input - check out the Queues open input count for a flow where the queue is defined. |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Sep 17, 2009 2:00 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
It needs to open the object for read. Then it waits for a message to arrive.
a simple
Code: |
mqrc 2085
2085 0x00000825 MQRC_UNKNOWN_OBJECT_NAME
|
Would have told you that you were trying to use something that didn't exist.
This is often caused by typos in the Queue Name or forgetting that the Queue names on distributed MQ platforms are case sensitive. A good policy is to make them ALL UPPERCASE.
Either you didn't define them or your defined them incorrectly. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
WMBEAI |
Posted: Thu Sep 17, 2009 2:35 am Post subject: |
|
|
Acolyte
Joined: 02 Mar 2009 Posts: 66
|
Luke: i have not defined that queue in my server,but my message flow uses that queue..
so will i be able to check the open input counts for that queue? |
|
Back to top |
|
 |
Luke |
Posted: Thu Sep 17, 2009 2:43 am Post subject: |
|
|
Centurion
Joined: 10 Nov 2008 Posts: 128 Location: UK
|
Not until you define it, no. If you have a flow with an MQInput node somewhere else and the queue is defined, you'd be able to check it there.
I only said that to illustrate the point anyway, it's not essential that you do it.
As smdavies says, it opens the queue and waits for a message. That's how MQInput nodes are supposed to work - your processing is initiated by a message arriving on a queue. If this isn't the behaviour you want - say if you want to trigger your processing in another way, then you need to look at your design and use nodes more appropriate to your requirements.
Hope that helps? |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Thu Sep 17, 2009 3:03 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
WMBEAI wrote: |
Luke: i have not defined that queue in my server,but my message flow uses that queue..
so will i be able to check the open input counts for that queue? |
Are you serious?
Of course you can..... just find the none existant queue in MQExplorer (it may take some effort to find it as all the other none existant queues are in there also but please dont give up) and then right click on it and select status. You'll then get a nice popup box which shows you all the information you want. |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Sep 17, 2009 4:44 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
WMBDEV1 wrote: |
WMBEAI wrote: |
Luke: i have not defined that queue in my server,but my message flow uses that queue..
so will i be able to check the open input counts for that queue? |
Are you serious?
Of course you can..... just find the none existant queue in MQExplorer (it may take some effort to find it as all the other none existant queues are in there also but please dont give up) and then right click on it and select status. You'll then get a nice popup box which shows you all the information you want. |
MQExplorer can't be used to check the status of a non existant object.
Broker can't use an MQInput Node unless the queue defined in the properties is already defined.
your solution, is to define ALL the WMQ Objects you are going to need (unless you are using dyamic queues for output) BEFORE you deploy your flow. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Thu Sep 17, 2009 5:14 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
smdavies99 wrote: |
MQExplorer can't be used to check the status of a non existant object.
|
I feel my sarcasm was wasted on you  |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Sep 17, 2009 5:27 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
WMBDEV1 wrote: |
smdavies99 wrote: |
MQExplorer can't be used to check the status of a non existant object.
|
I feel my sarcasm was wasted on you  |
Yeah, I think I got out of the wrong side of the bed this morning...  _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Luke |
Posted: Thu Sep 17, 2009 5:30 am Post subject: |
|
|
Centurion
Joined: 10 Nov 2008 Posts: 128 Location: UK
|
WMBDEV1 wrote: |
(it may take some effort to find it as all the other none existant queues are in there also but please dont give up) |
Nice
I think most of us got it ... some may still be staring blankly at MQ Explorer ... |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Sep 17, 2009 5:56 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
All fun and games aside, most of you are missing the most obvious reason that this queue does not exist in the first place.
WMBEAI - the MQInput node can, like all other MQ applications ever written, GET MESSAGES from queues that are QLOCALS on the queue manager the broker is connected to.
This is always the Broker's queue manager.
You can NOT use the MQInput node to read from anything other than QLOCAL queues on the Broker's queue manager.
So if you have created your SFIIN queue on some other queue manager, you can't read from it with MQInput. |
|
Back to top |
|
 |
Luke |
Posted: Thu Sep 17, 2009 6:16 am Post subject: |
|
|
Centurion
Joined: 10 Nov 2008 Posts: 128 Location: UK
|
mqjeff wrote: |
All fun and games aside, most of you are missing the most obvious reason that this queue does not exist in the first place. |
I thought the most obvious reason was that the queue hasn't been created yet, as stated fairly clearly in the original post ...
Of course, those points are very valid if the queues are on another QM ... but I didn't see anything in the post to suggest they are. |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Sep 17, 2009 7:16 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Luke wrote: |
I thought the most obvious reason was that the queue hasn't been created yet, as stated fairly clearly in the original post ...
Of course, those points are very valid if the queues are on another QM ... but I didn't see anything in the post to suggest they are. |
But we have not received an explanation as to the reasoning behind WHY the queue(s) was/were not created in the first place or the apparent reluctance to create them despite the suggections in earlier replies. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
|