Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 1488 invoked from network); 30 Apr 2002 14:24:48 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 30 Apr 2002 14:24:48 -0000 Received: (qmail 10795 invoked by uid 97); 30 Apr 2002 14:24:50 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 10701 invoked by alias); 30 Apr 2002 14:24:49 -0000 Delivered-To: jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 10667 invoked by uid 97); 30 Apr 2002 14:24:49 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 10655 invoked from network); 30 Apr 2002 14:24:48 -0000 From: "Eric Pugh" To: "'Jakarta Commons Developers List'" Subject: Question about DBCP Date: Tue, 30 Apr 2002 10:19:36 -0400 Message-ID: <001201c1f052$164b6970$bdad94d0@mccom.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, Can anyone provide pointers to open source sites using DBCP? I am trying to get DBCP to work with DbForms (www.dbforms.org). DbForms currently uses Poolman as it's suggested pool for JDBC connections, but it badly needs something newer and easier to set up! I have managed to tweak the class ManualPoolingDataSourceExample to work with MSSql Server. However, what is confusing to me is how in the example my jdbc driver is passed in? I see it goes in from the commandline as -Djdbc.drivers=oracle.jdbc.driver.OracleDriver, but I never see how it get's used. In addition, when i hardcoded my driver, I couldn't get it to work until I added a Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver") at the top of the code in my copy of ManualPoolingDataSourceExample. Can someone give me some pointers on how the -Djdbc.drivers value actually get's registered with the DriverManager? Also, how can I verify that I am actually pooling connections, versus creating a new one over and over? I have attached my copy of ManualPoolingDataSourceExample that I have renamed to ManualPoolingDataSourceTest, and am using under JUnit to test. Eric -- To unsubscribe, e-mail: For additional commands, e-mail: