Re: Tomcat misuse of Servlet 3.0's asynchronous support

2017-09-19 Thread Yasser Zamani
On 9/13/2017 10:25 PM, Yasser Zamani wrote: > > > On 9/13/2017 9:49 PM, Mark Thomas wrote: >> On 05/09/2017 19:56, Yasser Zamani wrote: >>> Thanks a lot Mark! >>> >>> Yes I knew these and before tested that a tomcat with 400 max threads >>>

Re: Tomcat misuse of Servlet 3.0's asynchronous support

2017-09-13 Thread Yasser Zamani
On 9/13/2017 9:49 PM, Mark Thomas wrote: > On 05/09/2017 19:56, Yasser Zamani wrote: >> Thanks a lot Mark! >> >> Yes I knew these and before tested that a tomcat with 400 max threads >> "scalabilitaly is equal" to a tomcat with 200 max threads but wi

Re: Tomcat misuse of Servlet 3.0's asynchronous support

2017-09-13 Thread Yasser Zamani
On 9/5/2017 11:26 PM, Yasser Zamani wrote: > Thanks a lot Mark! > > Yes I knew these and before tested that a tomcat with 400 max threads > "scalabilitaly is equal" to a tomcat with 200 max threads but with > servlet 3's async API including applicati

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-12 Thread Yasser Zamani
hared between all of them to service them on demand. I'm really sorry that I bothered you a lot! Thanks a tone for your replies! Regards. On 9/12/2017 1:51 PM, Mark Thomas wrote: > On 12/09/17 10:00, Yasser Zamani wrote: >> >> >> On 9/12/2017 1:17 AM, Mark Thomas wrote

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-12 Thread Yasser Zamani
On 9/12/2017 1:17 AM, Mark Thomas wrote: > On 07/09/17 23:30, Yasser Zamani wrote: >> Thanks for your attention. >> >> Now I downloaded a fresh apache-tomcat-7.0.81-windows-x64 and chenged >> it's connector in same way (BIO,20,20,10). I get same result, fortunat

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-07 Thread Yasser Zamani
On 9/7/2017 12:15 PM, Guang Chao wrote: > On Thu, Sep 7, 2017 at 3:59 AM, Yasser Zamani > wrote: > >> Hi there, >> >> I'm studying Servlet 3's async API using tomcat. I see following strange >> behavior from tomcat in a very simple test app! >> &

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-07 Thread Yasser Zamani
JVM Version: 1.7.0_79-b15 INFO: JVM Vendor:Oracle Corporation INFO: CATALINA_BASE: C:\Users\user\.IntelliJIdea2016.3\system\tomcat\Unnamed_Async-Servlet-Example_2 Container MAX used threads: 10 Sincerely Yours, Yasser. On 9/8/2017 2:30 AM, Mark Thomas wrote: > On 07/09/1

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-07 Thread Yasser Zamani
At first thanks a lot for your reply! On 9/7/2017 1:43 PM, Mark Thomas wrote: > On 06/09/17 20:59, Yasser Zamani wrote: >> Hi there, >> >> I'm studying Servlet 3's async API using tomcat. I see following strange >> behavior from tomcat in a very simple tes

BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-06 Thread Yasser Zamani
Hi there, I'm studying Servlet 3's async API using tomcat. I see following strange behavior from tomcat in a very simple test app! I have following JMeter test plan: Number of threads (users): 700 Ramp-Up period (in seconds): 23 Loop count: 1 So JMeter generates 30.43 requests per second and 30

Re: Tomcat misuse of Servlet 3.0's asynchronous support

2017-09-05 Thread Yasser Zamani
gain except what I wrote above and also preventing deadlocks. wdyt?** On 9/5/2017 11:57 AM, Mark Thomas wrote: > On 03/09/17 09:01, Yasser Zamani wrote: >> Hi there, >> >> At [1] we read: >> >>> Web containers in application servers normally use a server t

Tomcat misuse of Servlet 3.0's asynchronous support

2017-09-03 Thread Yasser Zamani
Hi there, At [1] we read: > Web containers in application servers normally use a server thread > per client request. Under heavy load conditions, containers need a > large amount of threads to serve all the client requests. > Scalability limitations include running out of memory o

Re: AjpNio Invalid message received on header

2012-08-07 Thread Yasser
Jung wrote: > On 06.08.2012 23:39, Yasser wrote: > >> I am using Tomcat 7.0.29 fronted with Apache 2.2.22 modproxy. >> Configured Ajp as the protocol in httpd.conf and AjpNioProtocol in >> server.xml. >> After the server starts, the logs are filled with the following m

Re: Tomcat 7.0.28 connection pool issue

2012-06-28 Thread Yasser
your concurrency. Recommended > is > of course to increase maxActive if the database supports it. > > Filip > > > > -Original Message- > > From: Yasser [mailto:yarafa...@gmail.com] > > Sent: Thursday, June 28, 2012 11:33 AM > > To: Tomcat Users Li

Re: Tomcat 7.0.28 connection pool issue

2012-06-28 Thread Yasser
, 2012 at 11:46 AM, chris derham wrote: > On Thu, Jun 28, 2012 at 12:38 PM, Yasser wrote: > > > Yes. It does show that maxactive has reached 100. I also use splunk to > get > > the connection status at the oracle side. > > What I dont understand is that Resin needs ju

Re: Tomcat 7.0.28 connection pool issue

2012-06-28 Thread Yasser
You could try out > http://people.apache.org/~fhanik/jdbc-pool/bz53367-jdbc-pool.jar > > > > -Original Message- > > From: Yasser [mailto:yarafa...@gmail.com] > > Sent: Thursday, June 28, 2012 9:39 AM > > To: Tomcat Users List > > Subject: Re: Tomcat 7.0.28 connection pool

Re: Tomcat 7.0.28 connection pool issue

2012-06-28 Thread Yasser
has the capacity to handle that many connections. On Thu, Jun 28, 2012 at 11:01 AM, Hedrick, Brooke - 43 < brooke.hedr...@rainhail.com> wrote: > > > -Original Message- > > From: Yasser [mailto:yarafa...@gmail.com] > > Sent: Thursday, June 28, 2012 9:44 AM >

Tomcat 7.0.28 connection pool issue

2012-06-28 Thread Yasser
mined, which got fixed in 7.0.28, hence we switched to the latest version. Here is one of the connection pool config from server.xml. We do a resource link to this pool in the context.xml Any help is appreciated. Please let me know if you need more information or code snippets. Thanks, Yasser