Hello,
We are running Tomcat 5.0.18 w/ jdk 1.4.2 on Linux. We deploy our wars with the catalina deployer and ant. We automate our builds and deployments for every 30 minutes. So, every half an hour we build and deploy our war to tomcat.
This process seems to always force an OutOfMemoryException with Tomcat. ~ Things work great for about half a day, but then always we're able to crash Tomcat.
Is automated deployment over and over supported with Tomcat? It's my assumption that if we're able to deploy a war to tomcat w/ the deployer, then we should be able to deploy that war many times.
Has anyone else seen this behavior? This is a default install of Tomcat, and right now the way is very simple (no database connections yet).
Any tips or hints would be greatly appreciated.
There are some problems with certain webapps (Struts based webapps in particular).
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26135
More generally, there's no way to force the VM to discard a classloader, so I think it is unwise to rely on perfect GC when "reloading" classes. Since there are meny ways to keep references to classloaders (shared library, shutdown hook, background thread, ...).
-- xxxxxxxxxxxxxxxxxxxxxxxxx R�my Maucherat Developer & Consultant JBoss Group (Europe) S�RL xxxxxxxxxxxxxxxxxxxxxxxxx
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
