commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vernon <vsingle...@cfl.rr.com>
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
properties
from /home/vds/downloads/apache-tomcat-6.0.13/webapps/jamwiki-0.6.0/WEB-INF/classes/sql.ansi.properties
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(PoolingDriver.java:184) at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:193) at org.jamwiki.db.DatabaseConnection.setUpConnectionPool(DatabaseConnection.java:315)
at org.jamwiki.db.DatabaseConnection.testDatabase(DatabaseConnection.java:334) at org.jamwiki.utils.Utilities.validateSystemSettings(Utilities.java:1236)
at org.jamwiki.servlets.SetupServlet.validate(SetupServlet.java:199) at org.jamwiki.servlets.SetupServlet.initialize(SetupServlet.java:120)

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(GenericObjectPool.java:871) at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:176) ... 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:
http://jamwiki.org/wiki/en/Feedback#MORE_INSTALL_PROBLEMS

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

- Vernon



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message