CMDBuild Forum

CMDBUILD demo database request

I have been trying to install cmdbuild for two days and have come to the conclusion that the ready2use, cmdbuild and openmaint installation scripts are doing something wrong when populating the cmdbuild database. Since there was no way to continue with the installation because of getting the same error when trying to finish the setup wizard (on the cmdbuild, ready2use and openmaint installations), i tried to populate the cmdbuild database with (from what i understand) exported database of the demo website:

https://searchcode.com/codesearch/view/57772490/

With this in place the installation wizard has finished successfully, however the cmdbuild gui page does not load completely, it only shows the logo and throws two errors

......................

Call: services/json/schema/modclass/getalldomains
--------------------------------------------------
Error: java.lang.NullPointerException
	at org.cmdbuild.servlets.json.schema.ModClass$8.apply(ModClass.java:466)
	at org.cmdbuild.servlets.json.schema.ModClass$8.apply(ModClass.java:463)
	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:675)
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
	at org.cmdbuild.servlets.json.schema.ModClass.getAllDomains(ModClass.java:442)

...................

Since i have no idea how old the file i found is, there might be some missing or old parts, so to try yet another way to install this, i was wondering if someone could provide an exported databas (in a sql file) of the whole database from the demo website, or any that works for the cmdbuild installation?

Under normal conditions the scripts to populate the CMDBuild, Ready2Use, and openMAINT databases work correctly.
You may miss the correct JDBC driver, or you have permission issues on the database or file system, or something else.

You can still find the "plain" backup of the demo database ("demo_schema.sql") in the WEB-INF\sql\sample_schemas folder of the war file included in the CMDBuild-xx.zip release.

CMDBuild Team