You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gregor Schneider <rc...@googlemail.com> on 2007/05/31 10:27:24 UTC
Console-Output of AbandonedObjectPool
Hi guys,
we're using a JDBC-datasource with the following definition in
$CATALIN_HOME/conf/Catalina/localhost/IndexCLUE.xml:
<?xml version='1.0' encoding='utf-8'?>
<Context>
<Resource
auth="Container"
description="DB Connection for CLUE-Index"
name="jdbc/IndexCLUEDS"
type="javax.sql.DataSource"
factory="org.apache.commons.dbcp.BasicDataSourceFactory"
driverClassName="com.mysql.jdbc.Driver"
username="xxxx"
password="xxxx"
url="jdbc:mysql://db/index_clue?autoReconnect=true"
maxIdle="30"
maxWait="10000"
maxActive="10"
validationQuery="SELECT 1"
testOnBorrow="true"
testWhileIdle="true"
timeBetweenEvictionRunsMillis="10000"
minEvictableIdleTimeMillis="28800"
poolPreparedStatements="true"
removeAbandoned="true"
removeAbandonedTimeout="300"
logAbandoned="false"/>
</Context>
In catalina.out, we always find the following output:
AbandonedObjectPool is used (org.apache.commons.dbcp.AbandonedObjectPool@5af6e15
e)
LogAbandoned: false
RemoveAbandoned: true
RemoveAbandonedTimeout: 300
I have no idea how to stop this, so can anyone of you guys give me a
clue where to look for to stop this output?
TIA
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Console-Output of AbandonedObjectPool
Posted by Gregor Schneider <rc...@googlemail.com>.
Aaargl.... so that means there's no possibility to get rid of this output?
I mean I don't need a possibility to divert it into a log-file, just
getting rid of the output would help...
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Console-Output of AbandonedObjectPool
Posted by Rainer Jung <ra...@kippdata.de>.
Unless things changed in the last 1.5 years (when I looked it up last
time): DBCP uses System.out.println() and not regular logging for the
output of exactly those lines :(
Regards,
Rainer
Gregor Schneider wrote:
> Hi guys,
>
> we're using a JDBC-datasource with the following definition in
> $CATALIN_HOME/conf/Catalina/localhost/IndexCLUE.xml:
>
> <?xml version='1.0' encoding='utf-8'?>
> <Context>
> <Resource
> auth="Container"
> description="DB Connection for CLUE-Index"
> name="jdbc/IndexCLUEDS"
> type="javax.sql.DataSource"
> factory="org.apache.commons.dbcp.BasicDataSourceFactory"
> driverClassName="com.mysql.jdbc.Driver"
> username="xxxx"
> password="xxxx"
> url="jdbc:mysql://db/index_clue?autoReconnect=true"
> maxIdle="30"
> maxWait="10000"
> maxActive="10"
> validationQuery="SELECT 1"
> testOnBorrow="true"
> testWhileIdle="true"
> timeBetweenEvictionRunsMillis="10000"
> minEvictableIdleTimeMillis="28800"
> poolPreparedStatements="true"
> removeAbandoned="true"
> removeAbandonedTimeout="300"
> logAbandoned="false"/>
> </Context>
>
> In catalina.out, we always find the following output:
>
> AbandonedObjectPool is used
> (org.apache.commons.dbcp.AbandonedObjectPool@5af6e15
> e)
> LogAbandoned: false
> RemoveAbandoned: true
> RemoveAbandonedTimeout: 300
>
> I have no idea how to stop this, so can anyone of you guys give me a
> clue where to look for to stop this output?
>
> TIA
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org