Fixes #535: application cannot start in tomcat if no custom app is present in deploy
Merge pull request #536 from mbarto/fix_application_start

Fixes #535: application cannot start in tomcat if no custom app is prese...