Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes problem with stability of Tomcat as our application server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "problem with stability of Tomcat as our application server" Watch "problem with stability of Tomcat as our application server" New topic
Author

problem with stability of Tomcat as our application server

Kamila Rutkowski
Ranch Hand

Joined: Sep 22, 2009
Posts: 37
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

Joined: Jun 25, 2001
Posts: 14568
    
    7

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: problem with stability of Tomcat as our application server
 
Similar Threads
Getting Error Starting Tomcat
servlet cannot be found if one parameter is too long
JSF Portlet Deployment under Pluto
Stopping or reloading application shuts down tomcat server
XMLStreamReaderException while consuimg peoplesoft webservice in JSF application