Open smehboub opened 4 years ago
Something like this java.lang.ClassNotFoundException: com.github.johrstrom.listener.PrometheusListener
means the plugin is not installed on the minion instances.
You say it's available, so I guess you'd have to be sure to restart the minion or ensure it has the correct file permissions. Also I'm always confused on the difference between lib
and lib/ext
so maybe a symlink from one to other may work (can't hurt anyhow, I don't think...).
Hello,
FIrstly, thank you very much for your work.
When i run my loadtest with the prometheus listener only on Jmeter master, the plugin work well but when i use distributed loadtest JMeter by specifying 1 slave, i get these errors :
Error in rconfigure() method java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: com.github.johrstrom.listener.PrometheusListener (no security manager: RMI class loader disabled)
When i remove the prometheus listener from my jmx loadtest file, my distributed loadtest JMeter by specifying 1 slave work well.
ENV: Debian GNU/Linux 9 (stretch) openjdk version "1.8.0_181" Jmeter 5.0 jmeter-prometheus-plugin-0.6.0.jar
command: jmeter -n -t mytest.jmx -Dserver.rmi.ssl.disable=true -R 10.0.0.3
PS : jmeter-prometheus-plugin-0.6.0.jar is avalaible on master and slaves (in ext/lib directory)
Can you help me, please ?
Thanks in advance. Rgs,
Sophian Mehboub