agent在linux上运行报错

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

agent在linux上运行报错

shuewah
[root@ND0302015126 ngrinder-agent]# ./run_agent.sh
Exception in thread "main" java.lang.NoClassDefFoundError: org.ngrinder.NGrinderAgentStarter
   at gnu.java.lang.MainThread.run(libgcj.so.10)
Caused by: java.lang.ClassNotFoundException: org.ngrinder.NGrinderAgentStarter not found in gnu.gcj.runtime.SystemClassLoader{urls=[], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.10)
   at java.lang.ClassLoader.loadClass(libgcj.so.10)
   at java.lang.ClassLoader.loadClass(libgcj.so.10)
   at gnu.java.lang.MainThread.run(libgcj.so.10)
Reply | Threaded
Open this post in threaded view
|

RE: agent在linux上运行报错

Mavlarn

NGrinderAgentStarter 这个是agent启动的main类,如果从controller里面下载agent,直接解压缩运行,不需要任何配置就可以运行的。你是不是修改了什么地方的配置或者代码?

 

 

-----Original Message-----
From: "shuewah [via ngrinder]"<[hidden email]>
To: "Mavlarn"<[hidden email]>;
Cc:
Sent: 2015-01-21 (星期三) 17:56:22
Subject: agent在linux上运行报错
 

[root@ND0302015126 ngrinder-agent]# ./run_agent.sh
Exception in thread "main" java.lang.NoClassDefFoundError: org.ngrinder.NGrinderAgentStarter
   at gnu.java.lang.MainThread.run(libgcj.so.10)
Caused by: java.lang.ClassNotFoundException: org.ngrinder.NGrinderAgentStarter not found in gnu.gcj.runtime.SystemClassLoader{urls=[], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.10)
   at java.lang.ClassLoader.loadClass(libgcj.so.10)
   at java.lang.ClassLoader.loadClass(libgcj.so.10)
   at gnu.java.lang.MainThread.run(libgcj.so.10)


If you reply to this email, your message will be added to the discussion below:
http://ngrinder.642.n7.nabble.com/agent-linux-tp1723.html
To start a new topic under ngrinder-user-cn, email [hidden email]
To unsubscribe from ngrinder-user-cn, click here.
NAML