title: Arjuna JTA transaction rollbacked unexpectedly
body: <p>When I check JBoss logs I see a lots of those errors</p>
  
  <pre><code>2012-03-29 12:01:27,358 WARN  @ [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] Could not find new XAResource to use for recovering non-serializable XAResource &lt; 131075, 32, 30, 1--53e2af7c:eff6:4ec11bf7:2e1da4-53e2af7c:eff6:4ec11bf7:2e263d                                                                   &gt;
  2012-03-29 12:01:27,398 WARN  @ [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] Could not find new XAResource to use for recovering non-serializable XAResource &lt; 131075, 31, 29, 1--53e2af7c:d397:4e8c1b0e:25b6d-53e2af7c:d397:4e8c1b0e:29d09                                                                     &gt;
  </code></pre>
  
  <p>Then, when I try to send a JMS message I see this error:</p>
  
  <pre><code>2012-03-29 12:02:43,778 WARN  @ [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.opcerror] [com.arjuna.ats.internal.jta.resources.arjunacore.opcerror] XAResourceRecord.commit_one_phase caught: java.lang.IllegalMonitorStateException
  2012-03-29 12:02:43,778 WARN  @ [org.springframework.jms.listener.DefaultMessageListenerContainer] Setup of JMS message listener invoker failed for destination 'queue/request' - trying to recover. Cause: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state
  </code></pre>
  
  <p>I suspect the rollback to be a consequence of the previous error. Am I right ? what could cause the transaction to remain in an aborted state like this ?</p>
  
  <p>looking around I found this post : <a href="https://stackoverflow.com/questions/6490328/what-causes-arjuna-1603-could-not-find-new-xaresource-to-use-for-recovering-non">What causes Arjuna 1603 (Could not find new XAResource to use for recovering non-serializable XAResource)</a> 
  . I understand that some log of transaction have been kept but this does not explains how to fix the issue I now have.</p>