check_jmx4perl 1.10 findDeadlockedThreads ERROR "Invalid number of operation arguments"

Hi,

The problem is:
$ check_jmx4perl --url http://localhost:8081/jolokia --mbean java.lang:type=Threading --operation findDeadlockedThreads --null no-deadlock --string 1 --critical \!no-deadlock --critical 10
UNKNOWN - Error: 400 java.lang.IllegalArgumentException : Invalid number of operation arguments. Operation findDeadlockedThreads on java.lang:type=Threading requires 0 parameters, not 1 as given

The Environment is:
OS:
Linux test1 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
perl:
v5.10.1 (*) built for x86_64-linux-thread-multi
Tomcat:
apache-tomcat-7.0.52
Java:
java version "1.7.0_51"
jolokia:
jolokia-1.2.2
check_jmx4perl:
check_jmx4perl 1.10
And I also find a similar question at https://rt.cpan.org/Public/Bug/Display.html?id=81699 , and https://github.com/rhuss/jmx4perl/issues/21 also talk about it. The difference is version of check_jmx4perl and jolokia.

Best regards,
Guoqin LI
gqlgl2050#sina.com

Thanks for reporting this bug, its fixed for 1.11 (the development version 1.11_2 contains this fix, I just uploaded it to CPAN (might take a bit until available)).
There was also an error in the documentation, --string must not take any argument. The proper call is:
$ check_jmx4perl --url http://localhost:8080/jolokia --mbean java.lang:type=Threading --operation findDeadlockedThreads --null no-deadlock --critical ‘!no-deadlock‘
OK - [java.lang:type=Threading,findDeadlockedThreads] : ‘no-deadlock‘ as expected |[java.lang:type#Threading,findDeadlockedThreads]=no-deadlock;;!no-deadlock

原文地址:https://rt.cpan.org/Ticket/Display.html?id=98166

目前的解决办法是check_jmx4perl 版本回滚到1.0.7,jolokia版本不变。

check_jmx4perl 1.10 findDeadlockedThreads ERROR "Invalid number of operation arguments"

时间: 2024-10-13 01:30:43

check_jmx4perl 1.10 findDeadlockedThreads ERROR "Invalid number of operation arguments"的相关文章

nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"

   系统版本:CentOS 6.5 x86_64     nginx版本:Nginx-1.6.1 今天在测试升级nginx版本到nginx-1.7.0的时候,有点小小的插曲,报错了nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid",在此记录以下加强记忆的同时,也避免以后再出现类似错误. Step1. 升级完毕后,进行了重启(也可执行kill -QUIT 主进程号) St

Check failed: error == cudaSuccess (10 vs. 0) invalid device ordinal

ubuntu14.04 caffe 运行别人的程序,报错Check failed: error == cudaSuccess (10 vs. 0)  invalid device ordinal.根据网上的说法,GPU内存不够,可是batch大小改为1了还是不行.问了博士师兄才发现,在该行上面有一行,写着using GPUs 1.而我只有一个GPU,如图2,我把solver_48.prototxt中最后一行的device_id改为0,接着运行,见图1,这个错误就没有啦--当然我的又报了别的错..

nginx: [error] invalid PID number “” in “/usr/local/var/run/nginx/nginx.pid”

在Mac上用brew安装Nginx,然后修改Nginx配置文件,再重启时报出如下错误: nginx: [error] invalid PID number "" in "/usr/local/var/run/nginx/nginx.pid" 解决办法: $ sudo nginx -c /usr/local/etc/nginx/nginx.conf $ sudo nginx -s reload

nginx: [error] invalid PID number问题处理

再启动nginx服务时,无法正常启动,报错误信息如下nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid" 解决方法: /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf 使用nginx -c的参数指定nginx.conf文件的位置然后再重新启动,解决问题,可以通过ps -ef|grep nginx

nginx: [error] invalid PID number

一.检查nginx配置文件语法有无错误 [[email protected] conf]# /application/nginx/sbin/nginx -tnginx: the configuration file /application/nginx-16.0/conf/nginx.conf syntax is ok nginx: configuration file /application/nginx-16.0/conf/nginx.conf test is successful 二.平滑

nginx: [error] invalid PID number "" in "/run/ngin

nginx重启报错:nginx: [error] invalid PID number "" in "/run/nginx.pid" 问题描述:执行 nginx -t 是OK的,然而在执行 nginx -s reload 的时候报错 nginx: [error] invalid PID number "" in "/run/nginx.pid" 解决办法 需要先执行 nginx -c /etc/nginx/nginx.conf

解决 nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"

使用/usr/local/nginx/sbin/nginx -s reload 重新读取配置文件出错 [[email protected] nginx]/usr/local/nginx/sbin/nginx -s reload提示 nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid" [[email protected] nginx]# cd logs[[email pro

ORA-01722: invalid number

---问题 select owner,index_name,DEGREE from DBA_INDEXES where DEGREE>1 * ERROR at line 1: --1 获取执行跟踪信息 SQL> set autotrace traceonly SQL> select owner,index_name,DEGREE from DBA_INDEXES where DEGREE=1 and rownum<2; Elapsed: 00:00:00.05 Execution

ORA-01722: invalid number,ORA-12801

SQL: SELECT /*+ parallel(a,32) */ a.id           ,a.data_date           ,a.mobile_num           ,a.mobile_code           ,b.prov AS mobile_prov           ,b.city AS mobile_city           ,b.mobile_oper           ,a.psam           ,a.psam_code