Page 1 of 1

Essential import utility - issue with Java 11 ?

Posted: 08 Aug 2019, 16:50
by cosinus
Hi

The EIU fails to startup on our linux platform
Debian 10.0
4GB RAM
Tomcat v9
OpenJDK 11

The Catalina error log show suspicious lines regarding JAXB deprecation in Java 11:
[2019-08-08 16:35:41] [crit] Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/essential_import_utility]]
[2019-08-08 16:35:41] [crit] at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:441)
[2019-08-08 16:35:41] [crit] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
[2019-08-08 16:35:41] [crit] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
[2019-08-08 16:35:41] [crit] ... 42 more
[2019-08-08 16:35:41] [crit] Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

Have you heard of any such issue?
Any workaround (excluding Java8 new installation ;) )?

Thanks

Re: Essential import utility - issue with Java 11 ?

Posted: 19 Aug 2019, 14:03
by neil.walsh
We haven't done any testing yet with Java 11 and we are already aware of issues with Java 9. We're hopping to address this in the next month or two.

In the meantime, you can install Java 8 alongside Java 11 if you need to have 11 installed but Java 8 remains our recommended version at the moment.

Re: Essential import utility - issue with Java 11 ?

Posted: 23 Aug 2019, 20:02
by cosinus
Thank you Neil.
Essential viewer 6.5 turned out to be in the same trouble with Jdk 11
I referenced the JAXB classes in the tomcat shared loader and that seemed to do the trick for Essential viewer.
However, it didn’t for the Import utility.
Openjdk8 indeed solved the problem.
Kind regards