Mendix in container running java 11

0
Good day, I’m trying to start my mendix app in container. It run on runtime 6.10.10 and I’ve using Java 11 root@200e84d34d34:/# java -version openjdk version "11.0.4" 2019-07-16 OpenJDK Runtime Environment (build 11.0.4+11-post-Debian-1deb10u1) OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Debian-1deb10u1, mixed mode, sharing) I have those error when starting which seems to tell me I do not have the proper java version. Can you guide me with this. Thanks !! root@c2377f2456fc:/# m2ee -c /srv/mendix/cls/m2ee.yaml start INFO: Trying to start the MxRuntime... OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/srv/mendix/cls/runtimes/6.10.10/runtime/felix/bin/felix.jar) to method java.net.URLClassLoader.addURL(java.net.URL) WARNING: Please consider reporting this to the maintainers of org.apache.felix.framework.util.SecureAction WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Auto-deploy install: org.osgi.framework.BundleException: Could not create bundle object. - java.lang.UnsupportedOperationException: Unable to add extension bundle to FrameworkClassLoader - Maybe not an URLClassLoader? ERROR: Bundle biz.aQute.bndlib [3] Error starting file:/srv/mendix/cls/runtimes/6.10.10/runtime/bundles/biz.aQute.bnd.bndlib.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle biz.aQute.bndlib [3]: Unable to resolve 3.0: missing requirement [3.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.7))) org.osgi.framework.BundleException: Unresolved constraint in bundle biz.aQute.bndlib [3]: Unable to resolve 3.0: missing requirement [3.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.7)) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.base/java.lang.Thread.run(Thread.java:834) ERROR: Bundle com.amazonaws.aws-java-sdk-osgi [4] Error starting file:/srv/mendix/cls/runtimes/6.10.10/runtime/bundles/com.amazonaws.aws-java-sdk-osgi.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.amazonaws.aws-java-sdk-osgi [4]: Unable to resolve 4.0: missing requirement [4.0] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.annotation)(version>=2.5.0)(!(version>=3.0.0))) [caused by: Unable to resolve 5.0: missing requirement [5.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))]) org.osgi.framework.BundleException: Unresolved constraint in bundle com.amazonaws.aws-java-sdk-osgi [4]: Unable to resolve 4.0: missing requirement [4.0] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.annotation)(version>=2.5.0)(!(version>=3.0.0))) [caused by: Unable to resolve 5.0: missing requirement [5.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.base/java.lang.Thread.run(Thread.java:834) ERROR: Bundle com.fasterxml.jackson.core.jackson-annotations [5] Error starting file:/srv/mendix/cls/runtimes/6.10.10/runtime/bundles/com.fasterxml.jackson.core.jackson-annotations.2.7.0.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.fasterxml.jackson.core.jackson-annotations [5]: Unable to resolve 5.0: missing requirement [5.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))) org.osgi.framework.BundleException: Unresolved constraint in bundle com.fasterxml.jackson.core.jackson-annotations [5]: Unable to resolve 5.0: missing requirement [5.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6)) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.base/java.lang.Thread.run(Thread.java:834) ERROR: Bundle com.fasterxml.jackson.core.jackson-core [6] Error starting file:/srv/mendix/cls/runtimes/6.10.10/runtime/bundles/com.fasterxml.jackson.core.jackson-core.2.7.3.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.fasterxml.jackson.core.jackson-core [6]: Unable to resolve 6.0: missing requirement [6.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))) org.osgi.framework.BundleException: Unresolved constraint in bundle com.fasterxml.jackson.core.jackson-core [6]: Unable to resolve 6.0: missing requirement [6.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6)) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.base/java.lang.Thread.run(Thread.java:834) ERROR: Bundle com.fasterxml.jackson.core.jackson-databind [7] Error starting file:/srv/mendix/cls/runtimes/6.10.10/runtime/bundles/com.fasterxml.jackson.core.jackson-databind.2.7.3.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.fasterxml.jackson.core.jackson-databind [7]: Unable to resolve 7.0: missing requirement [7.0] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.annotation)(version>=2.7.0)(!(version>=3.0.0))) [caused by: Unable to resolve 5.0: missing requirement [5.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))]) org.osgi.framework.BundleException: Unresolved constraint in bundle com.fasterxml.jackson.core.jackson-databind [7]: Unable to resolve 7.0: missing requirement [7.0] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.annotation)(version>=2.7.0)(!(version>=3.0.0))) [caused by: Unable to resolve 5.0: missing requirement [5.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.base/java.lang.Thread.run(Thread.java:834) ERROR: Bundle com.fasterxml.jackson.dataformat.jackson-dataformat-cbor [8] Error starting file:/srv/mendix/cls/runtimes/6.10.10/runtime/bundles/com.fasterxml.jackson.dataformat.jackson-dataformat-cbor.2.5.3.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.fasterxml.jackson.dataformat.jackson-dataformat-cbor [8]: Unable to resolve 8.0: missing requirement [8.0] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.core)(version>=2.5.0)(!(version>=3.0.0))) [caused by: Unable to resolve 6.0: missing requirement [6.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))]) org.osgi.framework.BundleException: Unresolved constraint in bundle com.fasterxml.jackson.dataformat.jackson-dataformat-cbor [8]: Unable to resolve 8.0: missing requirement [8.0] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.core)(version>=2.5.0)(!(version>=3.0.0))) [caused by: Unable to resolve 6.0: missing requirement [6.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.base/java.lang.Thread.run(Thread.java:834) ERROR: Bundle com.fasterxml.jackson.dataformat.jackson-dataformat-yaml [9] Error starting file:/srv/mendix/cls/runtimes/6.10.10/runtime/bundles/com.fasterxml.jackson.dataformat.jackson-dataformat-yaml.2.7.3.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.fasterxml.jackson.dataformat.jackson-dataformat-yaml [9]: Unable to resolve 9.0: missing requirement [9.0] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.core)(version>=2.7.0)(!(version>=3.0.0))) [caused by: Unable to resolve 6.0: missing requirement [6.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))]) org.osgi.framework.BundleException: Unresolved constraint in bundle com.fasterxml.jackson.dataformat.jackson-dataformat-yaml [9]: Unable to resolve 9.0: missing requirement [9.0] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.core)(version>=2.7.0)(!(version>=3.0.0))) [caused by: Unable to resolve 6.0: missing requirement [6.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.base/java.lang.Thread.run(Thread.java:834) ERROR: Bundle appcontainer [12] Error starting file:/srv/mendix/cls/runtimes/6.10.10/runtime/bundles/com.mendix.appcontainer.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle appcontainer [12]: Unable to resolve 12.0: missing requirement [12.0] osgi.wiring.package; (&(osgi.wiring.package=com.mendix.logging)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve 38.0: missing requirement [38.0] osgi.wiring.package; (&(osgi.wiring.package=org.json)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve 37.0: missing requirement [37.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]]) org.osgi.framework.BundleException: Unresolved constraint in bundle appcontainer [12]: Unable to resolve 12.0: missing requirement [12.0] osgi.wiring.package; (&(osgi.wiring.package=com.mendix.logging)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve 38.0: missing requirement [38.0] osgi.wiring.package; (&(osgi.wiring.package=org.json)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve 37.0: missing requirement [37.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.base/java.lang.Thread.run(Thread.java:834) ERROR: Bundle com.mendix.azure-storage-sdk [13] Error starting file:/srv/mendix/cls/runtimes/6.10.10/runtime/bundles/com.mendix.azure-storage-sdk.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.mendix.azure-storage-sdk [13]: Unable to resolve 13.0: missing requirement [13.0] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.core)(version>=2.6.0)(!(version>=3.0.0))) [caused by: Unable to resolve 6.0: missing requirement [6.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))]) org.osgi.framework.BundleException: Unresolved constraint in bundle com.mendix.azure-storage-sdk [13]: Unable to resolve 13.0: missing requirement [13.0] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.core)(version>=2.6.0)(!(version>=3.0.0))) [caused by: Unable to resolve 6.0: missing requirement [6.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.base/java.lang.Thread.run(Thread.java:834)      
asked
1 answers
4

Yes: you indeed do not have the correct java-version to run Mendix version 6. Mendix <8.0.0 runs on Java 8. Mendix version 8.0.0 and higher run on Java 11. See https://docs.mendix.com/releasenotes/studio-pro/8.0#breaking-changes for details.

answered