title: Transaction is alternating Timeouts
body: <p>I am using jboss 5.1.x, EJB3.0</p>
  
  <p>I have MDB which listens to JMS queue. when the MDB taking a message, it dispatch a msg via TCP to some modem.
  sometimes that Modem doesnt response when the server is waiting for an answer:    </p>
  
  <pre><code>      byte[] byteData = receive(is);
  </code></pre>
  
  <p>coz I cant set timeout on InputStream.</p>
  
  <p>so thanks to the EJB container the transaction timeout(which is there by default) rolling back the operation and then a retry executed again.</p>
  
  <p>this mechanism by default works fine for me, the problem is: </p>
  
  <p>Sometimes the transaction never timed out, and after long time I get the following 
  msg in the console:</p>
  
  <pre><code>  15:18:22,578 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_18] - TransactionReaper::check timeout    for TX a6b2232:5f8:4d3591c6:76 in state  RUN
    15:18:22,578 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id a6b2232:5f8:4d3591c6:76 invoked while multiple threads active within it.
    15:18:22,578 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - atomic action a6b2232:5f8:4d3591c6:76 aborting with 1 threads active!
     15:18:22,578 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TransactionReaper_7] - TransactionReaper::doCancellations worker Thread[Thread-10,5,jboss] successfully canceled TX a6b2232:5f8:4d3591c6:76
  </code></pre>
  
  <p>Any idea what's wrong? and why sometimes it work and sometimes it doesnt?</p>
  
  <p>thanks,</p>
  
  <p>ray.</p>