[jboss-user] [JBoss/Spring Integration] - Srping transaction

Honest do-not-reply at jboss.com
Tue Jun 26 11:28:35 EDT 2007


I have this error on my application work:



  | 11:01:40,453 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of act
  | ion id a001912:12dc:467bdf8d:2385f invoked while multiple threads active within it.
  | 11:01:40,453 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedActi
  | on::check - atomic action a001912:12dc:467bdf8d:2385f aborting with 1 threads active!
  | 11:01:40,453 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: null
  | 11:01:40,453 ERROR [JDBCExceptionReporter] Transaction is not active: tx=TransactionImple < ac, BasicAction: a001912:12dc:467bdf8d:2385f status: ActionStatus.ABORTED >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionIm
  | ple < ac, BasicAction: a001912:12dc:467bdf8d:2385f status: ActionStatus.ABORTED >)
  | 11:01:40,484 ERROR [TxInterceptorCMT] IllegalStateException while setting transaction for rollback o
  | nly
  | java.lang.IllegalStateException: [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] [com.
  | arjuna.ats.internal.jta.transaction.arjunacore.inactive] The transaction is not active!
  |      at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.setRollbackOnly(Transact
  | ionImple.java:344)
  |      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:157)
  |      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
  |      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
  |      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
  |      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
  |      at org.jboss.ejb.plugins.CleanShutdownInterceptor.invoke(CleanShutdownInterceptor.java:278)
  |      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.jav
  | a:138)
  |      at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
  |      at org.jboss.ejb.Container.invoke(Container.java:960)
  |      at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
  |      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  |      at java.lang.reflect.Method.invoke(Unknown Source)
  |      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  |      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  |      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |      at org.jboss.invocation.unified.server.UnifiedInvokerHA.invoke(UnifiedInvokerHA.java:146)
  |      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
  |      at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:560)
  |      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:383)
  |      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165)
  | 	
  | 


Application have client-server architecture. Error appears on server side.
I use jboss-4.2.0GA+Spring+Hibernate. Spring looking for calling commit() and rollback() method. And i think sometimes this methods not calling. How fix this error?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057758#4057758

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057758



More information about the jboss-user mailing list