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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to