Hi Can you provide us a thread dump (thanks to jstack for instance) when it doesn't work anymore?
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-05-31 20:42 GMT+02:00 slawek <[email protected]>: > Hello, > I try to use @Schedule annotation on six methods in production environment > on singleton ejb. The two methods works every 10 minutes, they checks some > conditions in databases and depends on results do other things on other > databases (I had configured five datasources). Others methods works every > few hours. Unfortunately after few server working hours schedulers are not > started, without any errors, information in log etc.. > At this same server are deployed two other webs applications, but there > isn't too many requests. > It's very important to me to resolve this problem because it's businesses > requirements to start method periodically. It's example of @schedule > method: > > @Singleton > ... > @Schedule(second = "0", minute = "1, 11, 21, 31, 41, 51", hour = > "*", > persistent=false) > @AccessTimeout(value=1, unit=TimeUnit.SECONDS) > @Lock(LockType.WRITE) > > Best Regards > sw > > > > ----- > Best Regards > sw > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Schedule-don-t-start-tp4669774.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
