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 » IBM MQ Performance Monitoring » MQ Visual Edit v0.5.0

Post new topic  Reply to topic
 MQ Visual Edit v0.5.0 « View previous topic :: View next topic » 
Author Message
RogerLacroix
PostPosted: Thu Jul 31, 2003 10:54 pm    Post subject: MQ Visual Edit v0.5.0 Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

All:

I have released the next beta v0.5.0 of MQ Visual Edit.

The following enhancements / fixes have been made:
- Added XML Viewer (read-only) to the Simple Message Edit Panel
- Now MQ Visual Edit distribution includes the xerces.jar XML parser.
- Updated the classpath environment variable in both mqve.bat & mqve.sh
- The Simple Edit Message Panel now remembers the height & width.
- Fixed bug - 'Clear Queue' menu item was not being enabled.
- Added icon for main JFrame - i.e. visible on the taskbar
- Updated docs (English only)


You can download MQ Visual Edit at:
http://www.capitalware.biz/beta.html

Note: This is an on-going project, so please send comments and / or complaints to me.

Regards,
Roger Lacroix
Enterprise Architect
Capitalware Inc.
http://www.capitalware.biz
----------------------------------------
IBM Certified Specialist - MQSeries
IBM Certified Developer - MQSeries
IBM Certified Solutions Expert - MQSeries
----------------------------------------
Back to top
View user's profile Send private message Visit poster's website
RogerLacroix
PostPosted: Mon Aug 11, 2003 9:03 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

All:

Originally when I wrote the code to handle the XML view, I used test data of 10KB to 100KB. The XML tree displayed very quickly. Late last week, I tried loading a 2MB XML message. Well, much to my shock, it took about 8 minutes to parse & render the XML tree (my PC is no slow poke - P4 2.4Ghz with 512 MB RAM).

So I reviewed the code trying to figure out what method(s) was causing the delay. After much fooling around, I realized that a piece of code that I got from a Java book was the problem. I got a tip from a book on how to display a XML tree fully expanded. I thought it was a cute piece of code so I included. On small XML messages it ran fine but on large messages it ran like a dog.

The difference is huge. On the same PC with the same 2MB XML message, it now parses and renders the XML tree in less than 2 seconds (yes, seconds not minutes). I tried a 10MB XML message and it is displayed in about 7 seconds.

So, if you are using MQ Visual Edit with XML messages, please download v0.5.2 beta. I posted it early this morning (Aug 11).

You can download MQ Visual Edit at:
http://www.capitalware.biz/beta.html

Note: This is an on-going project, so please send comments and / or complaints to me.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
vennela
PostPosted: Sat Aug 16, 2003 10:56 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Roger:

I tried to invoke MQVE on a Linux machine. I tried this command
mqve.sh

I have the CLASSPATH set. But it is giving me a classDefNot FoundError.

Please advise

echo $CLASSPATH
/downloads/JDK/Capitalware/MQVE/MQVE.jar:/downloads/JDK/Capitalware/MQVE/xercesImpl.jar:/downloads/JDK/Capitalware/MQVE/xml-apis.jar:/downloads/JDK/Capitalware/MQVE/xmlParserAPIs.jar:/downloads/JDK/Capitalware/MQVE/com.ibm.mq.pcf.jar:/downloads/JDK/Capitalware/MQVE/MA88/com.ibm.mq.jar:/downloads/JDK/Capitalware/MQVE/MA88/com.ibm.mqbind.jar:/downloads/JDK/Capitalware/MQVE/MA88/connector.jar:/downloads/JDK/Capitalware/MQVE/MA88:.:..:

This is the error
Exception in thread "main" java.lang.NoClassDefFoundError: biz/capitalware/mqve/MQVE

Thanks
-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
RogerLacroix
PostPosted: Sun Aug 17, 2003 5:30 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

Oops, a Linux (actually Unix) test slipped through the cracks.

I forgot to test the mqve.sh shell script after I modified it for the Xerces files. I did the update on Windows and I forgot to strip the CRLF to LF.

I think what was happening was that you ended up with an invalid CLASSPATH.

Anyway, I have updated mqve.sh and reposted the downloads. I did a real test on Linux RH v8 with WMQ v5.3 and it worked just fine (I'll do a Solaris test tomorrow).

If you don't want to re-download the whole package then here is the updated mqve.sh
Code:
#!/bin/sh
#
# Starting MQ Visual Edit
#
# AIX, Solaris and Linux -- LD_LIBRARY_PATH
export LD_LIBRARY_PATH=MA88:$LD_LIBRARY_PATH
#
# Native MA88 path - Uncomment this export for native MA88 support
###export LD_LIBRARY_PATH=/opt/mqm/java/lib:$LD_LIBRARY_PATH
#
# HP-UX  -- SHLIB_PATH
#export SHLIB_PATH=/opt/mqm/java/lib:$SHLIB_PATH
#
export CLASSPATH=./MQVE.jar:./xercesImpl.jar:./xml-apis.jar:./xmlParserAPIs.jar:./com.ibm.mq.pcf.jar:MA88/com.ibm.mq.jar:MA88/com.ibm.mqbind.jar:MA88/connector.jar:MA88:.:$CLASSPATH
#
# Native MA88 path - Uncomment this export for native MA88 support
###export CLASSPATH=./MQVE.jar:./xercesImpl.jar:./xml-apis.jar:./xmlParserAPIs.jar:./com.ibm.mq.pcf.jar:/opt/mqm/java/lib/com.ibm.mq.jar:/opt/mqm/java/lib/com.ibm.mqbind.jar:/opt/mqm/java/lib/connector.jar:/opt/mqm/java/lib:.:$CLASSPATH
#
java -Xms64m -Xmx384m  biz.capitalware.mqve.MQVE


Before you complain about failing to connect to a local queue manager with binding mode on Linux, please remember that the MQVE distribution includes the Windows MA88 SupportPac. Therefore, download and install the appropriate MA88 SupportPac and then you will need to update the 2 export lines in mqve.sh.

I have included, but commented out, 2 sample export (LD_LIBRARY_PATH & CLASSPATH) lines in the mqve.sh (see above).

If these lines do not work for you then do a global replace of "MA88" for whatever your correct path is (i.e. /opt/mqm/java/lib )

Hope that helps.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Performance Monitoring » MQ Visual Edit v0.5.0
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.