Re: Tomcat Alone or tomcat+IIS/Apache
We required IIS for a CGI ecommerce solution that was required. Plug and Pay I think is the company we bought it from. I came in late on the project and haven't had a lot of time to mess with it. Does Tomcat support CGI bins utalizing non-java technology? Gregg On 9/30/05, Peddireddy Srikanth [EMAIL PROTECTED] wrote: thanks for all the replies On 9/30/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Peddireddy Srikanth [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Alone or tomcat+IIS/Apache And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up well under high loads. More urban myth. As another respondent pointed out, all modern JVMs (i.e., from JRE 1.2 on) use native threads and the underlying OS for thread dispatching. Coupled with thread-local object allocation (available since JRE 1.3), scaling of Tomcat itself is not a problem; it runs happily on our 32-CPU servers as long as the applications themselves have no inherent bottlenecks. You do want to adjust the heap parameters for any serious work, especially on a Windows platform, where the default maximum borders on the miniscule. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Alone or tomcat+IIS/Apache
From: Gregg D Bolinger [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Alone or tomcat+IIS/Apache Does Tomcat support CGI bins utalizing non-java technology? As usual, RTFM: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cgi-howto.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Alone or tomcat+IIS/Apache
Dear Chuck, your mail is very informative. We r facing a similar issue in our organization :: Tomcat or Apache+tomcat. And the supporters of Apache+tomcat are arguing that as Apache/IIS can make use of native OS (windows inour case) libraries for thread management , memory mangement etc, they will fare well under high loads. And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up well under high loads. Is this argument a valid one or just a misunderstanding?? thanx for any kind of info in this regard. Regards Srikanth On 9/20/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Gregg D Bolinger [mailto:[EMAIL PROTECTED] Subject: Tomcat Alone or tomcat+IIS/Apache I know that delivering static content with Apache/IIS is preferred. Urban myth, based primarily on older Tomcat versions that did not perform anywhere near as well as the current one. But does that matter if every single request has to go to Tomcat because the data is dynamic? Think about it: How could adding path length and latency for every request improve performance? What is the benefit of Tomcat + Apache/IIS on major J2EE apps? Job security perhaps? Also increased stress levels, if you enjoy that sort of thing. Unless there's something specific for httpd or IIS to do (e.g., poor man's load balancing), simplify your life and leave them out. Check out Peter Lin's performance measurements for just static content, and you may decide you don't need httpd or IIS for that, either. http://jakarta.apache.org/tomcat/articles/benchmark_summary.pdf - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Alone or tomcat+IIS/Apache
Peddireddy Srikanth wrote: And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up well under high loads. Is this argument a valid one or just a misunderstanding?? The statement for threads is probably valid if you read some Java 1.1 book. From version 1.2 Java uses platform native threads. Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Alone or tomcat+IIS/Apache
We had the same discussion a year ago, as we switched to tomcat 5 and was testing whether we do need apache in front of it. Actually the only advantage for this solution left were apache mods like url-rewriting - http://mydomain - http://mydomain/myapp/mypath - better for some search engines and so on. mod_gzip - now supported by tomcat directly. But this isn't worth installing an apache. The real problem with serving static content that tomcat has is the thread-model - one thread per connection is a bit messy if you have http 1.1 (keep-alives) on. But apache has the same issue. So if you have a log of static content to serve I'd strongly suggest you put a squid in front of your tomcats instead of apache (iis is a joke anyway). regards leon On 9/30/05, Mladen Turk [EMAIL PROTECTED] wrote: Peddireddy Srikanth wrote: And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up well under high loads. Is this argument a valid one or just a misunderstanding?? The statement for threads is probably valid if you read some Java 1.1 book. From version 1.2 Java uses platform native threads. Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Alone or tomcat+IIS/Apache
From: Peddireddy Srikanth [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Alone or tomcat+IIS/Apache And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up well under high loads. More urban myth. As another respondent pointed out, all modern JVMs (i.e., from JRE 1.2 on) use native threads and the underlying OS for thread dispatching. Coupled with thread-local object allocation (available since JRE 1.3), scaling of Tomcat itself is not a problem; it runs happily on our 32-CPU servers as long as the applications themselves have no inherent bottlenecks. You do want to adjust the heap parameters for any serious work, especially on a Windows platform, where the default maximum borders on the miniscule. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Alone or tomcat+IIS/Apache
thanks for all the replies On 9/30/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Peddireddy Srikanth [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Alone or tomcat+IIS/Apache And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up well under high loads. More urban myth. As another respondent pointed out, all modern JVMs (i.e., from JRE 1.2 on) use native threads and the underlying OS for thread dispatching. Coupled with thread-local object allocation (available since JRE 1.3), scaling of Tomcat itself is not a problem; it runs happily on our 32-CPU servers as long as the applications themselves have no inherent bottlenecks. You do want to adjust the heap parameters for any serious work, especially on a Windows platform, where the default maximum borders on the miniscule. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Alone or tomcat+IIS/Apache
I am just curious. I know that delivering static content with Apache/IIS is preferred. But does that matter if every single request has to go to Tomcat because the data is dynamic? Is there some caching that gets involved here? What is the benefit of Tomcat + Apache/IIS on major J2EE apps? Gregg
Re: Tomcat Alone or tomcat+IIS/Apache
Well I'm sure you can imagine that if all of your content is dynamic then layering tomcat behind Apache/IIS will only add latency/resources to your requests... nothing significant.. but maybe if your serving up a ton of requests it might be worthwhile to run tomcat standalone. -David Quoting Gregg D Bolinger [EMAIL PROTECTED]: I am just curious. I know that delivering static content with Apache/IIS is preferred. But does that matter if every single request has to go to Tomcat because the data is dynamic? Is there some caching that gets involved here? What is the benefit of Tomcat + Apache/IIS on major J2EE apps? Gregg This message was sent using IMP, the Internet Messaging Program. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Alone or tomcat+IIS/Apache
From: Gregg D Bolinger [mailto:[EMAIL PROTECTED] Subject: Tomcat Alone or tomcat+IIS/Apache I know that delivering static content with Apache/IIS is preferred. Urban myth, based primarily on older Tomcat versions that did not perform anywhere near as well as the current one. But does that matter if every single request has to go to Tomcat because the data is dynamic? Think about it: How could adding path length and latency for every request improve performance? What is the benefit of Tomcat + Apache/IIS on major J2EE apps? Job security perhaps? Also increased stress levels, if you enjoy that sort of thing. Unless there's something specific for httpd or IIS to do (e.g., poor man's load balancing), simplify your life and leave them out. Check out Peter Lin's performance measurements for just static content, and you may decide you don't need httpd or IIS for that, either. http://jakarta.apache.org/tomcat/articles/benchmark_summary.pdf - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Convenience on using apache+tomcat vs tomcat alone
Hello All, I'm in the process of setting up a real-production server to serve a dynamic jsp driven website. And I'm facing the decision if using tomcat alone or apache+jk+tomcat. From what I've read on the ML I think that is best to use tomcat alone because I've got a completely dynamic web site, with just a few graphical images and not static html pages... so I think that the double step of apache that ask tomcat to give me a response is just a performance degradation... Are my thoughts right? or am I missing something? or maybe using JK2 instead of JK will give me benefetis even if the site is fully jsp driven? Thank you all Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Convenience on using apache+tomcat vs tomcat alone
Howdy, I agree. Use tomcat standalone at least for now. It's the KISS principle. Any complications will have a negative effect. Yoav Shapira Millennium ChemInformatics -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 4:32 AM To: Tomcat User List Subject: Convenience on using apache+tomcat vs tomcat alone Hello All, I'm in the process of setting up a real-production server to serve a dynamic jsp driven website. And I'm facing the decision if using tomcat alone or apache+jk+tomcat. From what I've read on the ML I think that is best to use tomcat alone because I've got a completely dynamic web site, with just a few graphical images and not static html pages... so I think that the double step of apache that ask tomcat to give me a response is just a performance degradation... Are my thoughts right? or am I missing something? or maybe using JK2 instead of JK will give me benefetis even if the site is fully jsp driven? Thank you all Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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]
RE: Convenience on using apache+tomcat vs tomcat alone
Hi there, I guess it's fine if you are using one tomcat instance; You will need webserver(s) with mod jk/jk2 for loadbalancing and failover when using multiple instances Kwong. -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Thursday, 13 March 2003 20:32 To: Tomcat User List Subject: Convenience on using apache+tomcat vs tomcat alone Hello All, I'm in the process of setting up a real-production server to serve a dynamic jsp driven website. And I'm facing the decision if using tomcat alone or apache+jk+tomcat. From what I've read on the ML I think that is best to use tomcat alone because I've got a completely dynamic web site, with just a few graphical images and not static html pages... so I think that the double step of apache that ask tomcat to give me a response is just a performance degradation... Are my thoughts right? or am I missing something? or maybe using JK2 instead of JK will give me benefetis even if the site is fully jsp driven? Thank you all Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Powered by telstra.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Convenience on using apache+tomcat vs tomcat alone
It still depends. If the graphics are large, or numerous then you may still win with Apache+jk. The only way to know for sure is to try it both ways. If you don't have the time/budget/patience for this, then my first guess would be that Tomcat-Standalone would be a good option. Simone Chiaretta [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello All, I'm in the process of setting up a real-production server to serve a dynamic jsp driven website. And I'm facing the decision if using tomcat alone or apache+jk+tomcat. From what I've read on the ML I think that is best to use tomcat alone because I've got a completely dynamic web site, with just a few graphical images and not static html pages... so I think that the double step of apache that ask tomcat to give me a response is just a performance degradation... Are my thoughts right? or am I missing something? or maybe using JK2 instead of JK will give me benefetis even if the site is fully jsp driven? Thank you all Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TOMCAT ALONE
Can I use the tomcat just like a web sever without the apache. I have runnig a tomcat 4.1.18 in a Mandrake linux. Or I have to put the tomcat to work together with apache. thanks. Fabian __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: TOMCAT ALONE
Yes, you can use Tomcat alone. John -Original Message- From: x x [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 12:51 PM To: Tomcat Users List Subject: TOMCAT ALONE Can I use the tomcat just like a web sever without the apache. I have runnig a tomcat 4.1.18 in a Mandrake linux. Or I have to put the tomcat to work together with apache. thanks. Fabian __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]