https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
Mark Thomas changed:
What|Removed |Added
Component|Catalina|jdbc-pool
Version|7.0.50
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #2 from Christopher Schultz ---
Have you enabled "abandoned" logging? I believe tomcat-pool is less kind than
DBCP when you have resource leaks in your application.
--
You are receiving this mail because:
You are the assignee
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #3 from Danila Galimov ---
No, could you please clarify how can I do that?
--
You are receiving this mail because:
You are the assignee for the bug.
-
To uns
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #4 from Filip Hanik ---
Not sure this would be a bug. It is your responsibility to close statements in
your application. However, you can configure the pool to do it for you
https://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.ht
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
Danila Galimov changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #6 from Christopher Schultz ---
If the StatementFinalizer fixed your problem, then you should take some time to
look into your application and correct those errors. Head over to the users'
mailing list if you'd like some help wi
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #7 from Danila Galimov ---
Thank you :-)
Ideally I would like to have something like stacktrace of statement opening,
and stacktrace of connection close, so when connection is closed, all of the
opened and not closed prepared s
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #8 from Filip Hanik ---
(In reply to Danila Galimov from comment #7)
> Thank you :-)
>
> Ideally I would like to have something like stacktrace of statement opening,
> and stacktrace of connection close, so when connection is c
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #9 from Danila Galimov ---
Created attachment 31467
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31467&action=edit
StatementFinalizer patch
--
You are receiving this mail because:
You are the assignee for the bug
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #10 from Danila Galimov ---
I've created an patch for StatementFinalizer class. It allows to print the
creation stack, if configured in a way like
jdbcInterceptors="org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer(logC
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #11 from Christopher Schultz ---
(In reply to Danila Galimov from comment #10)
> I've created an patch for StatementFinalizer class. It allows to print the
> creation stack, if configured in a way like
> jdbcInterceptors="org.ap
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #12 from Danila Galimov ---
When logAbandoned is set to true, when connection is closed, but any statements
are left unclosed, you'll get this message in the catalina.log and/or console
(depends on the logger configuration):
WA
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #13 from Christopher Schultz ---
(In reply to Danila Galimov from comment #12)
> When logAbandoned is set to true, when connection is closed, but any
> statements are left unclosed, you'll get this message in the catalina.log
>
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #14 from Danila Galimov ---
The other changes are:
1) Removed catch of ClassCastException, since it shouldn't occur (And I was not
able to get it actually in my tests)
2) Statement is now closed only if Statement.isClosed() retu
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
Filip Hanik changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|INVALID
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #16 from Danila Galimov ---
Is it ok to apply it?
--
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-uns
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
Filip Hanik changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #18 from Michael Osipov <1983-01...@gmx.net> ---
The revision links to Apache Directory
--
You are receiving this mail because:
You are the assignee for the bug.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #19 from Filip Hanik ---
(In reply to Michael Osipov from comment #18)
> The revision links to Apache Directory
r1616644
--
You are receiving this mail because:
You are the assignee for the bug.
-
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
Danila Galimov changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
Filip Hanik changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
21 matches
Mail list logo