|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
.NET Client connection attempts get 2059 |
« View previous topic :: View next topic » |
Author |
Message
|
MikeClark |
Posted: Fri Feb 17, 2006 5:09 pm Post subject: .NET Client connection attempts get 2059 |
|
|
 Apprentice
Joined: 17 Feb 2004 Posts: 27 Location: Olympia, WA
|
This happens on both a development and a server machine built as WMQ clients, running WMQv6. It's not happening just in custom code, but also the IBM-supplied sample code in NMQSPUT.CS. The attempt to instantiate a queue manager using
Code: |
mqQMgr = new MQQueueManager( qmgrname, channelName, connectionName ); |
throws an MQ Exception with return code 2059. Both the System Event Log and the AMQERROR01.LOG show this text:
Quote: |
EXPLANATION:
The operation requested cannot be performed because channel 'OFM.HUBP1.PQM.01' on the remote machine is not of a suitable type. For example, if the local channel is defined as a sender the remote machine must define its channel as either a receiver or requester.
ACTION:
Check that the channel name is specified correctly. If it is, check that the
remote channel has been defined correctly.
----- amqrfpta.c : 340 --------------------------------------------------------
|
Note that the channel name as described is not only correct, it is also correctly configured as well -- it's on our production WebsphereMQ server, and it is the only receiver channel defined on the queue manager PQM, which is running perfectly OK processing messages from the mainframe while all this is going on. I am not sure what the error message means when it talks about about a local sender channel, as I didn't think a client even had channels.
So, are there any alternate EXPLANATIONs that doesn't involve misnamed or misdefined channels?  _________________ "...a long habit of not thinking a thing wrong, gives it a superficial appearance of being right..." [Tom Paine] |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri Feb 17, 2006 5:16 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Mike,
MQ Clients can only connect to a SVRCONN channel on the queue manager. Looks like you are trying to connect to a RCVR channel, which as you have found, is not possible. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
MikeClark |
Posted: Tue Feb 21, 2006 9:55 am Post subject: Yikes! |
|
|
 Apprentice
Joined: 17 Feb 2004 Posts: 27 Location: Olympia, WA
|
Well, as Popeye liked to say: "Blow Me Down!"
I don't remember this being covered in the administration class I attended, nor reading anything about it anywhere, but you sounded like you knew what you were talking about, so I tried your advice. Shazzam!
Major problem now alleviated. Thanks very much!
Mike _________________ "...a long habit of not thinking a thing wrong, gives it a superficial appearance of being right..." [Tom Paine] |
|
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
|
|
|
|