#2223 ConcurrentModificationException in TransactionImpl

v3.2
closed-out-of-date
nobody
5
2004-11-29
2004-11-27
No

JBoss 3.2.3, Linux, JDK 1.4.2_06

got this on transaction timeout:

java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:448)
at java.util.AbstractList$Itr.next(AbstractList.java:419)
at org.jboss.tm.TransactionImpl.interruptThreads(TransactionImpl.java:823)
at org.jboss.tm.TransactionImpl.timedOut(TransactionImpl.java:273)
at org.jboss.util.timeout.TimeoutFactory$TimeoutWorker.run(TimeoutFactory.java:100)
emoteException,javax.ejb.RemoveException, causedBy:
java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout
at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.doSchedule(QueuedPessimisticEJBLock.java:228)
at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.schedule(QueuedPessimisticEJBLock.java:183)
at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:85)
at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:54)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:489)
at org.jboss.ejb.Container.invoke(Container.java:700)
at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
at org.jboss.proxy.ejb.EntityInterceptor.invoke(EntityInterceptor.java:97)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
at $Proxy1079.remove(Unknown Source)
at com.supportwizard.subtypes.ejb.SWSubtypeColumnBean.ejbRemove(SWSubtypeColumnBean.java:356)
at com.supportwizard.subtypes.ejb.SWSubtypeColumnBMP.ejbRemove(SWSubtypeColumnBMP.java:129)

BTW transaction timeout was set to 2 hours, however exception occurred much faster, but this is another question..

Discussion

  • Tim McCune
    Tim McCune
    2004-11-29

    Logged In: YES
    user_id=62441

    You should upgrade if you can. This looks like a dup of bug
    935643, which I submitted, and which was fixed in 3.2.4.

     
  • Adrian Brock
    Adrian Brock
    2004-11-29

    Logged In: YES
    user_id=9459

    Yes, all bug reports that have not been tested against the
    latest version
    are just a waste of people's time.

     
  • Adrian Brock
    Adrian Brock
    2004-11-29

    • status: open --> closed-out-of-date