When the processor throws an exception, the BaseLifeCycle tries to rollback a
transaction when there is no transaction active
-----------------------------------------------------------------------------------------------------------------------------
Key: SM-462
URL: https://issues.apache.org/activemq/browse/SM-462
Project: ServiceMix
Type: Bug
Components: servicemix-common
Versions: 3.0-M2
Reporter: Guillaume Nodet
Assigned to: Guillaume Nodet
Fix For: 3.0
ERROR - Jsr181Component - Error setting exchange status to ERROR
java.lang.IllegalStateException: No transaction associated with current thread
at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.setRollbackOnly(TransactionManagerImpl.java:132)
at
org.apache.geronimo.transaction.context.TransactionContextManager.setRollbackOnly(TransactionContextManager.java:193)
at
org.apache.geronimo.transaction.context.GeronimoTransactionManager.setRollbackOnly(GeronimoTransactionManager.java:115)
at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:51)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:619)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:168)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:226)
at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira