I am getting the below error while launching Jmeter
java.util.prefs.WindowsPreferences WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. Server failed to start: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is: java.io.FileNotFoundException: rmi_keystore.jks (The system cannot find the file specified) An error occurred: Listen failed on port: 0; nested exception is: java.io.FileNotFoundException: rmi_keystore.jks (The system cannot find the file specified) errorlevel=1 Press any key to continue . . .
It seems you're trying to run JMeter in distributed mode, the error is about missing rmi_keystore.jks
file which is required for secure communication between master and slaves which is default behavior since JMeter 4.0
You need to launch create-rmi-keystore.bat
file and supply the required information:
See Setting UP SSL chapter for more details
Alternatively you can add the next line to user.properties file:
server.rmi.ssl.disable=true
This setting will disable secure communication between JMeter master and slaves and you will not have to create the keystore.
User contributions licensed under CC BY-SA 3.0