|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Inquire Q Depth using PCFAgent not returning response |
« View previous topic :: View next topic » |
Author |
Message
|
santosh_ganti |
Posted: Fri Sep 10, 2004 5:59 am Post subject: Inquire Q Depth using PCFAgent not returning response |
|
|
Newbie
Joined: 18 Apr 2004 Posts: 5
|
I have a Java program which uses PCFAgent to inquire depth of queues using CMQCFC.MQCMD_INQUIRE_Q. I am running the program on Solaris. The program when executed on windows gave expected results, but when I run it on solaris it is able to get a queue manager client connection (I am using the constructor
PCFAgent(java.lang.String host, int port, java.lang.String channel)
that returns a client connection to queue manager. Then I have used send(int command, PCFParameter[] parameters) method on agent to get the queue depths. On windows it is returning the queue depths but on Solaris the connection is obtained and the send method fails and gives following error: -
Code: |
Connecting to queue manager at webmts:7878
Connected.
Sending PCF request... MQJE001: Completion Code 2, Reason 2033
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2033 |
2033 stands for 2033 0x000007f1 MQRC_NO_MSG_AVAILABLE.
The queue which I am querying has messages in it.
I am not able to comprehend why am I getting this error only in Solaris. But the queue managers and the queue's that I am connecting to are different in Solaris and Windows. Is there anything additional required to be done in Solaris. Do the queue managers need any additional configureation. Pleas reply asap.
Thanks and Regards,
Santosh Ganti |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Sep 10, 2004 6:22 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Do you have the command server running? Check out the strmqcsv command. |
|
Back to top |
|
 |
santosh_ganti |
Posted: Fri Sep 10, 2004 6:36 am Post subject: |
|
|
Newbie
Joined: 18 Apr 2004 Posts: 5
|
Bingo!!
Thanks a lot it worked.
Thanks and Regards
Santosh Ganti |
|
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
|
|
|
|