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
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
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!
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
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
- 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
: 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
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
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
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
: 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
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
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
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
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
15 matches
Mail list logo