ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mischa <misch...@gmail.com>
Subject connection pooling
Date Thu, 17 Nov 2005 18:58:50 GMT
is there anything i can do to prevent ibatis from putting back 
connetions to the pool when they are already closed? i am working with 
cluster pairs and when the connection to one cluster fails i am 
switching back to another. it seems like the connection that failed/is 
closed is getting put back into the pool and is not getting 
reinitialized by the pool. so even if the first cluster is back online i 
am getting a

Cause: java.sql.SQLException: No operations allowed after connection closed.

any thoughts?

View raw message