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
: Connection Pool setup. Hi Doug, O, thanks, it's work... BTW, thanks for remind, and i am the good citizen, allway return connection back to pool. ;-) Gordon Parsons Technical Services wrote: Gordon, Just for grins and giggles try adding this as a test: parameter

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

Connection Pool setup.

2004-03-25 Thread Gordon Luk
Hi All, May be I missing understand the DBCP configuration. Anyone could help ? I want my connection pool are Max 100 connection, 10 conn. At start-up, max idle 10, when idle for 10 min then kill it. Something like that. Thanks. Regards, Gordon Luk --- Outgoing mail is certified

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
: 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 the DBCP configuration. Anyone could help ? I want my connection pool are Max 100 connection, 10 conn. At start-up, max idle

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