You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2003/09/24 12:27:36 UTC

DO NOT REPLY [Bug 23366] - JMeter restricts classpath to jars

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23366>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23366

JMeter restricts classpath to jars





------- Additional Comments From tjsb@slb.com  2003-09-24 10:27 -------
As I see it, this is not strictly a JMeter problem - the java runtime ignores 
any classpath specification if the -jar flag is used.

One way to get round this would be to try calling the main() class directly, 
i.e. replace

java ... -jar ApacheJMeter.jar ...

with

java ... -cp ApacheJMeter.jar;... org.apache.jmeter.NewDriver ...

If this works, I suggest that this bug is turned into an enhancement request?

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org