Hi, I am using Jencks 2.2 with geronimo-connector 2.1.2 implementation. I am using this with custom JCA RA implementation and recently when I started this in a heavily used multi threaded environment I am getting following exception;
java.util.ConcurrentModificationException at java.util.IdentityHashMap$IdentityHashMapIterator.nextIndex(IdentityHashMap.java:732) at java.util.IdentityHashMap$KeyIterator.next(IdentityHashMap.java:822) at com.jbase.jremote.jca.JRemoteManagedConnectionFactory.matchManagedConnections(Unknown Source) at org.apache.geronimo.connector.outbound.SinglePoolMatchAllConnectionInterceptor.internalGetConnection(SinglePoolMatchAllConnectionInterceptor.java:61) at org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:80) at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:46) at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:96) at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43) at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39) at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:87) at com.jbase.jremote.jca.JRemoteConnectionFactoryImpl.getConnection(Unknown Source) at com.jbase.jremote.jca.JRemoteConnectionFactoryImpl.getConnection(Unknown Source) I looked at the source but as far as I can see we are using IdentityHashMap but we do synchronize(pool) just before calling the matchManagedConnections method on my connection factory. Does anyone in the mailing encounter this....how can I solve this? Regards -- View this message in context: http://apache-geronimo.328035.n3.nabble.com/ConcurrentModificationException-from-SinglePoolMatchAllConnectionInterceptor-tp3989671.html Sent from the Users mailing list archive at Nabble.com.