What kind if environment are you in right now? I mean, what is the
"behind the scenes" system handling connections, pooling, and JNDI?

For example I primarily use OJB in servlet/J2EE engines, so all of that
stuff is handled by the container.  I've had some connection pooling
problems with Orion and OC4J, although I fixed them by using the Oracle
Pooled Connections instead of the app-server classes for connection
pooling.


Jason

On Mon, 2003-09-08 at 12:45, Peter Costa wrote:
> 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>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to