replace http server with tomcat