tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <de...@oma.be>
Subject Re: DBCP Logging
Date Mon, 19 Feb 2007 13:49:06 GMT
Lambda probe is a usefull webapplication you can deploy under tomcat and
that, amongst many features, allows you to see the state of your
connection pools.

En l'instant précis du 02/19/07 14:40, news@swisslab.de s'exprimait en
ces termes:
> Hello List,
>
> I've configured DBCP on my Tomcat 5.5.20 Installation.
>     <Resource name="jdbc/myDB"
>               auth="Container"
>               type="javax.sql.DataSource"
>          maxActive="10"
>            maxIdle="2"
>            maxWait="10000"
>           username="aUser"
>           password="secret"
>    driverClassName="com.sybase.jdbc3.jdbc.SybDriver"
>            factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
>                url="jdbc:sybase:Tds:194.111.13.30:5000/?charset=iso_1" />
>
> This runs great and I'm really happy with it until it comes to logging
> and/or monitoring.
> What do I have to do if I want to know the state of the connection pool? How
> can I see how many connections are currently in use? Or - more generally -
> How can I set up logging for the pool? 
>
> Thanks!
>
> Jan
>
> ---------------------------------------------------------------------
> 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
>
>   


---------------------------------------------------------------------
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


Mime
View raw message