ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Inquire Q Depth using PCFAgent not returning response

Post new topic  Reply to topic
 Inquire Q Depth using PCFAgent not returning response « View previous topic :: View next topic » 
Author Message
santosh_ganti
PostPosted: Fri Sep 10, 2004 5:59 am    Post subject: Inquire Q Depth using PCFAgent not returning response Reply with quote

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
View user's profile Send private message
bower5932
PostPosted: Fri Sep 10, 2004 6:22 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
santosh_ganti
PostPosted: Fri Sep 10, 2004 6:36 am    Post subject: Reply with quote

Newbie

Joined: 18 Apr 2004
Posts: 5

Bingo!!
Thanks a lot it worked.

Thanks and Regards
Santosh Ganti
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Inquire Q Depth using PCFAgent not returning response
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.