On Linux the database may be incomplete when you start the software for the first time. Symptom: everything empty in the Studio.
This is due to the mdm.conf file that is not found by the MDM server. Workaround:
- stop jboss
- cd to your jboss home
- mdm.conf is located in bin/:
- strip off the ^M chars (ex: dos2unix bin/mdm.conf)
- copy bin/mdm.conf into jboss home (cp bin/mdm.conf .)
To make sure the database is reinitialized, you can delete everything under server/default/deploy/exist-1.4.0-rev10440.war/WEB
Then start run.sh in jboss home again.
On startup, the eXist database will restore the default files in /data, then MDM will 1) bootstrap its metadata 2) load the default models & containers.