Re: FW: dbcp pool evictor deadlock?

2009-09-04 Thread Narendra Sarkar
:13 AM Subject: Re: dbcp pool evictor deadlock? To: dev@tomcat.apache.org Mark Thomas ma...@apache.org wrote in message news:4a40e12c.2070...@apache.org... Narendra Sarkar wrote: Hi, We have a multi threaded environment. We have noticed that thread blocks for 10 to 20 minutes due DBCP

Re: FW: dbcp pool evictor deadlock?

2009-09-04 Thread Filip Hanik - Dev Lists
-- Forwarded message -- From: Eric B.ebe...@hotmail.com Date: Tue, Jun 23, 2009 at 10:13 AM Subject: Re: dbcp pool evictor deadlock? To: dev@tomcat.apache.org Mark Thomasma...@apache.org wrote in message news:4a40e12c.2070...@apache.org... Narendra Sarkar wrote

Re: dbcp pool evictor deadlock?

2009-06-23 Thread Narendra Sarkar
Hi, We have a multi threaded environment. We have noticed that thread blocks for 10 to 20 minutes due DBCP getConnection method call. Then, we investigated the source code of DBCP(commons-dbcp-1.2.1-PII.jar) and noticed that createConnection method is synchronized. This problem occur more

Re: dbcp pool evictor deadlock?

2009-06-23 Thread Mark Thomas
Narendra Sarkar wrote: Hi, We have a multi threaded environment. We have noticed that thread blocks for 10 to 20 minutes due DBCP getConnection method call. Then, we investigated the source code of DBCP(commons-dbcp-1.2.1-PII.jar) and noticed that createConnection method is synchronized. This

Re: dbcp pool evictor deadlock?

2009-06-23 Thread Eric B.
Mark Thomas ma...@apache.org wrote in message news:4a40e12c.2070...@apache.org... Narendra Sarkar wrote: Hi, We have a multi threaded environment. We have noticed that thread blocks for 10 to 20 minutes due DBCP getConnection method call. Then, we investigated the source code of

Re: dbcp pool evictor deadlock?

2009-06-23 Thread Mark Thomas
Eric B. wrote: Mark Thomas ma...@apache.org wrote in message news:4a40e12c.2070...@apache.org... Narendra Sarkar wrote: Hi, We have a multi threaded environment. We have noticed that thread blocks for 10 to 20 minutes due DBCP getConnection method call. Then, we investigated the source

Re: dbcp pool evictor deadlock?

2009-06-23 Thread Filip Hanik - Dev Lists
first, sorry for bringing this thread to dev, that should have never happened. I fat fingered the keyboard. Eric B. wrote: Mark Thomas ma...@apache.org wrote in message news:4a40e12c.2070...@apache.org... Narendra Sarkar wrote: Hi, We have a multi threaded environment. We have

Re: dbcp pool evictor deadlock?

2009-06-23 Thread Eric B.
Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:4a40eddd.2000...@hanik.com... first, sorry for bringing this thread to dev, that should have never happened. I fat fingered the keyboard. I cross posted my response to this, so the thread can continue on the user list, if

dbcp pool evictor deadlock?

2009-06-22 Thread Eric B.
Hi, I appologize in advance for the cross-post, but I'm really not sure if this is a problem with the dbcp code or my configuration. I ran into the most troublesome deadlock over the weekend on my server, and cannot figure out how/or why this deadlock occured. Via jconsole, I was able to get

Re: dbcp pool evictor deadlock?

2009-06-22 Thread Filip Hanik - Dev Lists
Could be a bug in DBCP, sure looks like it. You can try a drop in replacement that we are working on. http://people.apache.org/~fhanik/jdbc-pool/v1.0.5/ Filip Eric B. wrote: Hi, I appologize in advance for the cross-post, but I'm really not sure if this is a problem with the dbcp code or my