|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
IBM.WMQ.MQException: CompCode: 2, Reason: 2059 |
« View previous topic :: View next topic » |
Author |
Message
|
malai |
Posted: Mon Dec 08, 2003 2:17 am Post subject: IBM.WMQ.MQException: CompCode: 2, Reason: 2059 |
|
|
Newbie
Joined: 04 Dec 2003 Posts: 8
|
I have MQ Client and Client application(ASP.NET) in Machine A and MQ Server in Machine B.
I need to send messages to Server from ASP.Net application.
i have done the folllowing steps:
I have created the Que Manager ,Queue and Channel in the Server Machine B.
Also i have created the Client Connection Chennel in the Client Machine B
by using the command
SET MQSERVER=CHANNEL1/TCP/server-address
When i try to create an instance by using
public MQQueueManager(String queueMamagerName, String channel, String connName)
what is ConnName??????
i havent given anything as ConnName in Server Connection Channel definition...
Also i am getting the error
IBM.WMQ.MQException: CompCode: 2, Reason: 2059
Thanks in advance... |
|
Back to top |
|
 |
JasonE |
Posted: Mon Dec 08, 2003 4:23 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Take a look at the nmqsput sample (samples\cs) as it supports running it in client bingings, eg.
nmqsput QL QM SYSTEM.DEF.SVRCONN/tcp/myipaddr(1414)
but basically
new MQQueueManager( Qmgrname, channelName, connectionName ); |
|
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
|
|
|
|