When executing a Service Manager script in the <APPIAN_HOME>/services/bin directory, the following error is returned:
Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program "wmic": CreateProcess error=2, The system cannot find the file specified...Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
This error is returned when the PATH system variable is missing C:\windows\System32\wbem.
Follow the Appian documentation on setting up the JAVA_HOME and PATH variables to append ;C:\windows\System32\wbem to the end of the Variable value field.
This article applies to Appian 17.2 and later using Windows.
Last Reviewed: October 2018
© 2020 Appian. All rights reserved.