Re: Perl module on NT

2002-12-03 Thread Wyatt, T. Rob



Thanks, Ian. I've been working with the current module author and
we have identified a few bugs in the code related to cluster commands.
Hopefully, some of these failed tests will pass once the new version comes
out.

Unfortunately, once the Perl bugs are out of the way, there are still the
mysteries of clusters to deal with. I've decoded the PCF commands by hand
with a hex dumper and calculator and see that the formats are right and the
responses back from the Command Server are good - but some of the commands
appear to have no effect. Even MQ Explorer reports conflicting information
aboutmy cluster, depending on where you look.
Sigh...

--
T.Rob

  -Original Message-From: Ian Steyn
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 26, 2002
  4:20 PMTo: [EMAIL PROTECTED]Subject: Re: Perl
  module on NTRob,
  I get the following.
  Failed Test  Status Wstat Total
  Fail Failed List of Failed 
  t\20convert.t
  6  2 33.33%
  5-6 t\30basic.t  
 17  3
  17.65% 6-7, 15 Failed
  2/7 test scripts, 71.43% okay. 5/1949 subtests failed, 99.74% okay.
  If "NOSERVER=1" in the CONFIG file
  is commented out, the results is exactly the same as yours. I don't have a PCF script to test and see if that
  works. Ian
  
  


  
  "Wyatt, T. Rob"
[EMAIL PROTECTED] Sent by: MQSeries List
[EMAIL PROTECTED]
11/26/2002 12:34 PM Please respond to MQSeries List 
  To:  
 [EMAIL PROTECTED] cc:   
   
 Subject:Perl module on
NTHas
  anyone out there gotten the Perl MQSeries module to compile *and* had
  asuccessful run of the test suite on NT? I've been using the module
  on NTservers for quite a while. It compiles and installs but never
  passes thetests. Still, it works great for most everyday functions.
  Recently I trieddoing some PCF cluster commands and I guess I'm
  exercising the parts of thecode that fail the tests. I've tried
  module versions 1.7 through 1.9 onActive State 5.6.1 builds 629 through
  633 with the same result.I'd feel a lot better if I knew whether
  anyone else has done thissuccessfully.Here's the run-time
  error:Unable to translate Command/Parameters into MQEncodePCF
  inputData conversion hook (PutConvert) failed
  atD:/Perl/site/lib/MQSeries/Command.pm line 772The compile shows
  the following warnings:Please specify prototyping behavior for
  DeadLetter.xs (see perlxs manual)Please specify prototyping behavior for
  PCF.xs (see perlxs manual)Please specify prototyping behavior for
  RulesFormat.xs (see perlxs manual)The test run looks like
  this:I:\MQSeries-1.19nmake test TEST_VERBOSE=1Microsoft (R)
  Program Maintenance Utility  Version 6.00.8168.0Copyright (C)
  Microsoft Corp 1988-1998. All rights reserved.  
  D:\Perl\bin\perl.exe -Mblib -ID:\Perl\lib -ID:\Perl\lib -e
  "useTest::Harness qw(runtests $verbose); $verbose=0; runtests
  @ARGV;" t\10constants.tt\20convert.t t\30basic.t t\40oo-qmgr.t
  t\50oo-command.t t\60-logs.tt\70-config.tUsing
  I:/MQSeries-1.19/MQClient/../blibt\10constants...okt\20convert.FAILED
  tests 2-6   Failed 5/6 tests, 16.67%
  okayt\30basic...FAILED tests 2-17  
  Failed 16/17 tests, 5.88% okayt\40oo-qmgr.ok 1/9MQCONN
  failed (Reason = 2058) (Queue manager namenotvalid or not known.) at
  t\40oo-qmgr.t line 40t\40oo-qmgr.FAILED tests 2-9 
   Failed 8/9 tests, 11.11%
  okayt\50oo-command..okt\60-logs...okt\70-config.okFailed
  Test  Status Wstat Total Fail Failed List of
  Failedt\20convert.t
  6  5
  83.33% 2-6t\30basic.t 
  17  16 94.12%
  2-17t\40oo-qmgr.t   
   9  8 88.89% 2-9Failed 3/7 test
  scripts, 57.14% okay. 29/1824 subtests failed, 98.41% okay.NMAKE : fatal
  error U1077: 'D:\Perl\bin\perl.exe' : return code '0xff'Stop.NMAKE :
  fatal error U1077: 'cd' : return code
  '0x2'Stop.I:\MQSeries-1.19Thanks --
  T.RobInstructions for managing your mailing list subscription are
  provided inthe Listserv General Users Guide available at
  http://www.lsoft.comArchive:
  http://vm.akh-wien.ac.at/MQSeries.archive


