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 2002/08/03 14:53:42 UTC

DO NOT REPLY [Bug 11442] New: - jmeter fails to load if there are classpath entries with spaces

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=11442>.
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=11442

jmeter fails to load if there are classpath entries  with spaces

           Summary: jmeter fails to load if there are classpath entries
                    with spaces
           Product: JMeter
           Version: 1.7
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: jeff_gaer@yahoo.com
                CC: jeff_gaer@yahoo.com


I did search the bug listing, I can't beleive that I am the first to find this 
so I apologize if I missed it ( search on classpath and space). Db2 is 
installed under program files on my machine and it looks like the space in the 
path is causing jmeter to tokenize the path incorrectly. 


C:\jakarta-jmeter\bin>CALL ..\lcp.bat ..\lib\ant-1.4.1.jar
b
c
Exception in thread "main" java.lang.NoClassDefFoundError: 
Files\SQLLIB\java\db2java/zip;D:\Program

C:\jakarta-jmeter\bin>echo %CLASSPATH%
c:\jdk1.3.1_01\lib;C:\j2sdkee1.3\lib\j2ee.jar;.;D:\Program 
Files\SQLLIB\java\db2java.zip;D:\Program Files\SQLLIB\java\runtime.zip;D:
\Program Files\SQLLIB\bin

C:\jakarta-jmeter\bin>


Note: echo a,b,c added to isolate line in jmeter.bat file as follows

echo a
for %%i in ("..\lib\*.jar") do CALL ..\lcp.bat %%i
echo b
for %%i in ("..\ext\*.jar") do CALL ..\lcp.bat %%i
echo c


java -cp %LOCALCLASSPATH%;ApacheJMeter.jar -D%LOG4JCONFIG% %HOST% %PORT% 
org.apache.jmeter.NewDriver %PROP%

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>