login about faq

I have modified our server.xml of Tomcat 6.0 and added attributes in <resource> tag:

removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true"

These attributes would prevent us to have connection pool leak.

part of my server.xml:

<resource name="SupportToolDataSourceGlobal" auth="Container" type="javax.sql.DataSource" maxactive="100" maxidle="30" maxwait="10000" username="viewsupuser" password="viewsupuser" driverclassname="com.mysql.jdbc.Driver" url="jdbc:mysql://10.2.3.16:3306/viewsup?zeroDateTimeBehavior=convertToNull&amp;jdbcCompliantTruncation=false&amp;autoReconnect=true" factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" removeabandoned="true" removeabandonedtimeout="60" logabandoned="true"/>



If logAbandoned="true", where can I actually find the logs where I can see abandoned connections?

Thanks!

asked Jun 02 '11 at 17:15

Cris's gravatar image

Cris
1718

edited Jun 02 '11 at 17:17

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×13
×4

Asked: Jun 02 '11 at 17:15

Seen: 689 times

Last updated: Jun 02 '11 at 17:17