Hi David, I do not have any idea about the exact reason for this error.
But, I feel that this may be one of the main reasons .... **** Straight from Java API on HashMap **** The iterators returned by all of this class's "collection view methods" are fail-fast: if the map is structurally modified at any time after the iterator is created, in any way except through the iterator's own remove or add methods, the iterator will throw a ConcurrentModificationException. Thus, in the face of concurrent modification, the iterator fails quickly and cleanly, rather than risking arbitrary, non-deterministic behavior at an undetermined time in the future. **************** It will happen when collection is being modified after creating the iterator. -Saroj -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of David Brady Sent: Saturday, August 10, 2002 9:52 AM To: [EMAIL PROTECTED] Subject: FW: [JBoss-user] java.util.ConcurrentModificationException on XAPoolDataSource - need help... Hi everyone - I still need some help/guidance on this. Didn't get a response last time around. This is a huge problem since I can't reliably get connections when needed. Thanks, David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of David Brady Sent: Thursday, June 27, 2002 1:50 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] java.util.ConcurrentModificationException on XAPoolDataSource - need help... Using Jboss 2.44 I'm tracking down a problem we occasionally have during load tests when we try to get a connection from a XAPoolDataSource. The exception is not very informative and doesn't give me a concrete approach to solve the problem. Anybody give me insight/help with this? Thanks! java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.next(HashMap.java(Compiled Code)) at org.jboss.pool.ObjectPool.getObject(Unknown Source) at org.jboss.pool.ObjectPool.getObject(Unknown Source) at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(Unknown Source) ... The datasource is setup as: <mbean code="org.jboss.jdbc.XADataSourceLoader" name="DefaultDomain:service=XADataSource,name=jdbc/yyy"> <attribute name="PoolName">jdbc/yyy</attribute> <attribute name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</ attribute> <attribute name="Properties"></attribute> <attribute name="URL">jdbc:mysql://xxxxxxxxx:3306/logging?autoReconnect=true</attri bute> <attribute name="GCMinIdleTime">1200000</attribute> <attribute name="JDBCUser">xxxxxxxxx</attribute> <attribute name="MaxSize">150</attribute> <attribute name="Password" /> <attribute name="GCEnabled">false</attribute> <attribute name="InvalidateOnError">false</attribute> <attribute name="TimestampUsed">false</attribute> <attribute name="Blocking">true</attribute> <attribute name="GCInterval">120000</attribute> <attribute name="IdleTimeout">1800000</attribute> <attribute name="IdleTimeoutEnabled">false</attribute> <attribute name="LoggingEnabled">false</attribute> <attribute name="MaxIdleTimeoutPercent">1.0</attribute> <attribute name="MinSize">0</attribute> </mbean> Thanks very much, David ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user