• JMeter

    Many moons ago I found a tarball of JMeter in my downloads folder. Finally I decided to have a go at installing it a task that turned out to be rather more complicated than it should have been.

    To start with; Jmeter source that I downloaded does not seem to be compatible with java version 1.5 (or 5.0). Ant exits with the following errors.


    [javac] javac: target release 1.2 conflicts with default source release 1.5
    BUILD FAILED
    /opt/java/jakarta-jmeter-2.0.1/build.xml:633: Compile failed; see the compiler error output for details.

    That was easily fixed by changing the JAVA_HOME and the PATH so that ant made user of the older 1.4.2 installation than the 1.5 version. That resulted in the Jmeter binary being compiled but the documentation wasn’t ready yet. As an added curiosity, once compiled jmeter would happily start up even if the JAVA_HOME was set to the 1.5 installation.

    Attempts to build the documentation produced nothing more than the following error message.


    report-anakia-missing:
    [echo]
    [echo] AnakiaTask is not present, documentation will not be generated.
    [echo]

    Investigations revealed that the missinga Anakia is a part of Velocity which I have never installed before. Downloading and installing that made the ant task proceed a step further - which means I now see a different error message.


    /opt/java/jakarta-jmeter-2.0.1/build.xml:91: Following error occured while executing this line
    /opt/java/jakarta-jmeter-2.0.1/build.xml:1114: taskdef A class needed by class org.apache.velocity.anakia.AnakiaTask cannot be found: org/jdom/JDOMException

    Naturally I suspected my JDOM installation as been outdated and downloaded and installed the latest version. That didn’t make any difference at all. Still scratching my head, I scratched around the download bundle of jmeter and guess what i found? what appears to be a customized version of JDOM. In fact removing the installed JDOM’s jarfile from the classpath and adding the custom build got rid of the JDOM error.

    And that ladies and gentlemen is how JMeter came to be installed in my computer.

    Thursday, September 2nd, 2004 at 02:05
No comments yet.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
TOP