[jboss-user] [JBoss Messaging] - XA Datasource?
jgilbert
do-not-reply at jboss.com
Thu Jan 3 18:11:12 EST 2008
Does JBM support XA Datasources? This posting seems to indicate that I should not use an XA Datasource with JBM. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=119217
I have an MDB that creates a timer using the EJB TimerServer. I have DefaultDS setup to use the Oracle XA driver and I have a non xa oracle datasource setup for JBM. When the MDB executes I get an javax.transaction.HeuristicMixedException.
When I switch the TimerService to use the non xa datasource the exception goes away. However, this doesn't feel like the right solution.
Can I use an XA datasource with JBM?
My Environment:
JBM 1.3
JAS 4.2
Oracle
Stacktrace
2008-01-03 15:12:31,076 ERROR [org.jboss.resource.adapter.jms.inflow.JmsServerSession] org.jboss.resource.adapter.jms.inflow.JmsServerSession at 1f6a5e9 failed to commit/rollback
| javax.transaction.HeuristicMixedException
| at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1264)
| 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.resource.adapter.jms.inflow.JmsServerSession$XATransactionDemarcationStrategy.end(JmsServerSession.java:494)
| at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:248)
| at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
| at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
| at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
| at java.lang.Thread.run(Thread.java:595)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116896#4116896
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116896
More information about the jboss-user
mailing list