Problem:
- How to resolve “Server failed to start: java.rmi.server.ExportException” issue in JMeter?
Or - Server (Host) error while running the JMeter test in the distributed (remote) mode.
Explanation:
To run the test in distributed mode, it is mandatory to start ‘jmeter-server’ service on all the slaves. You may get below exception while starting ‘jmeter-server’ service:
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)
Solution:
Follow the below steps to resolve this issue:
- Open jmeter.properties file in the /bin folder of Apache JMeter
- Search for the keyword ‘server.rmi.ssl.disable’
- Uncomment the statement and change the value to ‘true’
- Save the file and launch JMeter once again
# Set this if you don't want to use SSL for RMI
server.rmi.ssl.disable=true
Figure 02: Changes in jmeter.properties File
Post a Comment