0 Replies Latest reply on Jan 27, 2009 9:27 AM by Gregory Nikle

    Could not close a JDBC result set

    Gregory Nikle Apprentice

      Hi, when I test my app using jmeter. When I increase tests to over 50 concurent requests, my jboss serwer goes into never ending while throwing errrors like below.


      I found this is very strange hibernate error, reported here:
      http://opensource.atlassian.com/projects/hibernate/browse/HHH-3006


      can anybody help me and tell, is that resolved?
      I use Seam 2.1.1GA and jboss 4.2.1GA



      2009-01-25 11:23:20,375 WARN  [org.hibernate.jdbc.AbstractBatcher]
      Could not close a JDBC result set
      java.util.ConcurrentModificationException
              at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
              at java.util.HashMap$KeyIterator.next(HashMap.java:877)
              at org.hibernate.jdbc.AbstractBatcher.closeStatements
      (AbstractBatcher.java:314)
              at org.hibernate.jdbc.ConnectionManager.afterTransaction
      (ConnectionManager.java:297)
              at org.hibernate.jdbc.JDBCContext.afterTransactionCompletion
      (JDBCContext.java:221)
              at org.hibernate.transaction.CacheSynchronization.afterCompletion
      (CacheSynchronization.java:85)
              at
      com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion
      (SynchronizationImple.java:136)
              at
      com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion
      (TwoPhaseCoordinator.java:340)
              at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end
      (TwoPhaseCoordinator.java:93)
              at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
              at
      com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate
      (TransactionImple.java:1382)
              at
      com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit
      (BaseTransaction.java:135)
              at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit
      (BaseTransactionManagerDelegate.java:87)
              at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit
      (ServerVMClientUserTransaction.java:140)
              at org.jboss.seam.transaction.UTTransaction.commit(UTTransaction.java:
      52)
              at org.jboss.seam.util.Work.workInTransaction(Work.java:58)
              at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke
      (TransactionInterceptor.java:89)
              at org.jboss.seam.intercept.SeamInvocationContext.proceed
      (SeamInvocationContext.java:68)
              at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke
      (MethodContextInterceptor.java:44)
              at org.jboss.seam.intercept.SeamInvocationContext.proceed
      (SeamInvocationContext.java:68)
              at org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke
      (AsynchronousInterceptor.java:52)
              at org.jboss.seam.intercept.SeamInvocationContext.proceed
      (SeamInvocationContext.java:68)
              at org.jboss.seam.intercept.RootInterceptor.invoke
      (RootInterceptor.java:107)
              at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation
      (JavaBeanInterceptor.java:185)
              at org.jboss.seam.intercept.JavaBeanInterceptor.invoke
      (JavaBeanInterceptor.java:103)
              at sun.reflect.GeneratedMethodAccessor875.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke
      (DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
              at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:
      144)
              at org.jboss.seam.async.AsynchronousInvocation$1.process
      (AsynchronousInvocation.java:62)
              at org.jboss.seam.async.Asynchronous$ContextualAsynchronousRequest.run
      (Asynchronous.java:80)
              at org.jboss.seam.async.AsynchronousInvocation.execute
      (AsynchronousInvocation.java:44)
              at org.jboss.seam.async