Re: Reg: Connection pool stats

2013-11-10 Thread Anu Prab
On Nov 7, 2013, at 11:58 PM, Anu Prab wrote: >>> I am using Tomcat 7.0.42 and Tomcat jdbc pool. > >> Just to be perfectly clear, how are you using this? With a > tag in your Tomcat >configuration or are you creating the pool in your > code? Either way, include the necessary >config or code whi

Re: Reg: Connection pool stats

2013-11-10 Thread Anu Prab
On Nov 7, 2013, at 11:58 PM, Anu Prab wrote: >>> I am using Tomcat 7.0.42 and Tomcat jdbc pool. > >> Just to be perfectly clear, how are you using this? With a > tag in your Tomcat >configuration or are you creating the pool in your > code? Either way, include the necessary >config or code whi

[ANN] Apache Tomcat Maven plugin 2.2

2013-11-10 Thread Olivier Lamy
Hi, The Apache Tomcat is pleased to announce the release of the 2.2 version. This plugin can used to run your war project inside an embeded Apache Tomcat and to deploy your project to a running Apache Tomcat instance. Documentation available: http://tomcat.apache.org/maven-plugin-2.2/index.html

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
On Sun, Nov 10, 2013 at 8:54 PM, Igor Cicimov wrote: > There is heaps of articles and questions in various forums > you're right... i searched google for ClientAbortException in tomcat nabble archive, and saw many posts.

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
On Sun, Nov 10, 2013 at 8:54 PM, Igor Cicimov wrote: > > > Also you didn't say anything about any load balancer or proxy fronting your > application. It is worth checking the timeouts there as well and align them > with the > connection timeout on your server (in case you do use one of course). >

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Igor Cicimov
On Mon, Nov 11, 2013 at 11:22 AM, Howard W. Smith, Jr. < smithh032...@gmail.com> wrote: > On Sun, Nov 10, 2013 at 5:08 PM, Igor Cicimov wrote: > > > For Sun Java for example you can try the following: > > > > -Dsun.net.client.defaultReadTimeout=180 > > > > which will increase the socket timeo

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
On Sun, Nov 10, 2013 at 5:08 PM, Igor Cicimov wrote: > For Sun Java for example you can try the following: > > -Dsun.net.client.defaultReadTimeout=180 > > which will increase the socket timeout to 30 minutes lets say if the > default one is not enough in case or slow client. Another thing to

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
On Sun, Nov 10, 2013 at 5:08 PM, Igor Cicimov wrote: > > In my experience SocketTimeoutException comes up in case of misbehaving > browser (read IE 8 and older), i.e. the client fails to send the complete > request and the socket timeout strikes. interesting, thanks. This error occurs when diff

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Igor Cicimov
On Mon, Nov 11, 2013 at 1:25 AM, Howard W. Smith, Jr. < smithh032...@gmail.com> wrote: > On Sun, Nov 10, 2013 at 9:14 AM, Howard W. Smith, Jr. < > smithh032...@gmail.com> wrote: > > > Caused by: java.net.SocketTimeoutException > > at > > > org.apache.tomcat.util.net.NioBlockingSelector.write(NioBl

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
On Sun, Nov 10, 2013 at 9:14 AM, Howard W. Smith, Jr. < smithh032...@gmail.com> wrote: > Caused by: java.net.SocketTimeoutException > at > org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:127) > at > org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java

Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
Using Tomcat 7.0.47 via TomEE 1.6.0 along with MyFaces 2.1.13 Recently, I have been experiencing the SocketTimeoutException when web application is serving resources to 'mobile clients'. Yesterday, user was attempting to login from mobile iPad via an internal wireless phone connection. Since my we