Multiple causes are possible in this case. Check the logfiles, located in /APG-Backend/logs/collecting-*.log for details.
The most common errors are made when manually editing the config files. Make sure they are formed properly, with end tags, and that elements are in the right place in the structure.