CMDBuild Forum

I am facing an issue while installing CMDBuild on my windows system

image
Even if the conig is OK, After pressing install button I am getting this error.
14:20:10.822 INFO o.c.u.tomcatmanager.TomcatBuilder - buildTomcat END
create database cmdbuild_30 demo.dump.xz
14:20:23.433 INFO o.c.dao.config.inner.DatabaseCreator - create database = jdbc:postgresql://localhost:5432/cmdbuild_30 from source = demo.dump.xz
14:20:23.433 INFO o.c.dao.config.inner.DatabaseCreator - checking database
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:833)
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

The error message means it cannot connect to the db.

Is the database set up correctly?Can you access it? Test config works?

Have you installed tomcat-dbcp library, per the technical manual page 8? https://www.cmdbuild.org/file/manuali/technical-manual-in-english Read and follow the technical manual.

Appreciate your response, every time I’m installing the CMDBuild new tomcat folder is getting generated where do I have to place this tomcat-dbcp library?

After clicking on the question mark getting this popup
image

Hello,
I have made some configuration changes and managed to run the project,
But getting this error (On bottom-right) when started my tomcat:
image

Hello guys, I was using Postgres 16th version, I tried with 12th and it worked!!

2 Likes

Can you mark this as solution? So the topic will be shown as “solved”. Maybe it will help others in the future.

1 Like