Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 4575 invoked from network); 1 Jul 2004 21:25:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Jul 2004 21:25:18 -0000 Received: (qmail 83204 invoked by uid 500); 1 Jul 2004 21:25:25 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 83111 invoked by uid 500); 1 Jul 2004 21:25:24 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 83097 invoked by uid 99); 1 Jul 2004 21:25:24 -0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=HTML_60_70,HTML_MESSAGE,HTML_TEXT_AFTER_BODY,HTML_TEXT_AFTER_HTML,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received: from [209.195.1.83] (HELO socketware.com) (209.195.1.83) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 01 Jul 2004 14:25:21 -0700 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C45FB1.DA084362" X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Subject: [dbcp]OutOfMemoryError Date: Thu, 1 Jul 2004 17:24:54 -0400 Message-ID: <8BB65B8A64970A44B5AAA23988DC4CD6016FC24C@angel.headquarters.socketware.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [dbcp]OutOfMemoryError Thread-Index: AcRfsdoHjdKUuyo5TkexNjteVSbL0w== From: "Vivian Fonger" To: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C45FB1.DA084362 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi everyone, =20 I ran into an outofmemory error with DBCP, can anyone give me suggestions on how to fix this problem??=20 =20 Here is the exception: =20 [Thread-0] ERROR 3102aused by: org.apache.commons.dbcp.SQLNestedException: Connect failed, cause: null at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:193) at com.accucast3.database.DatabaseResource.getConnection(DatabaseResource.j ava:2043) ... 3 more Caused by: java.lang.OutOfMemoryError =20 The OutOfMemoryError is thrown when the applicatoin tries to access the following code: =20 Connection conn =3D DriverManager.getConnection("jdbc:apache:commons:dbcp:internal"); =20 Thanks =20 Vivian Fonger Software Engineer Socketware vfonger@socketware.com =20 ------_=_NextPart_001_01C45FB1.DA084362--