Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3675

ConcurrentModificationException on closing pooled connection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 10.4.1.3
    • None
    • Network Client
    • None
    • Normal

    Description

      I'm seeing the following exception from calling close() on a connection returned from a CollectionPoolDataSource.

      java.util.ConcurrentModificationException
      at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
      at java.util.AbstractList$Itr.next(AbstractList.java:343)
      at org.apache.derby.client.ClientPooledConnection.recycleConnection(ClientPooledConnection.java:343)
      at org.apache.derby.client.am.LogicalConnection.close(LogicalConnection.java:83)

      The only particularly unique thing about the area of the code where we're doing this is that we're closing it immediately after opening it, as an initial check to make sure it can connect.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              trejkaz Trejkaz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: