[BUG-11343] Unable to start designer on Ubuntu 16.04

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.

#wrapper.java.additional.1=-XX:+UseG1GC
wrapper.java.additional.3=-Ddata.dir=/var/lib/ignition/data
wrapper.java.additional.4=-Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
wrapper.java.additional.7=-Dignition.allowunsignedmodules=true
wrapper.java.additional.8=-Dignition.tags.scriptthreads=30
wrapper.java.additional.9=-XX:+PrintGCDetails

wrapper.java.additional.10=-XX:+PrintGCDateStamps

wrapper.java.additional.11=-Xloggc:/var/log/ignition/gclog.txt

wrapper.java.additional.12=-XX:+UseGCLogFileRotation

wrapper.java.additional.13=-XX:NumberOfGCLogFiles=5

wrapper.java.additional.14=-XX:GCLogFileSize=10M

This issue was fixed in the build that was uploaded on 11/10. Please let us know if you continue to see this behavior after upgrading.

I saw this same error after upgrading to yesterday’s nightly build.

@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?