text: Dear all,
  I want to create a timer-service on JBoss As 7.0.here is my work：
  @Singleton @Local(UserLocal.class) @Startup public class User implements UserLocal { @Resource TimerService timer; @Timeout public void run(Timer timer) { System.out.println("time out！"); } @PostConstruct public void scheduleTimer() { timer.createTimer(new Date(),1000*1*60,null); } }
  but when I start up the jboss ,error comes out: java.ejb.EJBException:java.lang.UnsupportedOperationException:the timer service has been disabled.Plealse add a <timer-service> entry into the ejb section of the server configuration to enable it.
  I also try to use annotation @Schedule,but it has the same result,inform that timer-service is unenabled.
  I guess,there is some place I can configure the timer-service,but I can not find it.I try in standalone.xml and ejb-jar.xml ,but in vains. and there is so little imformation about the configurationg of timer-service. Dear friend, do you know how to solve the problem? how can I enable the timer-service in jboss as 7.0
  Download the "everything" distribution of the AS 7.0.2 and start the server using:
  ./standalone.sh -server-config=standalone-preview.xml
  or (if you are on Windows)
  ./standalone.bat -server-config=standalone-preview.xml
  The timerservice and other additional features which aren't part of web profile are available in the standalone-preview configuration of "Everything" distribution.
  Dear jaikiran pai,
  thank you so much.it helps me a lot.