3 Replies Latest reply on Aug 23, 2011 6:22 AM by Roger Lee

    @Schedule on Stateless EJB 3.1 on JBoss 6.0 Final

    Roger Lee Apprentice

      I have a very simple stateless session bean deployed on JBoss 6.0 Final (part of a Seam 2.2.2 Final App)

       

      I have a method;

       

      @Schedule(second="*", minute="*/1")

      public void publishToDevice(Time timer) {

           log.info("Do something every minute .....");

      }

       

      I expected it to print a message in the JBoss Console every minute?

       

      It doesn't. Any suggestions?

       

      Thanks