ArcSDE concurrency issue
------------------------

         Key: GEOT-765
         URL: http://jira.codehaus.org/browse/GEOT-765
     Project: GeoTools
        Type: Bug
  Components: arcsde  
    Versions: 2.1.0    
 Environment: Sun JDK 1.5.0__04, linux, SDE on solaris, version 9.0.0 patch 1
    Reporter: Saul Farber
 Assigned to: Gabriel Roldán 
 Attachments: sde-concurrency.patch

In ArcSDEQuery.getSeQuery() the connection used to create the SeQuery object is 
released in the finally block of the method.

This causes the underlying SeQuery's SeConnection to get re-used and if the 
connection pool is over-commited and needs to meter connections, this will lead 
to two SeStreamOps using the same SeConnection, which causes deadlocks at the 
query.execute() and/or new SeQuery(...) method-calls.

Fix is to comment out the "releaseConnection()" method in the finally block of 
getSeQuery();

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



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to