PerfMatrix Site Link: https://www.perfmatrix.com/server-failed-to-start-java-rmi-server-exportexception/
Problem: Server (Host) error while running the JMeter test in distributed (remote) mode
Description: To run the test in distributed mode, it is mandatory to start 'jmeter-server' service on all the slaves. While starting this service below exception is thrown:
Server failed to start: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is:
java.io.FileNotFoundException: rmi_keystore.jks (No such file or directory)
An error occurred: Listen failed on port: 0; nested exception is:
java.io.FileNotFoundException: rmi_keystore.jks (No such file or directory)
Error Screenshot:
Solution: Follow the below steps to resolve this issue:
Problem: Server (Host) error while running the JMeter test in distributed (remote) mode
Description: To run the test in distributed mode, it is mandatory to start 'jmeter-server' service on all the slaves. While starting this service below exception is thrown:
Server failed to start: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is:
java.io.FileNotFoundException: rmi_keystore.jks (No such file or directory)
An error occurred: Listen failed on port: 0; nested exception is:
java.io.FileNotFoundException: rmi_keystore.jks (No such file or directory)
Error Screenshot:
Solution: Follow the below steps to resolve this issue:
1. Open <JMETER_HOME>/bin/jmeter.properties
2. Search for the keyword 'server.rmi.ssl.disable'
3. Uncomment the statement and update its value to 'true'.
Hi,
ReplyDeleteEven after making the above changes to the jmeter.properties file. Jmeter-server batch file is showing the same error. Can you please tell me what the problem could be.I'm using Jmeter 4.0
The possible reason I mentioned above. Please re-check the setting once again.
Deletehi,
ReplyDeleteafter the changes and i mentioned rmi.ssl.disabled=true,same problem is repeated.can you tell me what was the problem could be? i am using jmeter 5.1