[Bug 48392] jdbc-pool is not returning the proxied connection in resultSet and statement

2019-11-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=48392

--- Comment #9 from KMI  ---
Hi,


I'm using ddlutils 1.0 and tomcat jdbc pool 1.0.7.1 and I getting an error
due to a connection is closed and the pool is not aware of that.
Basically the issue is that ddlutils has a resultset iterator and when it
finishes it closes the connection by getting it from the *
resultSet.preparedStatement.connection* and the connection returned is not
the proxy that the pool has created.


So the issue happens when another client retrieves a connection from the
pool because the pool returns a connection that was actually closed.
Why tomcat jdbc pool is not creating proxies for preparedStatements and
resultSets like commons-dbcp?


Is there any other way to address this issue?

Thanks

Antonio - https://kmidata.es/

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



[Bug 48392] jdbc-pool is not returning the proxied connection in resultSet and statement

2019-08-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=48392

--- Comment #10 from sophia  ---
(In reply to gfernandes from comment #1)
> jdbc-pool version is: 1.0.7.1

You can correct that with another strategy to solve this problem. Our developer
team was facing the problem when they work on https://www.dissertationboss.com
project. Developers team solve the problem by applying a new strategy to solve
the problem.

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



[Bug 48392] jdbc-pool is not returning the proxied connection in resultSet and statement

2019-07-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=48392

--- Comment #9 from Dano George  ---
The Connection (by the connection pool) appears to be a logical connection,
while the close() method is not used to close the connection, virtually, it
rather performs cleanup like closing Statement, ResultSet, and so on created
from the logical connection.
How to Prevent JDBC Resource Leaks with JDBC and with jOOQ:
https://tomcat.apache.org/tomcat-8.5-doc/jdbc-pool.html https://essaytyper.pro
https://blog.jooq.org/2017/01/05/how-to-prevent-jdbc-resource-leaks-with-jdbc-and-with-jooq/

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



DO NOT REPLY [Bug 48392] jdbc-pool is not returning the proxied connection in resultSet and statement

2011-09-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48392

Filip Hanik fha...@apache.org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

--- Comment #8 from Filip Hanik fha...@apache.org 2011-09-12 15:25:29 UTC ---
Thank you
Fixed in r1169796

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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



DO NOT REPLY [Bug 48392] jdbc-pool is not returning the proxied connection in resultSet and statement

2011-09-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48392

Neil Clarke nacla...@gmail.com changed:

   What|Removed |Added

  Attachment #25054|0   |1
is obsolete||

--- Comment #7 from Neil Clarke nacla...@gmail.com 2011-09-05 08:54:34 UTC ---
Created attachment 27457
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=27457
A correction to the createDecorator() method in the interceptor

There appears to be a typing error in the createDecorator() method of the
interceptor, setting the connection to the constructor object:

statementProxy.setConnection(proxy);
statementProxy.setConstructor(constructor);

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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



DO NOT REPLY [Bug 48392] jdbc-pool is not returning the proxied connection in resultSet and statement

2011-09-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48392

Neil Clarke nacla...@gmail.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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



DO NOT REPLY [Bug 48392] jdbc-pool is not returning the proxied connection in resultSet and statement

2010-08-04 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48392

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

  Component|Modules: jdbc-pool  |jdbc-pool
Product|Tomcat 7|Tomcat Modules

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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



DO NOT REPLY [Bug 48392] jdbc-pool is not returning the proxied connection in resultSet and statement

2010-02-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48392

Filip Hanik fha...@apache.org changed:

   What|Removed |Added

 CC||fha...@apache.org

--- Comment #4 from Filip Hanik fha...@apache.org 2010-02-24 17:44:08 UTC ---
The patch contains a package name we can't use, and it doesn't have any license
header in it.

Can you adjust the package name to 
org.apache.tomcat.jdbc.pool.interceptor

and add the license header (just look at an existing source file)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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



DO NOT REPLY [Bug 48392] jdbc-pool is not returning the proxied connection in resultSet and statement

2010-02-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48392

gfernandes gsfernan...@gmail.com changed:

   What|Removed |Added

  Attachment #24713|0   |1
is obsolete||

--- Comment #5 from gfernandes gsfernan...@gmail.com 2010-02-24 18:06:13 UTC 
---
Created an attachment (id=25054)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=25054)
Corrected package and added license header

Corrected the package and added the license header as suggested by Filip.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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



DO NOT REPLY [Bug 48392] jdbc-pool is not returning the proxied connection in resultSet and statement

2010-02-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48392

gfernandes gsfernan...@gmail.com changed:

   What|Removed |Added

  Attachment #25054|Corrected package and added |Statement decorator
description|license header  |interceptor that proxies
   ||the resultSet and
   ||statement.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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



DO NOT REPLY [Bug 48392] jdbc-pool is not returning the proxied connection in resultSet and statement

2010-02-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48392

Filip Hanik fha...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #6 from Filip Hanik fha...@apache.org 2010-02-24 19:28:36 UTC ---
Thank you for the patch. It's been committed with a change to
org.apache.juli.Log instead of Log4j

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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



DO NOT REPLY [Bug 48392] jdbc-pool is not returning the proxied connection in resultSet and statement

2009-12-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48392

--- Comment #2 from gfernandes gsfernan...@gmail.com 2009-12-16 11:26:26 UTC 
---
Created an attachment (id=24713)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=24713)
JdbcInterceptor to proxy resultSets and statements

Implemented a JdbcInterceptor to proxy resultSets and statements.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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



DO NOT REPLY [Bug 48392] jdbc-pool is not returning the proxied connection in resultSet and statement

2009-12-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48392

--- Comment #3 from Konstantin Kolinko knst.koli...@gmail.com 2009-12-16 
19:10:14 UTC ---
For reference: link to the discussion thread on users@:
http://markmail.org/thread/lf4l3tjy5eev5kxo
http://marc.info/?t=12608985304r=1w=2

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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



DO NOT REPLY [Bug 48392] jdbc-pool is not returning the proxied connection in resultSet and statement

2009-12-15 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48392

--- Comment #1 from gfernandes gsfernan...@gmail.com 2009-12-15 12:08:01 UTC 
---
jdbc-pool version is: 1.0.7.1

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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