1 Reply Latest reply on Dec 29, 2005 5:29 PM by bill.burke

    Timer errors, even with Transaction REQUIRES_NEW

    dpocock

      I have defined my timeout method with the `REQUIRES_NEW' transaction type:

      @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
      @Timeout
      public void timeoutHandler(Timer timer) {
      System.err.println("*** TIMEOUT: " + timer.getInfo() + " ***");
      }

      However, I keep getting these warnings in the log immediately after every timeout:

      20:47:21,873 WARN [TimerImpl] Timer was not registered with Tx, reseting state: [id=1target=[target=jboss.j2ee:service=EJB3,name=com.xxx.ejb.session.UsagePollingTimerBean],remaining=1546,periode=3000,in_timeout]


      What is wrong here? Have I left something out?