Re: sendFiles vs. compression

2017-04-18 Thread tomcat
On 18.04.2017 20:03, Chris Gamache wrote: On Tue, Apr 18, 2017 at 11:24 AM, André Warnier (tomcat) wrote: Hi again. On this list, it is customary (and requested) to respond in-line and not "top post". See : http://tomcat.apache.org/lists.html#tomcat-users, item #6. It makes

Re: sendFiles vs. compression

2017-04-18 Thread Chris Gamache
On Tue, Apr 18, 2017 at 11:24 AM, André Warnier (tomcat) wrote: > Hi again. > On this list, it is customary (and requested) to respond in-line and not > "top post". > See : http://tomcat.apache.org/lists.html#tomcat-users, item #6. > It makes it easier to follow the

Re: sendFiles vs. compression

2017-04-18 Thread Chris Gamache
On Tue, Apr 18, 2017 at 11:29 AM, Mark Thomas wrote: > On 18/04/17 15:58, Chris Gamache wrote: > > Excellent information. Thank you! > > > > Is there a way to create a split point where sendFile will handle files > of > > certain mime types (or all mime-types except for an

RE: Diagnose why Tomcat doesn't appear to deploy webapp module

2017-04-18 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Monday, April 17, 2017 5:01 PM > To: Tomcat Users List > Subject: Diagnose why Tomcat doesn't appear to deploy webapp module > > I'm trying to set up an existing Spring webapp that ran on a different > container

Re: sendFiles vs. compression

2017-04-18 Thread Mark Thomas
On 18/04/17 15:58, Chris Gamache wrote: > Excellent information. Thank you! > > Is there a way to create a split point where sendFile will handle files of > certain mime types (or all mime-types except for an exclusion list of mime > types) and/or of certain sizes while compression will handle

Re: sendFiles vs. compression

2017-04-18 Thread tomcat
Hi again. On this list, it is customary (and requested) to respond in-line and not "top post". See : http://tomcat.apache.org/lists.html#tomcat-users, item #6. It makes it easier to follow the conversation, as opposed to having to scroll back and forth to find out what you are commenting on.

AW: sendFiles vs. compression

2017-04-18 Thread Kreuser, Peter
Hi Cris, > Excellent information. Thank you! > > Is there a way to create a split point where sendFile will handle files of > certain mime types (or all mime-types except for an exclusion list of mime > types) and/or of certain sizes while compression will handle files of other > mime-types

Re: sendFiles vs. compression

2017-04-18 Thread Chris Gamache
Excellent information. Thank you! Is there a way to create a split point where sendFile will handle files of certain mime types (or all mime-types except for an exclusion list of mime types) and/or of certain sizes while compression will handle files of other mime-types and/or certain sizes?

Re: sendFiles vs. compression

2017-04-18 Thread tomcat
On 18.04.2017 14:50, Chris Gamache wrote: Using tomcat 8.0.43 ... I'm grappling with GZip compression options. Historically, I've used a custom GZip filter and that's been fine for the most part. If the file being served is under 50K the filter would compress it in memory and send it out. If

sendFiles vs. compression

2017-04-18 Thread Chris Gamache
Using tomcat 8.0.43 ... I'm grappling with GZip compression options. Historically, I've used a custom GZip filter and that's been fine for the most part. If the file being served is under 50K the filter would compress it in memory and send it out. If the file is over 50K, it would connect the

Re: Clustering considerations - single server, multiple Tomcat instances - in the cloud

2017-04-18 Thread Mark Thomas
On 17/04/17 22:59, Mitch Claborn wrote: > I'm trying to think through the security implications of this > configuration: a single cloud server (Digital Ocean) with 2 Tomcat 8.5 > instances in a cluster, for session replication. > > I can bind the Receiver element to 127.0.0.1, which I think