Hi ,
I receive the error below on an initial installation from the GUI Installer.
Rocky 9.3
Postgresql 12.17 from Postgresql.org
Postgis 3.4.12
openjdk version “17.0.9” 2023-10-17 LTS
The jdbc driver is present in the tomcat folder and in /usr/share/java.
The xz utilities are present. I can only assume the demo.dump.xz can’t be found .
I just have the dump file from the resources zip.
./openmaint-2.3-3.4.2.sh
create database cmdbuild_b4e9 demo.dump.xz
Exception in thread “Thread-0” java.lang.NoClassDefFoundError: Could not initialize class org.apache.ignite.IgniteJdbcThinDriver
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at java.sql/java.sql.DriverManager.isDriverAllowed(DriverManager.java:558)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:678)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:229)
at org.postgresql.ds.common.BaseDataSource.getConnection(BaseDataSource.java:103)
at org.postgresql.ds.common.BaseDataSource.getConnection(BaseDataSource.java:87)
at org.cmdbuild.dao.config.inner.DatabaseCreator.cmdbuildDatabaseExists(DatabaseCreator.java:136)
at org.cmdbuild.dao.config.inner.DatabaseCreator.configureDatabase(DatabaseCreator.java:160)
at org.cmdbuild.utils.cli.utils.DatabaseUtils.createDatabase(DatabaseUtils.java:42)
at org.cmdbuild.utils.cli.utils.DatabaseUtils.createDatabase(DatabaseUtils.java:36)
at org.cmdbuild.utils.cli.utils.DatabaseUtils.createDatabase(DatabaseUtils.java:32)
at org.cmdbuild.utils.gui.GuiCommandRunner$InstallHelper.lambda$install$10(GuiCommandRunner.java:319)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.ExceptionInInitializerError [in thread “Thread-0”]
at org.apache.ignite.internal.util.IgniteUtils.(IgniteUtils.java:893)
at org.apache.ignite.lang.IgniteProductVersion.fromString(IgniteProductVersion.java:312)
at org.apache.ignite.internal.IgniteVersionUtils.(IgniteVersionUtils.java:94)
at org.apache.ignite.IgniteJdbcThinDriver.(IgniteJdbcThinDriver.java:140)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:789)
at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:729)
at java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1403)
at java.sql/java.sql.DriverManager$2.run(DriverManager.java:618)
at java.sql/java.sql.DriverManager$2.run(DriverManager.java:598)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.sql/java.sql.DriverManager.ensureDriversInitialized(DriverManager.java:598)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:669)
… 10 more
Where does the demo.dump file need to reside ?
Can this be installed manually and the database setup outside of the installer/war install ?
Thanks,
Phil