Is there proper JBossTS configuration for conducting JCA 1.5 inbound transactions?
I?m having a problem with a NPE being thrown when my resource adapter calls javax.resource.spi.XATerminator.recover. Here?s the stack trace:
2006-09-26 17:58:18,203 INFO [STDOUT] java.lang.NullPointerException 2006-09-26 17:58:18,203 INFO [STDOUT] at com.arjuna.ats.internal.arjuna.objectstore.HashedStore.allObjUids(HashedStore.java:250) 2006-09-26 17:58:18,203 INFO [STDOUT] at com.arjuna.ats.arjuna.objectstore.ObjectStore.allObjUids(ObjectStore.java:226) 2006-09-26 17:58:18,203 INFO [STDOUT] at com.arjuna.ats.internal.jta.transaction.arjunacore.jca.XATerminatorImple.recover(XATerminatorImple.java:231) 2006-09-26 17:58:18,203 INFO [STDOUT] at com.unisys.coms.connector.COMSServant.recoverTransactions(COMSServant.java:2054) 2006-09-26 17:58:18,203 INFO [STDOUT] at com.unisys.coms.connector.COMSServant.monitorTransactions(COMSServant.java:1870) 2006-09-26 17:58:18,203 INFO [STDOUT] at com.unisys.coms.connector.COMSServant.executeWork(COMSServant.java:385) 2006-09-26 17:58:18,203 INFO [STDOUT] at com.unisys.coms.connector.COMSServant.run(COMSServant.java:234) 2006-09-26 17:58:18,203 INFO [STDOUT] at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:200) 2006-09-26 17:58:18,203 INFO [STDOUT] at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:261) 2006-09-26 17:58:18,203 INFO [STDOUT] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) 2006-09-26 17:58:18,203 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)
Hi. There's a bug in the recover code, which we will fix in the 4.2.2 release: this is responsible for the NPE.
http://jira.jboss.com/jira/browse/JBTM-135