Kaldin use database settings from 2 location as per following priority
Initially Kaldin would try to connect to database by using context.xml settings.
If database is not accessible with context/xml settings, as a fallback, kaldin would
retrive database settings from USER_HOME_DIR/kaldin.properties and start.
It is recommended for advanced users to configure database in context.xml for high performance and faster page loading.