commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vivian Fonger" <vfon...@socketware.com>
Subject [dbcp]OutOfMemoryError
Date Thu, 01 Jul 2004 21:24:54 GMT
Hi everyone,
 
I ran into an outofmemory error with DBCP, can anyone give me
suggestions on how to fix this problem?? 
 
Here is the exception:
 
[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
 
The OutOfMemoryError is thrown when the applicatoin tries to access the
following code:
 
Connection conn =
DriverManager.getConnection("jdbc:apache:commons:dbcp:internal");
 
Thanks
 
Vivian Fonger
Software Engineer
Socketware
vfonger@socketware.com
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message