A lot of users struggle getting cmdbuild installed, so I have created a docker container which has all the required software (Tomcat, JAVA, etc.) and takes the pain out of setting up the application server.
To get the image, run the following on your docker server:
$ docker pull terminalvelocity/cmdbuild
Refer to https://hub.docker.com/r/terminalvelocity/cmdbuild/ for more information.