I am trying to use a TimerService (JBoss 5.1 with latest EJBPlugin installed) to perform some db related batch every night around 2am. Each time my batch service is called by the SLSB that has the @Timeout method, I get an javax.ejb.EJBTransactionRolledbackException.

However if I set the Timer to timeout lets say in 30 min from now instead of during the night, all is fine, I don't get any Exception, the batch operation goes as planned and the database is updated correctly. That is really weird, it is almost as if leaving the server idle for a long time before being waken up that the timer somehow messes up transactions (well at least this is my subjective feeling)

Well it seems that the latest ejb3plugin (1.0.19) might be the problem since after I reinstalled a brand new JBoss 5.1 server and I don't have this issue anymore ! Let me know if there is anything I can do to help on that matter.