Skip to content

Complete documentation fo usage with Ignite #504

@SlowMo24

Description

@SlowMo24

Problem Description

Since the switch to Java 17 there are some additional settings required when connecting to Ignite:

--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=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
--add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
--add-opens=jdk.management/com.sun.management.internal=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
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED
--add-opens=java.base/java.math=ALL-UNNAMED
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED
--add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED
--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED
--add-opens=java.sql/java.sql=ALL-UNNAMED
--add-opens=java.base/java.time=ALL-UNNAMED
--add-opens=java.base/java.text=ALL-UNNAMED

In fact, these settings are also necessary when connecting to H2 but using geotools at another point in the project to connect to a Geopackage because geotools circles through all available DB drivers and tries to initialise them (which is probably not best practice?).

Additionally, currently this repository is required:

<repositories>
  <repository>
    <id>HeiGIT main</id>
    <name>Central Repository for OSHDB dependency related artefacts</name>
    <url>https://repo.heigit.org/artifactory/main</url>
  </repository>
</repositories>

Expected Solution

Add that information to the documentation. Also make sure that people who read the documentation on the Helper classes are made aware of this necessity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationReadmes, Javadoc, Tutorials, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions