[Bug 459251] Re: java.lang.Throwable: Could not access /usr/share/jmeter/lib/junit
Craig
candrews at integralblue.com
Mon Oct 26 01:53:08 UTC 2009
My apologies - by bug report does suck. I swear - I don't normally make
such horrifically vague and uninformative bug reports!
When using the "HTTP Request Sampler," jmeter seems to work correctly.
When using the "HTTP Request HTTPClient Sampler," I get the attached
output in jmeter.log. IMHO, the most interesting part of the log is
this:
"ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException
at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:220)
at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2.java:833)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.DecoderException
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
... 8 more"
"org.apache.commons.codec.DecoderException" can be found in Apache
Commons Codec, which is Ubuntu's libcommons-codec-java, which I do have
installed. In /usr/share/java/commons-codec-1.3.jar,
org.apache.commons.codec.DecoderException is defined... so I don't know
why jmeter is unable to find it.
** Attachment added: "jmeter.log"
http://launchpadlibrarian.net/34376796/jmeter.log
--
java.lang.Throwable: Could not access /usr/share/jmeter/lib/junit
https://bugs.launchpad.net/bugs/459251
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list