[jboss-user] [EJB3] - @Schedule on Stateless EJB 3.1 on JBoss 6.0 Final

Roger Lee do-not-reply at jboss.com
Fri Aug 19 22:50:59 EDT 2011


Roger Lee [http://community.jboss.org/people/NOTiFY] created the discussion

"@Schedule on Stateless EJB 3.1 on JBoss 6.0 Final"

To view the discussion, visit: http://community.jboss.org/message/621893#621893

--------------------------------------------------------------
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
[http://community.jboss.org/message/621893#621893]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110819/4e0886a7/attachment.html 


More information about the jboss-user mailing list