JBoss Community

@Schedule on Stateless EJB 3.1 on JBoss 6.0 Final

created by Roger Lee in EJB3 - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in EJB3 at Community