Hi,

We are using pax-jdbc for managing database connections. My environment
details are

Jboss Fuse 6.2.1
pax-jdbc 0.10.0- SNAPSHOT
Oracle - 11.2.0.4.0

Installed following features from pax-jdbc,

>features:install transaction jndi pax-jdbc-oracle pax-jdbc-pool-dbcp2
pax-jdbc-config 

we have observed that if the database is restarted or there were some
network issues all connections in the pool are corrupted. They are not
re-initialized after the connectivity unless the container is restarted.
Appreciate if someone can help me resolve this issue.

My data source configuration for your reference,

dataSourceName = dsn
osgi.jndi.service.name = dsn
osgi.jdbc.driver.name = oracle-pool
url = jdbc:oracle:thin:@//<<servername>>:port/databasename
user = user
password = password
pool.initalSize = 1
pool.maxTotal = 2
pool.minIdle = 2

factory.validationQuery=select sysdate from dual

Thanks,
Pravin



--
View this message in context: 
http://karaf.922171.n3.nabble.com/pax-jdbc-dbcp2-and-connection-pooling-tp4048791.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to