|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
When iam connection to MQ Series facing problem |
« View previous topic :: View next topic » |
Author |
Message
|
afroz_online777 |
Posted: Sun May 20, 2007 9:36 pm Post subject: When iam connection to MQ Series facing problem |
|
|
Novice
Joined: 07 May 2007 Posts: 21
|
hi ,
Iam using java to connect MQ Series by using client connection mode
and while i trying to connect to the MQseries iam getting the error
MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused
MQJE001: Completion Code 2, Reason 2059
Caught exception: MQJE001: Completion Code 2, Reason 2059
my code is
com.ibm.mq.MQEnvironment.properties.put(MQC.TRANSPORT_PROPERTY,MQC.TRANSPORT_MQSERIES);//Connection
qMgr = new com.ibm.mq.MQQueueManager(QueueManager);
System.out.println("Connected");
int openOptions = MQC.MQOO_OUTPUT +QC.MQOO_FAIL_IF_QUIESCING;
MQQueue myQueue = qMgr.accessQueue(RemoteQueue, openOptions,null,null,null);
please suggest the solution for this problem.......
Thanks & Regards
afroz |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Sun May 20, 2007 10:24 pm Post subject: Re: When iam connection to MQ Series facing problem |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
Hi, Do you know what this error means ?
mqrc 2059
2059 0x0000080b MQRC_Q_MGR_NOT_AVAILABLE
Did you set correct connecting information in your code (QMGR name, listener port) ?
Is qmgr running ?
Is istener running ?
You can also search this forum.
I saw similar problems here.
Check it. _________________ Marcin |
|
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
|
|
|
|