https://issues.apache.org/bugzilla/show_bug.cgi?id=54217

--- Comment #2 from Levan <informatik0...@gmail.com> ---
(In reply to comment #1)
> You are not closing your connection pool properly. You need to specify
> closeMethod="close". Without that the pool would not know when to close
> those 10 "minIdle" connections.
> 
> The attribute is documented here:
> http://tomcat.apache.org/tomcat-7.0-doc/config/context.
> html#Resource_Definitions
> 
> 
> This is going to be close as INVALID. Just holding it open for a while as a
> chance to improve documentation: it would be better to add closeMethod to
> the examples in jndi-datasource-examples-howto.html

Thank you so much for your help!
I added the attribute closeMethod="close" to the Resource element in my 
/META-INFO/context.xml and it works!

I asked about how to handle this issue on stackoverflow.com and nobody seems to
know. So I'll post the answer to my question myself referencing this page and
your help.

Спасибо!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to