Fixed starting issue with tomcat