DB Connection error

2012-01-03 Thread Anjib Mulepati
Hi All, One simple question If I have JINDI configuration in my application will my application reconnect to the DB whenever my DB gets restart. I am having DB connection problem every Monday since our DB get restarted on weekends which we don't have control of. I am using Tomcat 6.0.20

Re: DB Connection error

2012-01-03 Thread Chema
2012/1/3 Anjib Mulepati anji...@hotmail.com: Hi All, One simple question If I have JINDI configuration in my application will my application reconnect to the DB whenever my DB gets restart. I am having DB connection problem every Monday since our DB get restarted on weekends which we don't

Re: DB Connection error

2012-01-03 Thread Anjib Mulepati
On 1/3/2012 1:12 PM, Chema wrote: 2012/1/3 Anjib Mulepatianji...@hotmail.com: Hi All, One simple question If I have JINDI configuration in my application will my application reconnect to the DB whenever my DB gets restart. I am having DB connection problem every Monday since our DB get

Re: DB Connection error

2012-01-03 Thread Chema
But in my application I have context.xml with following Context antiJARLocking=true path=/myApp Resource auth=Container            driverClassName=oracle.jdbc.driver.OracleDriver            maxActive=20            maxIdle=10            maxWait=-1            name=jdbc/myName            

Re: DB Connection error

2012-01-03 Thread Daniel Mikusa
On Tue, 2012-01-03 at 10:47 -0800, Chema wrote: But in my application I have context.xml with following Context antiJARLocking=true path=/myApp Resource auth=Container driverClassName=oracle.jdbc.driver.OracleDriver maxActive=20 maxIdle=10

Re: help analyzing thread dump for Tomcat 7.0.23 issue

2012-01-03 Thread Janne Jalkanen
What were those 4 RUNNABLE threads doing? They were processing POST requests from the client with a somewhat large data payload. Just wanted to pop in and say that my app does also get large POST requests AND uses APR AND has problems on 7.0.23. Perhaps my FD leak is related to this?

RE: DB Connection error

2012-01-03 Thread Propes, Barry L
I also have the following attributes in mine, for what it's worth. maxIdle=30 maxWait=1 maxActive=10 testOnBorrow=true timeBetweenEvictionRunsMillis=-1 minEvictableIdleTimeMillis=28800 poolPreparedStatements=true removeAbandoned=true

7.0.22+ fd leak with APR/native

2012-01-03 Thread Mark Thomas
I am trying to bring together all the information I have gleaned on this so far from the multiple threads to try and find the common factors. So far I have: - 7.0.21 is OK - 7.0.22 has an fd leak - 7.0.23 has an fd leak and may leak faster than 7.0.22 - occurs with APR/native - does not occur

Re: 7.0.22+ fd leak with APR/native

2012-01-03 Thread André Warnier
Mark Thomas wrote: I am trying to bring together all the information I have gleaned on this so far from the multiple threads to try and find the common factors. So far I have: - 7.0.21 is OK - 7.0.22 has an fd leak - 7.0.23 has an fd leak and may leak faster than 7.0.22 - occurs with APR/native

Re: 7.0.22+ fd leak with APR/native

2012-01-03 Thread Mark Thomas
On 03/01/2012 21:26, André Warnier wrote: Mark Thomas wrote: I am trying to bring together all the information I have gleaned on this so far from the multiple threads to try and find the common factors. snip/ Suggestion: the large POST requests mentioned by a couple of posters suggest file

Re: DB Connection error

2012-01-03 Thread Chema
Try adding validationQuery=SELECT 1 FROM DUAL and testOnBorrow=true. testOnBorrow is true by default :-) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: 7.0.22+ fd leak with APR/native

2012-01-03 Thread Mark Thomas
On 03/01/2012 21:32, Mark Thomas wrote: On 03/01/2012 21:26, André Warnier wrote: Mark Thomas wrote: I am trying to bring together all the information I have gleaned on this so far from the multiple threads to try and find the common factors. snip/ Suggestion: the large POST requests

Re: help analyzing thread dump for Tomcat 7.0.23 issue

2012-01-03 Thread Mike Wertheim
On Mon, Jan 2, 2012 at 6:55 PM, Mike Wertheim m...@hyperreal.org wrote: On Mon, Jan 2, 2012 at 3:09 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, On 12/29/11 9:01 PM, Mike Wertheim wrote: I did a stack dump on 7.0.23 when

Re: DB Connection error

2012-01-03 Thread Pid
On 03/01/2012 17:08, Anjib Mulepati wrote: Hi All, One simple question If I have JINDI configuration in my application will my application reconnect to the DB whenever my DB gets restart. I am having DB connection problem every Monday since our DB get restarted on weekends which we don't