jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61026] Cannot run program "keytool": CreateProcess error=2 when starting JMeter 3.2 in gui mode
Date Sun, 23 Apr 2017 12:15:13 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61026

Milamber <milamber@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Milamber <milamber@apache.org> ---

Thank you for your report. This not an issue, JMeter try several ways to find
the keytool util. 
The error message just say that JMeter don't find keytool util from PATH
environment variable.
After JMeter finally found keytool from JAVA_HOME variable, so the keystore can
be generated with success.

So JMeter 3.2 despite the -not-error message will work correctly on your
machine.

I've change this message from the level ERROR to INFO to avoid this (false)
error message (and move the stacktrace into DEBUG level).


Thanks



URL: http://svn.apache.org/viewvc?rev=1792359&view=rev
Log:
Cannot run program "keytool": CreateProcess error=2 when starting JMeter 3.2 in
gui mode
Change level (from ERROR to INFO) of the exception message when JMeter try to
find the keytool util from PATH env var. It's not a error because JMeter try to
find keytool with several ways.
Little code format to allow better code review.
Bugzilla Id: 61026

Modified:
    jmeter/trunk/src/jorphan/org/apache/jorphan/exec/KeyToolUtils.java
    jmeter/trunk/xdocs/changes.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message