Hi,
 
I am using version 0.9.8 and have set up JNDI and connection pooling in
my repository.xml file. The problem is that it seems the connection
pooling is not working. Each time it gets a new connection. It works
fine when I don't use JNDI. I was wondering if anyone has had any issues
with this before and could recommend what I should do.
 
Peter
<jdbc-connection-descriptor

platform="MsSQLServer"

jdbc-level="2.0"

jndi-datasource-name="java:comp/env/jdbc/Analytics6">

<connection-pool

maxActive="25"

maxIdle="10"

maxWait="-1"

minEvictableIdleTimeMillis="10000"

numTestPerEvictionRun="10"

timeBetweenEvictionRunsMillis="10000"

whenExhaustedAction="1"

testOnBorrow="true"

testWhileIdle="true"

testOnReturn="true"

validationQuery="select count(1) from OJB_HL_SEQ"

/>

</jdbc-connection-descriptor>

Reply via email to