|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Visual Edit v0.5.0 |
« View previous topic :: View next topic » |
Author |
Message
|
RogerLacroix |
Posted: Thu Jul 31, 2003 10:54 pm Post subject: MQ Visual Edit v0.5.0 |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 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 |
|
 |
RogerLacroix |
Posted: Mon Aug 11, 2003 9:03 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 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 |
|
 |
vennela |
Posted: Sat Aug 16, 2003 10:56 am Post subject: |
|
|
 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 |
|
 |
RogerLacroix |
Posted: Sun Aug 17, 2003 5:30 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 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 |
|
 |
|
|
 |
|
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
|
|
|
|