commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vernon <>
Subject dbcp HSQL issue
Date Mon, 09 Jul 2007 01:42:18 GMT
Could some one help us figure this issue out?

I am getting a NoSuchElementException with dbcp 1.2.2 as follows:

2007-07-08 01:58:14,063 CONFIG: org.jamwiki.Environment - Loading
from /home/vds/downloads/apache-tomcat-6.0.13/webapps/jamwiki-0.6.0/WEB-INF/classes/
2007-07-08 01:58:18,318 SEVERE: org.jamwiki.utils.Utilities - Invalid database settings org.apache.commons.dbcp.SQLNestedException:
Cannot get a connection, pool error: Could not create a validated object, cause: ValidateObject
failed at org.apache.commons.dbcp.PoolingDriver.connect( at java.sql.DriverManager.getConnection(
at java.sql.DriverManager.getConnection( at org.jamwiki.db.DatabaseConnection.setUpConnectionPool(
at org.jamwiki.db.DatabaseConnection.testDatabase( at org.jamwiki.utils.Utilities.validateSystemSettings(
at org.jamwiki.servlets.SetupServlet.validate( at org.jamwiki.servlets.SetupServlet.initialize(

Farther down in the trace is this:
Caused by: java.util.NoSuchElementException: Could not create a
validated object, cause: ValidateObject failed at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject( at
org.apache.commons.dbcp.PoolingDriver.connect( ... 54 more

We are using the commons-dbcp API for a web application running in
systems as follows:

      * Fedora Core release 6 (Zod)
      * apache-tomcat-6.0.13
      * Java 1.5.0_06-b05
      * embedded version of the HSQL database

More details about this issue on our wiki here:

If anyone can help me understand what I've done wrong, I would greatly
appreciate it.

- Vernon

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message