After installing nightly build from 11/08/2018 onto an Ubuntu VM, the gateway fails to launch.
Host OS: Linux 4.4.0-81-generic #104-Ubuntu SMP x86_64 GNU/Linux
Java version: jdk1.8.0_121
The error in the wrapper log is:
STATUS | wrapper | 2018/11/08 17:25:20 | Launching a JVM…
ERROR | wrapper | 2018/11/08 17:25:20 | JVM exited while loading the application.
INFO | jvm 5 | 2018/11/08 17:25:20 | Unrecognized VM option ‘PrintGCDateStamps’
INFO | jvm 5 | 2018/11/08 17:25:20 | Error: Could not create the Java Virtual Machine.
INFO | jvm 5 | 2018/11/08 17:25:20 | Error: A fatal exception has occurred. Program will exit.
FATAL | wrapper | 2018/11/08 17:25:20 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
FATAL | wrapper | 2018/11/08 17:25:20 | There may be a configuration problem: please check the logs.
STATUS | wrapper | 2018/11/08 17:25:20 | <-- Wrapper Stopped
I will try to upgrade Java, but was wondering if there is a version requirement? I did not see it on the beta installation page.
You need to update the ignition.conf to remove the PrintGCDateStamps argument that was added at some point - it's not supported by Java 11. I've also updated the auto-upgrade logic to remove this argument automatically; that fix will go into a future build to prevent this from happening again.
Thanks, I also had to disable several other options, see the comment lines below. I am not sure if UseG1GC was disabled before but the others I had to disable. Normally we use G1GC on our gateways as well.
@davidf
Can you post a wrapper.log file from a failed start? Also, if possible, could you remove Ignition altogether, then do a “clean” install of the nightly, then restore the .gwbk from your existing system? If that still fails, could you also upload/PM me your ignition.conf file from the system in the .gwbk?