Jmeter启动GUI界面出错
2016-08-25 15:37
253 查看
今天要用Jmeter测试服务器性能,发现GUI界面总是有warning提示:
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
在网上搜了搜,发现是Jmeter需要写注册表。
解决办法如下
http://stackoverflow.com/questions/20698493/jmeter-starts-with-warning-message
http://www-01.ibm.com/support/docview.wss?uid=swg21496098
After running a clemb command under Windows 7 with Modeler 14.1 the following error is produced:
java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs
at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
The error occurs because java.util.prefs.WindowsPreferences is trying to save information in HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs instead of under HKEY_CURRENT_USER\Software\JavaSoft\Prefs.
java.util.prefs.WindowsPreferences需要保存信息到HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs而不是HKEY_CURRENT_USER\Software\JavaSoft\Prefs。
Windows 7 64-bit
The work around is to login as the administrator and create the key
HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs.
以管理员身份登录,创建HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs项
虽然Jmeter不会保存任何东西到该项,仍会将信息保存到HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs。
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
在网上搜了搜,发现是Jmeter需要写注册表。
解决办法如下
http://stackoverflow.com/questions/20698493/jmeter-starts-with-warning-message
http://www-01.ibm.com/support/docview.wss?uid=swg21496098
Problem(Abstract)
After running a clemb command under Windows 7 with Modeler 14.1 the following error is produced:java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs
at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Cause
The error occurs because java.util.prefs.WindowsPreferences is trying to save information in HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs instead of under HKEY_CURRENT_USER\Software\JavaSoft\Prefs.java.util.prefs.WindowsPreferences需要保存信息到HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs而不是HKEY_CURRENT_USER\Software\JavaSoft\Prefs。
Environment
Windows 7 64-bit
Resolving the problem
The work around is to login as the administrator and create the keyHKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs.
以管理员身份登录,创建HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs项
虽然Jmeter不会保存任何东西到该项,仍会将信息保存到HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs。
相关文章推荐
- 【jmeter】Jmeter启动GUI界面出错
- Jmeter启动GUI界面出错
- Jmeter启动GUI界面出错
- JMeter-认识GUI界面基本元素及作用
- (转)终于解决了从QII shell启动VJ调试GUI界面问题
- 后台启动 VirtualBox 虚拟机(无GUI图形化界面)
- 解决远程调用Jmeter需要启动jmeter-server.bat出错的问题【端口被占用】
- 安装启动Jmeter出错时的解决办法
- 非GUI模式下运行JMeter和远程启动JMeter
- 捋一捋 Activity 的启动流程 以及 界面的初始化过程
- QT GUI界面假死的处理
- 基于MATLAB GUI界面的MCU串口实时绘图设计
- NAntGUI 刚刚写了一个生成 NAnt .build 编译文件的小工具。刚刚写完了总体部分,先给大家看看界面(一)
- 【IDE-Visual Studio】启动出错(chenlu-1):参数“basePath”不能是相对路径
- H3C交换机只能启动到BootWare扩展字段,无法启动到应用配置界面
- 修改Ubuntu从字符界面启动
- asp.net运行出错:"试图运行项目时出错:无法启动调试。绑定句柄无效"怎么解决?
- CDE桌面环境中自动启动应用程序图形界面
- ubuntu init 字符界面 gdm 启动级别