I'm not sure what's happening, it seems SSL certificate related but you can check out this post to see if you can fix your issue (note this post is client while yours is gateway):
After doing this it seems ignition can’t find the path to java:
INFO | jvm 1 | 2020/09/15 09:25:05 | 09:25:05,402 |-INFO in ch.qos.logback.classic.AsyncAppender[DBAsync] - Queue flush finished successfully within timeout.
STATUS | wrapper | 2020/09/15 09:25:05 | <-- Wrapper Stopped
STATUS | wrapper | 2020/09/15 09:25:52 | --> Wrapper Started as Service
STATUS | wrapper | 2020/09/15 09:25:52 | Java Service Wrapper Standard Edition 64-bit 3.5.42
STATUS | wrapper | 2020/09/15 09:25:52 | Copyright (C) 1999-2020 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2020/09/15 09:25:52 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2020/09/15 09:25:52 | Licensed to Inductive Automation for Inductive Automation
STATUS | wrapper | 2020/09/15 09:25:52 |
FATAL | wrapper | 2020/09/15 09:25:52 | Unable to execute Java command. The system cannot find the file specified. (0x2)
FATAL | wrapper | 2020/09/15 09:25:52 | "lib\runtime\jre-win\bin\java" -version
ADVICE | wrapper | 2020/09/15 09:25:52 |
ADVICE | wrapper | 2020/09/15 09:25:52 | --------------------------------------------------------------------
ADVICE | wrapper | 2020/09/15 09:25:52 | Advice:
ADVICE | wrapper | 2020/09/15 09:25:52 | Usually when the Wrapper fails to start the JVM process, it is
ADVICE | wrapper | 2020/09/15 09:25:52 | because of a problem with the value of the configured Java command.
ADVICE | wrapper | 2020/09/15 09:25:52 | Currently:
ADVICE | wrapper | 2020/09/15 09:25:52 | wrapper.java.command=lib\runtime\jre-win\bin\java
ADVICE | wrapper | 2020/09/15 09:25:52 | Please make sure that the PATH or any other referenced environment
ADVICE | wrapper | 2020/09/15 09:25:52 | variables are correctly defined for the current environment.
ADVICE | wrapper | 2020/09/15 09:25:52 | --------------------------------------------------------------------
ADVICE | wrapper | 2020/09/15 09:25:52 |
FATAL | wrapper | 2020/09/15 09:25:52 | Failed to resolve the version of Java.
STATUS | wrapper | 2020/09/15 09:25:52 | <-- Wrapper Stopped
STATUS | wrapper | 2020/09/15 09:27:25 | --> Wrapper Started as Service
STATUS | wrapper | 2020/09/15 09:27:25 | Java Service Wrapper Standard Edition 64-bit 3.5.42
STATUS | wrapper | 2020/09/15 09:27:25 | Copyright (C) 1999-2020 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2020/09/15 09:27:25 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2020/09/15 09:27:25 | Licensed to Inductive Automation for Inductive Automation
STATUS | wrapper | 2020/09/15 09:27:25 |
FATAL | wrapper | 2020/09/15 09:27:25 | Unable to execute Java command. The system cannot find the file specified. (0x2)
FATAL | wrapper | 2020/09/15 09:27:25 | "lib\runtime\jre-win\bin\java" -version
ADVICE | wrapper | 2020/09/15 09:27:25 |
ADVICE | wrapper | 2020/09/15 09:27:25 | --------------------------------------------------------------------
ADVICE | wrapper | 2020/09/15 09:27:25 | Advice:
ADVICE | wrapper | 2020/09/15 09:27:25 | Usually when the Wrapper fails to start the JVM process, it is
ADVICE | wrapper | 2020/09/15 09:27:25 | because of a problem with the value of the configured Java command.
ADVICE | wrapper | 2020/09/15 09:27:25 | Currently:
ADVICE | wrapper | 2020/09/15 09:27:25 | wrapper.java.command=lib\runtime\jre-win\bin\java
ADVICE | wrapper | 2020/09/15 09:27:25 | Please make sure that the PATH or any other referenced environment
ADVICE | wrapper | 2020/09/15 09:27:25 | variables are correctly defined for the current environment.
ADVICE | wrapper | 2020/09/15 09:27:25 | --------------------------------------------------------------------
ADVICE | wrapper | 2020/09/15 09:27:25 |
FATAL | wrapper | 2020/09/15 09:27:25 | Failed to resolve the version of Java.
STATUS | wrapper | 2020/09/15 09:27:26 | <-- Wrapper Stopped
STATUS | wrapper | 2020/09/15 09:27:44 | --> Wrapper Started as Service
STATUS | wrapper | 2020/09/15 09:27:44 | Java Service Wrapper Standard Edition 64-bit 3.5.42
STATUS | wrapper | 2020/09/15 09:27:44 | Copyright (C) 1999-2020 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2020/09/15 09:27:44 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2020/09/15 09:27:44 | Licensed to Inductive Automation for Inductive Automation
STATUS | wrapper | 2020/09/15 09:27:44 |
FATAL | wrapper | 2020/09/15 09:27:45 | Unable to execute Java command. The system cannot find the file specified. (0x2)
FATAL | wrapper | 2020/09/15 09:27:45 | "lib\runtime\jre-win\bin\java" -version
ADVICE | wrapper | 2020/09/15 09:27:45 |
ADVICE | wrapper | 2020/09/15 09:27:45 | --------------------------------------------------------------------
ADVICE | wrapper | 2020/09/15 09:27:45 | Advice:
ADVICE | wrapper | 2020/09/15 09:27:45 | Usually when the Wrapper fails to start the JVM process, it is
ADVICE | wrapper | 2020/09/15 09:27:45 | because of a problem with the value of the configured Java command.
ADVICE | wrapper | 2020/09/15 09:27:45 | Currently:
ADVICE | wrapper | 2020/09/15 09:27:45 | wrapper.java.command=lib\runtime\jre-win\bin\java
ADVICE | wrapper | 2020/09/15 09:27:45 | Please make sure that the PATH or any other referenced environment
ADVICE | wrapper | 2020/09/15 09:27:45 | variables are correctly defined for the current environment.
ADVICE | wrapper | 2020/09/15 09:27:45 | --------------------------------------------------------------------
ADVICE | wrapper | 2020/09/15 09:27:45 |
FATAL | wrapper | 2020/09/15 09:27:45 | Failed to resolve the version of Java.
STATUS | wrapper | 2020/09/15 09:27:45 | <-- Wrapper Stopped
I had the exact issue happening when trying to recover from a power failure on the plant. After we restored power and got the systems up and running again, we encountered the exact same issue in the wrapper logs when trying the start the Gateway.
Any conclusion on why this might be happening?
Lenny
We experienced the same issue after a power loss. We are on version 8.1.2, has there been any fix to this in newer releases or is this still an open issue? I was unable to find anything regarding this issue in the release notes.
Improved gateway supplemental import mechanism and added additional logging to show certificates which are imported into the gateway's default trust store.
I don't think we called out the problem explicitly because we're still not able to reliably reproduce or verify the exact problem is fixed, but there were some changes made that hopefully fix the issue.