Author |
Message
|
exerk |
Posted: Thu Nov 09, 2006 2:48 am Post subject: MS0l Support Pac and WMQ v6.0 |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Platform: AIX, P5 Series
The java program is failing with a null pointer exception, which stems from a gettimestamp type call. The support pac has been working fine with v5.3 on the same platform (although blade-based).
Contrasting v5.3 and v6.0 queue manager error logs shows a difference in the format, v6.0 now adds more data after the timestamp.
Has anyone else hit this problem and overcome it? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Nov 09, 2006 3:18 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
MS0L?
MS0L: MQSeries - Linear Logfile Maintenance in Java & Korn Shell
I've always used Brian's:
MS62: MQSeries - Linear log clean-up script
which works fine with V6.
(btw, Brian's latest version is here:
http://www.shelden-associates.com/download/
) _________________ -wayne
Last edited by wschutz on Thu Nov 09, 2006 3:23 am; edited 3 times in total |
|
Back to top |
|
 |
exerk |
Posted: Thu Nov 09, 2006 3:19 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Yes, my apologies for the typo...and I couldn't immediately edit it due to the time restriction on posts. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Nov 09, 2006 3:26 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Humm... no source code ... you can contact Tim directly, his e-mail is in the readme.... _________________ -wayne |
|
Back to top |
|
 |
exerk |
Posted: Thu Nov 09, 2006 3:32 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Thank you, I'll do that and much appreciate your assistance.
The reason the java version is our preference is due to cross-platform use. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Nov 09, 2006 3:35 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Perl is cross platform  _________________ -wayne |
|
Back to top |
|
 |
exerk |
Posted: Thu Nov 09, 2006 3:57 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
wschutz wrote: |
Perl is cross platform  |
But not installed on our Win platform... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 09, 2006 4:03 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
exerk wrote: |
wschutz wrote: |
Perl is cross platform  |
But not installed on our Win platform... |
Ask Tim for the updated version V6 compatible of MS0L. It is not on the support pack site yet, but we are using it and it works just fine.
The reason is the difference in the DATE TIME format in the log between 5.3 and 6.0 (2 spaces in 5.3 between date and time vs 1 space in 6.0).
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Thu Nov 09, 2006 4:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
exerk wrote: |
wschutz wrote: |
Perl is cross platform  |
But not installed on our Win platform... |
http://www.perl.com/download.csp#win32
Sorted!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Nov 09, 2006 4:11 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
The reason is the difference in the DATE TIME format in the log between 5.3 and 6.0 (2 spaces in 5.3 between date and time vs 1 space in 6.0). |
I heard last week that Java 5 supports regex parsing ....  _________________ -wayne |
|
Back to top |
|
 |
exerk |
Posted: Thu Nov 09, 2006 4:12 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
To be more specific, Perl is not part of the approved build and therefore is not available for our use . _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 09, 2006 4:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
wschutz wrote: |
Quote: |
The reason is the difference in the DATE TIME format in the log between 5.3 and 6.0 (2 spaces in 5.3 between date and time vs 1 space in 6.0). |
I heard last week that Java 5 supports regex parsing ....  |
No need for regex parsing or java 1.5. Even java 1.3 can handle it.
Date time format is lax parsing. Specifying 1 space in your format String will accomodate both 5.3 and 6.0, but specifying 2 spaces will only accomodate 5.3 and give a null value in 6.0 ...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|