java - DBCL message on console -
i creating database connection pool following properties.
<bean id="complianceccrdatasource" class="org.apache.commons.dbcp.basicdatasource" destroy-method="close" lazy-init="false" > <property name="driverclassname" value="net.sourceforge.jtds.jdbc.driver" /> <property name="username" value="${deshaw.compliance.ccr.db.username}" /> <property name="password" value="${deshaw.compliance.ccr.db.password}" /> <property name="url" value="${deshaw.compliance.ccr.db.url}" /> <property name="initialsize" value="5" /> <property name="maxactive" value="10" /> <property name="maxwait" value="60000"/> <property name="testonborrow" value="true" /> <property name="validationquery"> <value>use ${deshaw.compliance.ccr.db.name} select 1 </value> </property> <property name="maxidle" value="10" /> <property name="removeabandoned" value="true" /> <property name="removeabandonedtimeout" value="600" /> <property name="logabandoned" value="false" /> </bean>
when try instantiate above bean, getting following messages on stdout. there way can suppress these ?
abandonedobjectpool used (org.apache.commons.dbcp.abandonedobjectpool@2d82ef6b) logabandoned: false removeabandoned: true removeabandonedtimeout: 600
Comments
Post a Comment