在启动jmeter-server.bat时出现异常
Posted geariay
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在启动jmeter-server.bat时出现异常相关的知识,希望对你有一定的参考价值。
在启动jmeter-server.bat时出现异常:
WARNING: Could not open/create prefs root node SoftwareJavaSoftPrefs 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 (系统找不到指定的文件。)
An error occurred: Listen failed on port: 0; nested exception is:
java.io.FileNotFoundException: rmi_keystore.jks (系统找不到指定的文件。)
errorlevel=1
请按任意键继续. . .
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
查找后,发现解决方案
WARNING: Could not open/create prefs root node SoftwareJavaSoftPrefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.----------------解决方案:右键点击jmeter-server.bat,以管理员的身份运行
Server failed to start: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is:
java.io.FileNotFoundException: rmi_keystore.jks (系统找不到指定的文件。)
An error occurred: Listen failed on port: 0; nested exception is:
java.io.FileNotFoundException: rmi_keystore.jks (系统找不到指定的文件。)
errorlevel=1---------------------------------解决方案,打开bin下的jmeter.properties.找到server.rmi.ssl.disable=false,将false改为true,去掉#
参考文档:
https://blog.csdn.net/weixin_37848710/article/details/80142367
https://blog.csdn.net/weixin_42274149/article/details/90674175
以上是关于在启动jmeter-server.bat时出现异常的主要内容,如果未能解决你的问题,请参考以下文章