Pages

Monday, 24 October 2016

JMeter Issue - Server failed to start: java.rmi.server.ExportException

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:
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'.


3 comments:

  1. Hi,
    Even 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

    ReplyDelete
    Replies
    1. The possible reason I mentioned above. Please re-check the setting once again.

      Delete
  2. hi,
    after 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

    ReplyDelete