title: Start new Transaction in the middle of rollback
body: <p>I am using Jboss5.1.x EJB3.0</p>
  
  <p>I am trying to open new Transaction in the middle of rollback in order to write into database.</p>
  
  <p>the only way I could do i
  t, is when I wrap the transaction in a seperate thread, which seems not right to me. 
  It could cause any problems? and what is the sense of doing it(wrap with new Thread), 
  it suppose to work without it isn't it?</p>
  
  <p>code: </p>
  
  <pre><code>@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
  private void updateCurrentRetryInDB(final CounterCallData counterCall)
  {
      Thread t = new Thread()
      {
          @Override
          public void run()
          {
              try
              {
                  ECMSDao.insertErrorToLog(counterCall.getModemIp(), "Time out");
              } catch (SQLException e)
              {
                  System.out.println("SQL Exception:" + e.getMessage());
                  logger.error(TAG + ".updateCurrentRetryInDB, SQLException Error", e);
              }
          }
      };
      t.start();
  }
  </code></pre>
  
  <p>Thanks,
  ray.</p>