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 » recover log from partial data

Post new topic  Reply to topic Goto page Previous  1, 2
 recover log from partial data « View previous topic :: View next topic » 
Author Message
jcv
PostPosted: Wed May 09, 2007 6:13 am    Post subject: Reply with quote

Chevalier

Joined: 07 May 2007
Posts: 411
Location: Zagreb

It uses an obsolete version:

$ mqver
MQSeries Version: 520
CMVC level: p520-CSD07G
BuildType: IKAP - (Production)

I didn't search for issues yet, because I know I have to upgrade server, so if the problem is in this mq version it will be solved with upgrade.
Most of the applications use bindings, but there are also MQ client applications.
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Wed May 09, 2007 6:17 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I'm sure your problem will be solved by moving to v6.

And several others that you haven't run into yet.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jcv
PostPosted: Wed May 09, 2007 8:33 am    Post subject: Reply with quote

Chevalier

Joined: 07 May 2007
Posts: 411
Location: Zagreb

I suppose there is a complete backward compatibility for both bindings and client applications regarding communication with MQ server, meaning that they don't have to be rebuilt when upgrading from v5.2 to v6?

Last edited by jcv on Fri May 25, 2007 3:09 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Wed May 09, 2007 9:16 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

No, I'm sure you'll have to recompile.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jcv
PostPosted: Fri May 25, 2007 4:05 am    Post subject: Reply with quote

Chevalier

Joined: 07 May 2007
Posts: 411
Location: Zagreb

Let's get back to tracing API calls. I have adjusted amqsaxe0.c to my needs for testing environments, where performance degradation is not so relevant or critical. I have commented out logic which requires an adequate environment variable to be set for logging to occur, something like this:

Code:

    //env = getenv( "MQAPI_TRACE_LOGFILE" );

    //if (env){
      /***************************************************************/
      /* Open the log file                                           */
      /***************************************************************/
     . . .
    //}


I don't understand why I'm not able to catch any other API calls except for MQXE_OTHER environment, that is, none of these:
MQXE_MCA, MQXE_MCA_SVRCONN, MQXE_COMMAND_SERVER, MQXE_MQSC, although I'm connecting to observed qmgr with runmqsc, strmqcsv, client configured mo71, but nothing except for binding applications activity can be seen in logs. And that appears regardless of env setting, so this definitely is not a problem. Also, I don't know how to provoke MQXACT_INTERNAL records, too, although, I suppose qmgr is issuing some API calls too, from time to time.
Back to top
View user's profile Send private message Visit poster's website
jcv
PostPosted: Fri May 25, 2007 5:04 am    Post subject: Reply with quote

Chevalier

Joined: 07 May 2007
Posts: 411
Location: Zagreb

The reason nothing is logged, is because when I issue for example runmqsc, it logs:

-------------------------------------------------------------------------------
2007. 05. 25 14:38:28
AMQ7217: The response set by the exit is not valid.

EXPLANATION:
The Api Exit '' module '' function'' returned a response code '-8' that is not
valid in the ExitResponse field of the Api Exit parameters (MQAXP).
ACTION:
Investigate why the Api Exit '' set a response code that is not valid.
-------------------------------------------------------------------------------

-8 stands for MQXCC_FAILED, so that I really have to investigate why api exit returns this value, when I start for example runmqsc,
and why it returns MQXCC_OK when I start for example amqsput, in which case everything is properly traced.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » recover log from partial data
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.