Hi JB,

when I try to use the generic data source, I get the following exception
from blueprint:

org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to
find a matching constructor on class
org.apache.commons.pool.impl.GenericObjectPool for arguments [null, 8,
WHEN_EXHAUSTED_BLOCK, -1, 8, 2, false, false, -1, 3, 5000, false, -1, true]
when instanciating bean connectionPool

The data source is installed as bundle. We use Commons DBCP 1.4 and Commons
Pool 1.6. According to the javadoc, there should be a constructor with this
arguments:
http://commons.apache.org/proper/commons-pool/api-1.6/org/apache/commons/pool/impl/GenericObjectPool.html

Regards
Jochen



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Pooling-with-PostgreSQL-and-Karaf-tp4035692p4035705.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to