geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From the666pack <mario.kof...@gmail.com>
Subject Error after sending Message via MDB
Date Thu, 24 Jan 2008 19:26:29 GMT

Hello,

My application sends a message via a MDB to update some value in the
database. The update is successful, yet after the update i get the error
below at the console. Can anyone tell me how to get rid of this error? 

Thanks a lot for helping,

Mario

[exec] 20:20:07,077 ERROR [Transaction] Please correct the integration and
supply a NamedXAResource
[exec] java.lang.IllegalStateException: Cannot log transactions as
org.apache.activemq.ra.LocalAndXATransaction@13a037e is not a
NamedXAResource.
[exec]     at
org.apache.geronimo.transaction.manager.TransactionImpl$TransactionBranch.getResourceName(TransactionImpl.java:697)
[exec]     at
org.apache.geronimo.transaction.log.HOWLLog.prepare(HOWLLog.java:254)
[exec]     at
org.apache.geronimo.transaction.log.HOWLLog$$FastClassByCGLIB$$7315be2e.invoke(<generated>)
[exec]     at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
[exec]     at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
[exec]     at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
[exec]     at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
[exec]     at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
[exec]     at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
[exec]     at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
[exec]     at
org.apache.geronimo.transaction.manager.TransactionLog$$EnhancerByCGLIB$$65de4c27.prepare(<generated>)
[exec]     at
org.apache.geronimo.transaction.manager.TransactionImpl.internalPrepare(TransactionImpl.java:444)
[exec]     at
org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:316)
[exec]     at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:238)
[exec]     at
org.apache.openejb.core.transaction.TransactionPolicy.commitTransaction(TransactionPolicy.java:139)
[exec]     at
org.apache.openejb.core.transaction.TxRequired.afterInvoke(TxRequired.java:75)
[exec]     at
org.apache.openejb.core.mdb.MdbContainer.afterDelivery(MdbContainer.java:375)
[exec]     at
org.apache.openejb.core.mdb.EndpointHandler.afterDelivery(EndpointHandler.java:274)
[exec]     at
org.apache.openejb.core.mdb.EndpointHandler.invoke(EndpointHandler.java:164)
[exec]     at $Proxy44.afterDelivery(Unknown Source)
[exec]     at
org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.afterDelivery(MessageEndpointProxy.java:126)
[exec]     at
org.apache.activemq.ra.MessageEndpointProxy.afterDelivery(MessageEndpointProxy.java:65)
[exec]     at
org.apache.activemq.ra.ServerSessionImpl.afterDelivery(ServerSessionImpl.java:216)
[exec]     at
org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:751)
[exec]     at
org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:165)
[exec]     at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:290)
[exec]     at
org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)
[exec]     at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)
[exec]     at
org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)
[exec]     at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
[exec]     at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[exec]     at java.lang.Thread.run(Thread.java:619)

-- 
View this message in context: http://www.nabble.com/Error-after-sending-Message-via-MDB-tp15072505s134p15072505.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message