I'm having a problem on a new computer. I installed v8.1.41 and restored a v8.1 gateway backup. Everything seems fine. Then I restored a v7.9.10 backup on this new gateway and during the restore process, the gateway won't restart. I've uninstalled and re-installed the v8.1.41 ignition and repeated the process several times. Every time I get the same result and the windows System Event Viewer Logs shows "The Ignition service terminated with the following service-specific error: Incorrect function". Any help would be greatly appreciated.
Can you upload your wrapper.log file after having restored the 7.9.10 backup?
I can, but I don't know how to do that.
wrapper.log (92.4 KB)
It looks like the ignition.conf from the 7.9 backup includes some JVM arguments that are no longer valid:
STATUS | wrapper | 2024/06/12 15:48:15 | Launching a JVM...
INFO | jvm 1 | 2024/06/12 15:48:15 | Unrecognized VM option 'UseConcMarkSweepGC'
INFO | jvm 1 | 2024/06/12 15:48:15 | Error: Could not create the Java Virtual Machine.
INFO | jvm 1 | 2024/06/12 15:48:15 | Error: A fatal exception has occurred. Program will exit.
ERROR | wrapper | 2024/06/12 15:48:15 | JVM exited while loading the application.
Post the "Java Additional Parameters" section from your ignition.conf file after the restore.
A fresh one for 8.x will look something like this:
# Java Additional Parameters
wrapper.java.additional.1=-Ddata.dir=data
wrapper.java.additional.2=--add-opens=java.base/java.lang=ALL-UNNAMED
wrapper.java.additional.3=--add-opens=java.base/java.io=ALL-UNNAMED
wrapper.java.additional.4=--add-opens=java.base/java.security.cert=ALL-UNNAMED
wrapper.java.additional.5=--add-opens=java.base/java.util=ALL-UNNAMED
wrapper.java.additional.6=--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
#wrapper.java.additional.6=-Xdebug
#wrapper.java.additional.7=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:8000
This was in the DATA folder after the v7.9 restore...
Java Additional Parameters
#wrapper.java.additional.1=-XX:PermSize=64m
#wrapper.java.additional.2=-XX:MaxPermSize=128m
wrapper.java.additional.3=-XX:+UseConcMarkSweepGC
#wrapper.java.additional.4=-XX:+CMSClassUnloadingEnabled
#wrapper.java.additional.5=-XX:+CMSPermGenSweepingEnabled
wrapper.java.additional.6=-Ddata.dir=data
wrapper.java.additional.7=-Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
#wrapper.java.additional.8=-Xdebug
#wrapper.java.additional.9=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
wrapper.java.additional.8=--add-opens=java.base/java.lang=ALL-UNNAMED
wrapper.java.additional.9=--add-opens=java.base/java.security.cert=ALL-UNNAMED
wrapper.java.additional.10=--add-opens=java.base/java.util=ALL-UNNAMED
wrapper.java.additional.11=--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
wrapper.java.additional.12=--add-opens=java.base/java.io=ALL-UNNAMED
wrapper.java.additional.13=-Dedition=
Okay, just delete that section and replace it with the one I posted.
That did it! THANKS!!