apache - "Connection reset on log" from Commons DBCP -


i using spring, hibernate crud operations , using apache 'basicdatasource' connection pooling problem when use below following configuration in datasource

    <property name="maxactive" value="100"/>     <property name="maxwait" value="10000"/>     <property name="removeabandoned" value="true"/>     <property name="removeabandonedtimeout" value="60"/>     <property name="logabandoned" value="true"/>     <property name="maxidle" value="10"/> 

than after using connections m getting error of "connection reset on log" takes long time back.

and if m removing following lines datasource

   <property name="removeabandoned" value="true"/>     <property name="removeabandonedtimeout" value="60"/>     <property name="logabandoned" value="true"/> 

and adding below line sessionfactory(hibernateproperties)

    <prop key="hibernate.connection.release_mode">after_statement</prop> 

than getting no error on console problem uses connection , close completes.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -