replaced tomcat with app