Connection prematurely returned to pool
---------------------------------------

         Key: GEOT-840
         URL: http://jira.codehaus.org/browse/GEOT-840
     Project: GeoTools
        Type: Bug

  Components: arcsde  
    Reporter: Ilja Preuß
 Assigned to: Gabriel Roldán 


org.geotools.data.arcsde.ArcSDEConnectionPool.getSdeTable(String tableName)

gets a connection from the connection pool, passes it to the constructor of the 
SeTable class, *and then releases the connection* before returning the SeTable 
instance. That is, the SeTable now uses a connection that already has been 
returned to the pool.

I assume that the connection is used by SeTable to actually access the database 
while the instance is in use, which would mean that the connection might be 
used by an arbitrary number of objects simultaneously.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to