Re: Connection Pool setup.

2004-04-02 Thread Kawthar Bt M Sulaiman
Hello, I'd like to know how to implement connection pooling in my application. This is what I had done so far. Pls let me know what I need to change to use the pooling mechanism. 1. I created a singleton class: DatabaseOperations. 2. It has an Connection instance: conn. 3. During

RE: Connection Pool setup.

2004-04-02 Thread Kal Govindu
Hi, Hello, I'd like to know how to implement connection pooling in my application. This is what I had done so far. Pls let me know what I need to change to use the pooling mechanism. 1. I created a singleton class: DatabaseOperations. 2. It has an Connection instance: conn. 3. During

RE: Connection Pool setup.

2004-04-02 Thread Paul Mansfield
On Fri, 2004-04-02 at 13:47, Kal Govindu wrote: I'd like to know how to implement connection pooling in my application. This is what I had done so far. Pls let me know what I need to change you don't have to write any database pooling functions, it comes built in!

RE: Connection Pool setup.

2004-04-02 Thread Kawthar Bt M Sulaiman
Hi Kal, Thank you... your getConnection() and releaseConnection() also very helpful. Will implement and test them... --Kawthar [EMAIL PROTECTED] 02/04/2004 08:47:43 PM Hi, Hello, I'd like to know how to implement connection pooling in my application. This is what I had done so far. Pls

Re: Connection Pool setup.

2004-03-27 Thread Antonio Fiol Bonnín
resort if it fails normally. There is something leaving the connection hanging. Doug - Original Message - From: Gordon Luk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, March 26, 2004 2:31 AM Subject: Re: Connection Pool setup. Hi Doug, O, thanks, it's

Re: Connection Pool setup.

2004-03-26 Thread Gordon Luk
- Original Message - From: Gordon Luk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, March 26, 2004 2:31 AM Subject: Re: Connection Pool setup. Hi Doug, O, thanks, it's work... BTW, thanks for remind, and i am the good citizen, allway return connection

Re: Connection Pool setup.

2004-03-26 Thread Antonio Fiol Bonnín
. Doug - Original Message - From: Gordon Luk [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, March 25, 2004 11:18 PM Subject: RE: Connection Pool setup. Here my setting... My problem is ... Connection pool look like don't open 10 connection

Re: Connection Pool setup.

2004-03-26 Thread Gordon Luk
the connection hanging. Doug - Original Message - From: Gordon Luk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, March 26, 2004 2:31 AM Subject: Re: Connection Pool setup. Hi Doug, O, thanks, it's work... BTW, thanks for remind, and i am the good citizen

RE: Connection Pool setup.

2004-03-25 Thread D'Alessandro, Arthur
May help if you post your resource snipplet (replacing any host /user/passwd info) -Original Message- From: Gordon Luk [mailto:[EMAIL PROTECTED] Sent: Thu Mar 25 05:30:56 2004 To: Tomcat Users List Subject:Connection Pool setup. Hi All, May be I missing understand

Re: Connection Pool setup.

2004-03-25 Thread Peter Rossbach
That easy, look at the DBCP Documentation http://jakarta.apache.org/commons/dbcp/configuration.html and used the following Resource name=jdbc/EmployeeDatabase auth=Container type=javax.sql.DataSource / ResourceParams name=jdbc/EmployeeDatabase

RE: Connection Pool setup.

2004-03-25 Thread Gordon Luk
Regards, Gordon Luk -Original Message- From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 7:03 PM To: Tomcat Users List; Tomcat Users List Subject: RE: Connection Pool setup. May help if you post your resource snipplet (replacing any host /user/passwd info

Re: Connection Pool setup.

2004-03-25 Thread Parsons Technical Services
to the min then you have a leak in you app. Check that connections, resultsets and statements are all closed. Doug - Original Message - From: Gordon Luk [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, March 25, 2004 11:18 PM Subject: RE: Connection Pool setup

Re: Connection Pool setup.

2004-03-25 Thread Gordon Luk
Message - From: Gordon Luk [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, March 25, 2004 11:18 PM Subject: RE: Connection Pool setup. Here my setting... My problem is ... Connection pool look like don't open 10 connection at start-up, and when my servlet run

Re: Connection Pool setup.

2004-03-25 Thread Parsons Technical Services
the connection hanging. Doug - Original Message - From: Gordon Luk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, March 26, 2004 2:31 AM Subject: Re: Connection Pool setup. Hi Doug, O, thanks, it's work... BTW, thanks for remind, and i am the good citizen, allway