Server failed to start: java.rmi.server.ExportException

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)

Error Screenshot:

Server failed to start: java.rmi.server.ExportException
Figure 01: Error Screenshot

Solution:

Follow the below steps to resolve this issue:

  1. Open jmeter.properties file in the /bin folder of Apache JMeter
  2. Search for the keyword ‘server.rmi.ssl.disable’
  3. Uncomment the statement and change the value to ‘true’
  4. Save the file and launch JMeter once again
Server failed to start: java.rmi.server.ExportException
Figure 02: Changes in jmeter.properties File

2 Responses

  1. praveen says:

    I tried as above I am getting same issue could you please let me know how can I solve this kind of issue.

Leave a Reply

Your email address will not be published. Required fields are marked *