Howdy, >afaik, one java + tomcat instance consumes a lot of memory. i.e. i set it
It depends on your setup: how many webapps, how much memory they need, how many connectors, how many processing threads, etc. Tomcat can run with a small (<8MB) memory footprint with a small webapp and one coyote connector. >max 512MB and startup 256MB.. as previous people of the thread said, you >always install many tomcat so that one instance for one java application, >because it only uses much disk ?? I thought it costs too much memory >instead >of harddisk.. The main reason to install one webapp per instance is for stability and separation: if one crashes for whatever reason, others won't be affected. Among the reasons for crashing is a memory leak from a badly-coded webapp. >... as tomcat is designed for one process instead of >multiple-processes to avoid too much memory consuming. On what base do you make the above claim? >alternative way to create multiple testing environment for my j2ee >application. that is to rename war files' name from product_test1.war to >product_test10.war, so that I could use one tomcat to manage the ten test >cases.. I cannot use scripts to startup/stop them separately, however at >least i could use tomcat admin to do it manuelly.. of course i need to >define different context in server.xml, including ports from 1024 to 49k, >log file location and context name test1_standalone for example. I'm not sure I understand what you're trying to do. Simulate multiple clients hitting your one webapp? Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
