Re: Limit connections in multi-context environment

2016-10-28 Thread Bryan Larson
such as redirecting to an error page, also works through subclassing the SemaphoreValve class. I'll add that the built-in JMX support is a huge plus. The custom attributes that I added to the valve were also exposed through JMX without any hassle. Bryan On Tue, Oct 25, 2016 at 9:14 AM, B

Re: Limit connections in multi-context environment

2016-10-25 Thread Bryan Larson
an On Tue, Oct 18, 2016 at 9:24 AM, Mark Thomas <ma...@apache.org> wrote: > On 18/10/2016 15:04, Bryan Larson wrote: > > Good morning. I recently posted a question on Stack Overflow that I > think > > would be better suited for this group. Here is the question: > > htt

Re: Limit connections in multi-context environment

2016-10-21 Thread Bryan Larson
Mark, Sorry for the delayed response. I had a chance to test out the valve, and my preliminary testing showed that this worked like a charm for my application. Thanks for your help. Bryan On Tue, Oct 18, 2016 at 9:24 AM, Mark Thomas <ma...@apache.org> wrote: > On 18/10/2016 15:

Limit connections in multi-context environment

2016-10-18 Thread Bryan Larson
Good morning. I recently posted a question on Stack Overflow that I think would be better suited for this group. Here is the question: http://stackoverflow.com/questions/40050063/tomcat-max-connections-on-a-per-context-basis. To summarize: Besides using multiple connectors in the server.xml