Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sriram, On 6/11/2011 4:00 AM, Sriram Narayanan wrote: On Sat, Jun 11, 2011 at 1:14 AM, Christopher Schultz ch...@christopherschultz.net wrote: Sriram, On 6/10/2011 1:49 PM, Sriram Narayanan wrote: Having one application serve static content,

RE: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-13 Thread Bill Miller
- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: June 13, 2011 3:44 PM To: Tomcat Users List Subject: Re: Optimal Settings to use Tomcat as a HTTP File Server -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sriram, On 6/11/2011 4:00 AM, Sriram Narayanan wrote: On Sat

Tomcat efficiency (was: RE: Optimal Settings to use Tomcat as a HTTP File Server)

2011-06-13 Thread Jeff Sturm
-Original Message- From: Bill Miller [mailto:millebi.subscripti...@gmail.com] Sent: Monday, June 13, 2011 3:58 PM Enlighten me: what is the reason that this is common practice? ... -Static image serving (much more economical because the HTTP server is much lighter weight than a

Re: Tomcat efficiency (was: RE: Optimal Settings to use Tomcat as a HTTP File Server)

2011-06-13 Thread Peter Crowther
On 13 June 2011 21:41, Jeff Sturm jeff.st...@eprize.com wrote: From: Bill Miller [mailto:millebi.subscripti...@gmail.com] -Static image serving (much more economical because the HTTP server is much lighter weight than a JVM/App server) -etc... [...] I just tried a trivial benchmark of a

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, This is fun. On 6/13/2011 3:58 PM, Bill Miller wrote: Enlighten me: what is the reason that this is common practice? The most obvious reason for having HTTP server in front of an Application Server (Tomcat) is that there are many things

Re: Tomcat efficiency (was: RE: Optimal Settings to use Tomcat as a HTTP File Server)

2011-06-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, On 6/13/2011 4:41 PM, Jeff Sturm wrote: -Original Message- From: Bill Miller [mailto:millebi.subscripti...@gmail.com] Sent: Monday, June 13, 2011 3:58 PM Enlighten me: what is the reason that this is common practice? ... -Static

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-11 Thread Sriram Narayanan
On Sat, Jun 11, 2011 at 1:14 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sriram, On 6/10/2011 1:49 PM, Sriram Narayanan wrote: Having one application serve static content, and having other applications serve other content

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-11 Thread Sriram Narayanan
I re-read my own responses. It looks like some context has not come across in the non-interative nature of email. I myself agree that common practice is not the same as best practice, though in my experience as a developer + sysadmin for the past few years, it is indeed ideal to separate the

RE: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-11 Thread Caldarale, Charles R
From: Sriram Narayanan [mailto:sriram...@gmail.com] Subject: Re: Optimal Settings to use Tomcat as a HTTP File Server I myself agree that common practice is not the same as best practice, though in my experience as a developer + sysadmin for the past few years, it is indeed ideal

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-11 Thread Sriram Narayanan
On Sat, Jun 11, 2011 at 7:54 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Sriram Narayanan [mailto:sriram...@gmail.com] Subject: Re: Optimal Settings to use Tomcat as a HTTP File Server I myself agree that common practice is not the same as best practice, though in my

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-10 Thread Sriram Narayanan
On Fri, Jun 10, 2011 at 11:18 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Caldarale, Charles R Subject: RE: Optimal Settings to use Tomcat as a HTTP File Server We plan to use tomcat to let users download static content ( media, executables etc.. ). As much as I like

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 6/9/2011 9:40 PM, Caldarale, Charles R wrote: From: Anand HS [mailto:anan...@gmail.com] Subject: Optimal Settings to use Tomcat as a HTTP File Server We plan to use tomcat to let users download static content ( media, executables

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sriram, On 6/10/2011 1:49 PM, Sriram Narayanan wrote: Having one application serve static content, and having other applications serve other content (accept http requests, perform some processing, and send back responses, for e.g.), is actually a

Optimal Settings to use Tomcat as a HTTP File Server

2011-06-09 Thread Anand HS
Hi, We plan to use tomcat to let users download static content ( media, executables etc.. ). I was curious to know if any one has attempted it before and if so, the settings that we need to make to tomcat configurations to make it optimally serve static content. Thanks, Anand

RE: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-09 Thread Caldarale, Charles R
From: Anand HS [mailto:anan...@gmail.com] Subject: Optimal Settings to use Tomcat as a HTTP File Server We plan to use tomcat to let users download static content ( media, executables etc.. ). As much as I like Tomcat, I have to think it might be more appropriate to use Apache httpd

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-09 Thread Sriram Narayanan
On Fri, Jun 10, 2011 at 7:10 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Anand HS [mailto:anan...@gmail.com] Subject: Optimal Settings to use Tomcat as a HTTP File Server We plan to use tomcat to let users download static content ( media, executables etc.. ). As much

RE: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-09 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Optimal Settings to use Tomcat as a HTTP File Server We plan to use tomcat to let users download static content ( media, executables etc.. ). As much as I like Tomcat, I have to think it might be more appropriate to use Apache httpd rather than

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-09 Thread Anand HS
Settings to use Tomcat as a HTTP File Server We plan to use tomcat to let users download static content ( media, executables etc.. ). As much as I like Tomcat, I have to think it might be more appropriate to use Apache httpd rather than Tomcat for pure static content. I have to qualify my