Subject: | problem with READ_ATTRIBUTE |
When I create a new JMX::Jmx4Perl::Request such as:
my $request = new JMX::Jmx4Perl::Request(READ_ATTRIBUTE,$mbean,$attribute);
I recieve the following error:
Invalid type 'READ_ATTRIBUTE' given (should be one of remnotif read
regnotif list exec write) at ./jmx_test.pl line 14
The only way I found to resolve it is to substitute READ_ATTRIBUTE with
"read" such as this:
my $request = new JMX::Jmx4Perl::Request("read",$mbean,$attribute);
The only reason I mention it is because it's listed as an example in the
JMX::Jmx4Perl::Request POD.
Module Version: 0.1
Perl Version: v5.10.0 built for x86_64-linux-gnu-thread-multi
OS Info: Linux ubuntu64 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17
01:58:03 UTC 2009 x86_64 GNU/Linux