[Grinder-use] Error with the script email.py
Distributed load testing framework - Java, Jython, or Clojure scripts.
Brought to you by:
philipa
From: <dev...@fr...> - 2005-07-29 13:36:58
|
Hi I try to run one of your script given in example, email.py, but i got one error. I use javamail.jar ( JavaMail(TM) API 1.3.3 ) I run The Grinder with this command "java -classpath C:\temp\grinder\lib\grinder.jar net.grinder.Console" and "java -classpath C:\temp\grinder\lib\grinder.jar;C:\temp\grinder\lib\mail= .jar net.grinder.Grinder" My log 29/07/05 09:49:01 (process Hercule-1): Error running worker process (Jyth= on error encountered initialising test script) net.grinder.engine.process.JythonScriptExecutionException: Jython error encountered initialising test script at net.grinder.engine.process.JythonScript.<init>(JythonScript.java:81) at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:223= ) at net.grinder.engine.process.GrinderProcess.main(GrinderProcess.java:10= 9) Caused by: java.lang.NoClassDefFoundError: javax/activation/DataSource at net.grinder.engine.process.JythonScriptExecutionException.stripPyExceptio= n(JythonScriptExecutionException.java:58) at net.grinder.engine.process.JythonScriptExecutionException.<init>(JythonSc= riptExecutionException.java:48) ... 3 more Caused by: java.lang.NoClassDefFoundError: javax/activation/DataSource at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.python.core.SyspathJavaLoader.loadClass(SyspathJavaLoader.java) at java.lang.ClassLoader.loadClass(Unknown Source) at org.python.core.Py.findClassEx(Py.java) at org.python.core.SysPackageManager.findClass(SysPackageManager.java) at org.python.core.PackageManager.findClass(PackageManager.java) at org.python.core.SysPackageManager.findClass(SysPackageManager.java) at org.python.core.PyJavaPackage.__findattr__(PyJavaPackage.java) at org.python.core.imp.importFromAs(imp.java) at org.python.core.imp.importFrom(imp.java) at org.python.pycode._pyx0.f$0(C:\temp\grinder\.\Hercule-file-store\current\= email.py:18) at org.python.pycode._pyx0.call_function(C:\temp\grinder\.\Hercule-file-stor= e\current\email.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyCode.call(PyCode.java) at org.python.core.Py.runCode(Py.java) at org.python.core.__builtin__.execfile_flags(__builtin__.java) at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java) at net.grinder.engine.process.JythonScript.<init>(JythonScript.java:78) ... 2 more Thanks for your help. Pierre |