Re: Perl module on NT

2002-11-26 Thread Ian Steyn

Rob,

I get the following.


Failed Test  Status Wstat Total Fail Failed List of Failed

t\20convert.t 6  2 33.33% 5-6
t\30basic.t  17  3 17.65% 6-7, 15

Failed 2/7 test scripts, 71.43% okay. 5/1949 subtests failed, 99.74% okay.

If NOSERVER=1 in the CONFIG file is commented out, the results is exactly the same as yours.
I don't have a PCF script to test and see if that works.


Ian







Wyatt, T. Rob [EMAIL PROTECTED]
Sent by: MQSeries List [EMAIL PROTECTED]
11/26/2002 12:34 PM
Please respond to MQSeries List


To:[EMAIL PROTECTED]
cc:
Subject:Perl module on NT


Has anyone out there gotten the Perl MQSeries module to compile *and* had a
successful run of the test suite on NT? I've been using the module on NT
servers for quite a while. It compiles and installs but never passes the
tests. Still, it works great for most everyday functions. Recently I tried
doing some PCF cluster commands and I guess I'm exercising the parts of the
code that fail the tests. I've tried module versions 1.7 through 1.9 on
Active State 5.6.1 builds 629 through 633 with the same result.

I'd feel a lot better if I knew whether anyone else has done this
successfully.

Here's the run-time error:
Unable to translate Command/Parameters into MQEncodePCF input
Data conversion hook (PutConvert) failed at
D:/Perl/site/lib/MQSeries/Command.pm line 772

The compile shows the following warnings:
Please specify prototyping behavior for DeadLetter.xs (see perlxs manual)
Please specify prototyping behavior for PCF.xs (see perlxs manual)
Please specify prototyping behavior for RulesFormat.xs (see perlxs manual)

The test run looks like this:
I:\MQSeries-1.19nmake test TEST_VERBOSE=1

Microsoft (R) Program Maintenance Utility  Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

D:\Perl\bin\perl.exe -Mblib -ID:\Perl\lib -ID:\Perl\lib -e use
Test::Ha
rness qw(runtests $verbose); $verbose=0; runtests @ARGV; t\10constants.t
t\20c
onvert.t t\30basic.t t\40oo-qmgr.t t\50oo-command.t t\60-logs.t
t\70-config.t
Using I:/MQSeries-1.19/MQClient/../blib
t\10constants...ok
t\20convert.FAILED tests 2-6
Failed 5/6 tests, 16.67% okay
t\30basic...FAILED tests 2-17
Failed 16/17 tests, 5.88% okay
t\40oo-qmgr.ok 1/9MQCONN failed (Reason = 2058) (Queue manager name
not
valid or not known.) at t\40oo-qmgr.t line 40
t\40oo-qmgr.FAILED tests 2-9
Failed 8/9 tests, 11.11% okay
t\50oo-command..ok
t\60-logs...ok
t\70-config.ok
Failed Test  Status Wstat Total Fail Failed List of Failed



t\20convert.t 6  5 83.33% 2-6
t\30basic.t  17  16 94.12% 2-17
t\40oo-qmgr.t 9  8 88.89% 2-9
Failed 3/7 test scripts, 57.14% okay. 29/1824 subtests failed, 98.41% okay.
NMAKE : fatal error U1077: 'D:\Perl\bin\perl.exe' : return code '0xff'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

I:\MQSeries-1.19

Thanks -- T.Rob

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive