1 Reply Latest reply on Sep 27, 2006 5:54 AM by Mark Little

    JBossTS Configuration for Inbound Transactions

    Stan Brown Newbie

      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)
      


      Also, XATerminator.recover doesn?t seem to support both TMSTARTRSCAN and TMENDRSCAN being set.

      I?m running on 4.0.3sp1.

      Thanks for any help.