Occasionally you may face challenges starting up your GLU.Engine. Below we outline a few of the Errors you might encounter and how to deal with them.
If your engine starts up, but there is a warning which looks like this.
WARN o.a.c.i.c.AnnotationTypeConverterLoader – Ignoring converter type: org.apache.camel.component.cxf.converter.CxfConverter as a dependent class could not be found: java.lang.NoClassDefFoundError: javax/xml/soap/SOAPMessage java.lang.NoClassDefFoundError: javax/xml/soap/SOAPMessage at java.base/java.lang.Class.getDeclaredMethods0(Native Method) at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3166)
This is likely to be linked to the wrong java version running. Please see here GLU.Engine Server Specifications for the correct java version.
This error will occur if the port value is missing in the database connector. See below screen shot from the connector screen.
You will see this error in the Database logs:
— error — com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Cannot load connection class because of underlying exception: ‘java.lang.NumberFormatException: For input string: “null”‘.
To resolve, simply update your Connector configuration to include the Port.