Open wise-coders opened 1 year ago
I tried the full. They are part of the same library, ignite-core-2.14.0, right? I am getting an empty ( null ) connection. Changing to OpenJDK15 works fine.
Did you provide all required JVM flags?
--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED \
--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED \
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED \
--add-opens=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED \
--add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED \
--add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED \
--add-opens=java.base/java.io=ALL-UNNAMED \
--add-opens=java.base/java.nio=ALL-UNNAMED \
--add-opens=java.base/java.util=ALL-UNNAMED \
--add-opens=java.base/java.lang=ALL-UNNAMED
https://ignite.apache.org/docs/latest/quick-start/java#running-ignite-with-java-11-or-later
No, I don't set any flags. I use the library as JDBC driver, to connect to the database. The library is loaded in a database client, Dbschema.
@wise-coders Hi! It is advisable to use a jdbc-thin one. Could you please share here your connection string?
Here is the URL: jdbc:ignite:thin://{HOST}[:{PORT}] port defaults to 10800
I have tested the JDBC driver under OpenJDK17, and does not work. I tested ignite-core-2.14.0.jar. Same driver works fine with OpenJDK15.