problem with stability of Tomcat as our application server
posted 7 years ago
I have a server which runs Tomcat (Apache Tomcat/6.0.18) on linux (2.6.18-8.el5) with JVM 1.6.0_12-b04. This application server contains some jsf and jsp applications. When I undeploy and deploy again my jsf app for 3 or 4 times then the "Tomcat Web Application Manager" and the applications will not be accessible! So where is the problem?! The satability of Tomcat is this?
Tomcat in general is one of the most reliable programs around, and reliable programs are, alas, a very rare commodity these days. But that's a whole different pool of tears.
Most likely you're running into the infamous PermGen space issue, which basically say that when you hot-deploy a webapp into Tomcat, there's memory leakage. It's quite annoying, but normally only a problem for testers, since production servers don't commonly redeploy webapps all that frequently.
An IDE is no substitute for an Intelligent Developer.