fixed an issue where tomcat context is created before parent folders exist