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 » News/Updates » New MQSI tool - TraceViewer - available

Post new topic  Reply to topic
 New MQSI tool - TraceViewer - available « View previous topic :: View next topic » 
Author Message
bduncan
PostPosted: Thu Oct 10, 2002 10:06 pm    Post subject: New MQSI tool - TraceViewer - available Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Thanks to Timm Bryant at IBM for supplying this program! The official description is:

Quote:
The WMQI Trace Viewer utility consists of a set of Java classes that provide a graphical user interface to review the output of WMQI’s message flow trace data. This utility was developed using IBM’s VisualAge for Java 4.0. It has been tested on Java version 1.3.1_02 running on Windows 2000. It has not been tested on any other platform.


Note: It comes with very handy documentation in PDF format

Here's the direct link:
http://www.mqseries.net/pafiledb203/pafiledb.php?action=viewfile&fid=56&id=3
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
trbryant
PostPosted: Wed Oct 30, 2002 2:36 pm    Post subject: Installation notes Reply with quote

Newbie

Joined: 24 Jun 2001
Posts: 6
Location: Timm R Bryant

I have since discovered a couple of installation issues that others should be aware of.

1) For installation on a workstation that has only the Control Center installed, you may need to copy the WMQI message properties files. These files are located in the %WMQI_HOME%\messages directory. This directory will contain multiple WMQIv2xx.properties files. If this directory does not exist, or if it does not contain any properties files, copy these files from a machine where a broker is installed.

2) You should ensure that you have the most current version of the MQSeries MA88 SupportPack installed.

3) If you do not have a JDK or runtime environment installed on your machine you may modify the sample TraceViewer.bat file to utilize the JRE that is reshipped with WMQI. To do this change the start of the last line from: start javaw.exe… to start %WMQI_HOME%\jre\bin\javaw.exe…
Back to top
View user's profile Send private message
Mlin
PostPosted: Wed Mar 26, 2003 7:04 am    Post subject: TraceViewer Error Reply with quote

Novice

Joined: 13 May 2002
Posts: 12

I got a 2033 error when I clicked on the extract button. MQRC2033 is MQRC_NO_MSG_AVAILABLE. This error occured on both my PC and another user's PC. We connect to the same Unix server but connect to different brokers. Anyone else got this problem? any help would be appreciated.

Thanks
mlin.
Back to top
View user's profile Send private message
Mlin
PostPosted: Wed Mar 26, 2003 7:14 am    Post subject: TraceViewer Error Reply with quote

Novice

Joined: 13 May 2002
Posts: 12

To be exact, the error was "error waiting for trace response messages. Reason code=2033"

and if you click ok to accept the message, another error comes up.
Broker Configuration error:
Unable to query broker configuration. Ensure that the QM and its listener are running, then cleck the File|Properties menu to ensure proper settings.


The QM and the listener are up and running.

Mlin
Back to top
View user's profile Send private message
trbryant
PostPosted: Wed Mar 26, 2003 8:48 am    Post subject: Is the broker running as well? Reply with quote

Newbie

Joined: 24 Jun 2001
Posts: 6
Location: Timm R Bryant

This error is posted when a configuration request message is sent to the MQSI broker, but a reply is not received within the time specified in the timeout. I can send you a debug version of the utility that will allow you to view the sent/received messages to assist with troubleshooting. Post your e-mail address so I can send it to you.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Mar 27, 2003 12:22 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Please be clear in these posts what version of MQSI or WMQI this applies to. IBM'ers tend to play with the latest version - customers have production workloads and tend to have the mature versions (eg 2.0.2).
Back to top
View user's profile Send private message
Cliff
PostPosted: Thu Jun 19, 2003 11:13 pm    Post subject: Reply with quote

Centurion

Joined: 27 Jun 2001
Posts: 145
Location: Wiltshire

Timm,

I know the TraceViewer is not tested against anything other than Win2K, but please be aware that under NT4 sp6a/MQ5.2.1 it fails with 'Exception thrown in getTraceData() method. Setp was: Writing trace data to temporary file. Exception message is: null'.

I hope you are able to produce a version for NT4 - ther's still an awful lot of it about in the user community!

Kind regards -

Cliff
Back to top
View user's profile Send private message Send e-mail
trbryant
PostPosted: Fri Jun 20, 2003 5:29 am    Post subject: How are you viewing the trace data? Reply with quote

Newbie

Joined: 24 Jun 2001
Posts: 6
Location: Timm R Bryant

I don't beleive that the error that you are seeing is Windows O/S dependent. The section of code that reports this error is trying to parse the XML message that is returned from the Broker. I am curious about the MQSI version you are using. It may be that an earlier version of MQSI formats its XML messages slightly differently.

Please let me know what version of MQSI you are using, as well as the specific steps you are trying to perform. Also, if you could send me a copy of the output from the "mqsireadlog" command run against the same broker I could check the code against your output and try to correct any problem. I don't have a copy of NT to test against, but I think we can figure this out without requiring an NT platform.
Back to top
View user's profile Send private message
Cliff
PostPosted: Mon Jun 23, 2003 2:54 am    Post subject: Reply with quote

Centurion

Joined: 27 Jun 2001
Posts: 145
Location: Wiltshire

Timm,

I was trying out TraceViewer on the last day of a contract in Belgium, so I can't lay my hands on the kit right now. However, I was using MQSI 2.1 CSD 3 broker on AIX 5.something. All I did was to run a debug trace against a little message flow containing MQInput, TivoliMonitor, Compute, TivoliMonitor and MQOutput nodes. None of the nodes contained an error.

Maybe this is just another of the differences in behaviour between platforms? Like the differences in parsing TDS messages, or the structure of the ExceptionList, for example?

Anyway I hope this helps. Kind regards,

Cliff
Back to top
View user's profile Send private message Send e-mail
madmole
PostPosted: Thu Nov 13, 2003 4:23 am    Post subject: Reply with quote

Newbie

Joined: 13 Nov 2003
Posts: 1

In my case I get a

"Could not find the Main class. Program will exit!"

when I run the program

MQ5.3 on XP with SUN Java 1.4.1_03

Any suggestions anyone.

Thanks

Stephen
Back to top
View user's profile Send private message
ourtown
PostPosted: Mon Nov 08, 2004 10:06 am    Post subject: Reply with quote

Acolyte

Joined: 05 Feb 2002
Posts: 67
Location: Somerset, NJ

Since I ran across this as well

The issues is that TraceViewer was built for xml4j which was shipped with WBIMB

Now WBIMB comes with Xerces so you need to change the reference from

%WMQI_HOME%\classes\xml4j.jar;

to

%WMQI_HOME%\classes\xerces.jar;

in TraceViewer .bat
_________________
Brian S. Crabtree
WBI Consultant
Back to top
View user's profile Send private message Send e-mail
PallaviBhasme
PostPosted: Thu Sep 21, 2006 2:55 am    Post subject: Reply with quote

Newbie

Joined: 11 Sep 2006
Posts: 2

I have MQ6.0 on XP with SUN Java 1.4.2_11
I have also given XML4j.jar file in %WMQI_HOME/classes

For my case it is giving

"Could not find the Main class. Program will exit!"

when I run the program

Please suggest any solution
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Sep 21, 2006 3:11 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

That means that the jar file for the tool itself is not on your classpath.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PallaviBhasme
PostPosted: Thu Sep 21, 2006 3:26 am    Post subject: Reply with quote

Newbie

Joined: 11 Sep 2006
Posts: 2

Hi jefflowrey

I have given the JAR file in the classpath but still giving the same eroor
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 » News/Updates » New MQSI tool - TraceViewer - available
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.