Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with stability of Tomcat as our application server

 
Kamila Rutkowski
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic