I remove login.jsp, stop tomcat, deploy this, start tomcat but whenever I want to see that from manager I got a 404 error that <b>login.jsp</b> does not exists! I stop app, start app but no chance! I reload it from manager but it again seeks the login.jsp. it is really strange. And number of sessions is 1 (and increase each time). I think this is a bug of tomcat. Have you encountered such problem?