ConcurrentModificationException in ConnectionPool -------------------------------------------------
Key: GEOT-1149 URL: http://jira.codehaus.org/browse/GEOT-1149 Project: GeoTools Issue Type: Bug Components: data jdbc Affects Versions: 2.2.2 Environment: UDIG 1.1 - multiple layers rendering features from Oracle - for each layer Connection is allocated from ConnectionPool (because of AUTO_COMMIT transaction) to open a FeatureReader, etc. Reporter: Vitali Diatchkov Caused by: java.util.ConcurrentModificationException at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:617) at java.util.LinkedList$ListItr.next(LinkedList.java:552) at org.geotools.data.jdbc.ConnectionPool.getInUseManagedPooledConnection(ConnectionPool.java:150) at org.geotools.data.jdbc.ConnectionPool.access$200(ConnectionPool.java:46) at org.geotools.data.jdbc.ConnectionPool$ConnectionListManager.connectionClosed(ConnectionPool.java:227) at oracle.jdbc.pool.OraclePooledConnection.callListener(OraclePooledConnection.java:518) at oracle.jdbc.pool.OraclePooledConnection.logicalClose(OraclePooledConnection.java:485) at oracle.jdbc.driver.LogicalConnection.closeInternal(LogicalConnection.java:243) at oracle.jdbc.driver.LogicalConnection.close(LogicalConnection.java:214) at org.geotools.data.jdbc.JDBCUtils.close(JDBCUtils.java:136) ............. During concurrent using of Connection objects from ConnectionPool. >From first look a ConnectionPool.getInUseManagedPooledConnection() needs >synchronization or has to be called inside of "synchronized (mutex) {.. } " in >caller's methods. -- 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&kid=120709&bid=263057&dat=121642 _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel