org.mule.transaction.IllegalTransactionStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • As possible workaround for case 1784, I tried JMS connector bridging from Active MQ to Websphere MQ using JMS transaction, as described in the cookbook, but get the following error: Root Exception stack trace: org.mule.transaction.IllegalTransactionStateException: Only a single resource can be bound to this type of transaction at org.mule.transaction.AbstractSingleResourceTransaction.bindResource(AbstractSingleResourceTransaction.java:131) at org.mule.providers.jms.JmsTransaction.bindResource(JmsTransaction.java:58) at org.mule.providers.jms.JmsConnector.getSession(JmsConnector.java:470) at org.mule.providers.jms.JmsConnector.getSession(JmsConnector.java:435) at org.mule.providers.jms.JmsMessageDispatcher.dispatchMessage(JmsMessageDispatcher.java:119) at org.mule.providers.jms.JmsMessageDispatcher.doSend(JmsMessageDispatcher.java:316) at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:224) at org.mule.providers.AbstractConnector.send(AbstractConnector.java:1605) at org.mule.impl.ImmutableMuleEndpoint.send(ImmutableMuleEndpoint.java:920) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:327) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:209) at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:121) at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:67) at org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:81) at org.mule.routing.outbound.OutboundRouterCollection$1.doInTransaction(OutboundRouterCollection.java:66) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:40) at org.mule.routing.outbound.OutboundRouterCollection.route(OutboundRouterCollection.java:71) at org.mule.routing.inbound.ForwardingConsumer.process(ForwardingConsumer.java:51) at org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:86) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:575) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:317) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:245) at org.mule.providers.jms.TransactedJmsMessageReceiver.getMessages(TransactedJmsMessageReceiver.java:256) at org.mule.providers.TransactedPollingMessageReceiver$1.doInTransaction(TransactedPollingMessageReceiver.java:92) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:76) at org.mule.providers.TransactedPollingMessageReceiver.poll(TransactedPollingMessageReceiver.java:103) at org.mule.providers.jms.TransactedJmsMessageReceiver.poll(TransactedJmsMessageReceiver.java:163)
    via by Justin Rowe,
  • As possible workaround for case 1784, I tried JMS connector bridging from Active MQ to Websphere MQ using JMS transaction, as described in the cookbook, but get the following error: Root Exception stack trace: org.mule.transaction.IllegalTransactionStateException: Only a single resource can be bound to this type of transaction at org.mule.transaction.AbstractSingleResourceTransaction.bindResource(AbstractSingleResourceTransaction.java:131) at org.mule.providers.jms.JmsTransaction.bindResource(JmsTransaction.java:58) at org.mule.providers.jms.JmsConnector.getSession(JmsConnector.java:470) at org.mule.providers.jms.JmsConnector.getSession(JmsConnector.java:435) at org.mule.providers.jms.JmsMessageDispatcher.dispatchMessage(JmsMessageDispatcher.java:119) at org.mule.providers.jms.JmsMessageDispatcher.doSend(JmsMessageDispatcher.java:316) at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:224) at org.mule.providers.AbstractConnector.send(AbstractConnector.java:1605) at org.mule.impl.ImmutableMuleEndpoint.send(ImmutableMuleEndpoint.java:920) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:327) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:209) at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:121) at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:67) at org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:81) at org.mule.routing.outbound.OutboundRouterCollection$1.doInTransaction(OutboundRouterCollection.java:66) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:40) at org.mule.routing.outbound.OutboundRouterCollection.route(OutboundRouterCollection.java:71) at org.mule.routing.inbound.ForwardingConsumer.process(ForwardingConsumer.java:51) at org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:86) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:575) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:317) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:245) at org.mule.providers.jms.TransactedJmsMessageReceiver.getMessages(TransactedJmsMessageReceiver.java:256) at org.mule.providers.TransactedPollingMessageReceiver$1.doInTransaction(TransactedPollingMessageReceiver.java:92) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:76) at org.mule.providers.TransactedPollingMessageReceiver.poll(TransactedPollingMessageReceiver.java:103) at org.mule.providers.jms.TransactedJmsMessageReceiver.poll(TransactedJmsMessageReceiver.java:163)
    via by Justin Rowe,
    • org.mule.transaction.IllegalTransactionStateException: Only a single resource can be bound to this type of transaction at org.mule.transaction.AbstractSingleResourceTransaction.bindResource(AbstractSingleResourceTransaction.java:131) at org.mule.providers.jms.JmsTransaction.bindResource(JmsTransaction.java:58) at org.mule.providers.jms.JmsConnector.getSession(JmsConnector.java:470) at org.mule.providers.jms.JmsConnector.getSession(JmsConnector.java:435) at org.mule.providers.jms.JmsMessageDispatcher.dispatchMessage(JmsMessageDispatcher.java:119) at org.mule.providers.jms.JmsMessageDispatcher.doSend(JmsMessageDispatcher.java:316) at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:224) at org.mule.providers.AbstractConnector.send(AbstractConnector.java:1605) at org.mule.impl.ImmutableMuleEndpoint.send(ImmutableMuleEndpoint.java:920) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:327) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:209) at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:121) at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:67) at org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:81) at org.mule.routing.outbound.OutboundRouterCollection$1.doInTransaction(OutboundRouterCollection.java:66) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:40) at org.mule.routing.outbound.OutboundRouterCollection.route(OutboundRouterCollection.java:71) at org.mule.routing.inbound.ForwardingConsumer.process(ForwardingConsumer.java:51) at org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:86) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:575) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:317) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:245) at org.mule.providers.jms.TransactedJmsMessageReceiver.getMessages(TransactedJmsMessageReceiver.java:256) at org.mule.providers.TransactedPollingMessageReceiver$1.doInTransaction(TransactedPollingMessageReceiver.java:92) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:76) at org.mule.providers.TransactedPollingMessageReceiver.poll(TransactedPollingMessageReceiver.java:103) at org.mule.providers.jms.TransactedJmsMessageReceiver.poll(TransactedJmsMessageReceiver.java:163)
    No Bugmate found.