Sorry, a little busy. the problem is resolved. because in my machine, there is java.exe in C:\Windows\System32\ directory(I don't know why, I checked it's version is alose 1.6.0_26, I'm using WIN7). But java is installed in C:\Program Files\Java\jdk1.6.0_26 so I delete java.exe, also javaws.exe, javaw.exe in C:\Windows\System32\ directory, then set JAVA_HOME to C:\Program Files\Java\jdk1.6.0_26, and add C:\Program Files\Java\jdk1.6.0_26\bin to Path system variable. it's ok now. thank you all.
在 2013-10-23 03:24:43,"Philippe Mouawad" <[email protected]> 写道: >Hello, >@黄吉浩 can you give us feedback about this issue ? >Thank you >Regards > > >On Tue, Oct 22, 2013 at 12:51 PM, sebb <[email protected]> wrote: > >> On 22 October 2013 08:36, 黄吉浩 <[email protected]> wrote: >> > >> > I know it changes it's name. but when I click 'Start', It just show me >> an error msg box which says: could not create proxy - see log for details >> > btw, I just want to deal with HTTP protocol. and I can't find >> proxyserver.jks or keytool in the $bin directory . >> > >> > the log is as following: >> > 2013/10/22 15:24:56 WARN - jmeter.protocol.http.proxy.ProxyControl: >> Could not open expected file or certificate is not valid >> D:\tool\apache-jmeter-2.10\bin\proxyserver.jks >> D:\tool\apache-jmeter-2.10\bin\proxyserver.jks (I translated to English: >> System can't find specified file) >> > 2013/10/22 15:24:56 INFO - jmeter.protocol.http.proxy.ProxyControl: >> Generating standard keypair in >> D:\tool\apache-jmeter-2.10\bin\proxyserver.jks >> > 2013/10/22 15:24:56 ERROR - jmeter.protocol.http.proxy.ProxyControl: >> Could not initialise key store java.io.IOException: Cannot run program >> "keytool" (in directory "D:\tool\apache-jmeter-2.10\bin"): CreateProcess >> error=2, ????????? >> >> What are the values listed in jmeter.log for: >> java.version >> and >> java.vm.name ? >> >> You can disable the use of keytool by defining the following JMeter >> property >> >> proxy.cert.alias=anything >> >> However that will prevent HTTPS recording unless you create your own >> certificate. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > >-- >Cordialement. >Philippe Mouawad.
