Hi, our snapshot is the 1.1.0-SNAPSHOT, can you give it a try?
- Romain 2012/6/11 marcin <[email protected]> > In my app I have a scheduled method implemented in singleton EJB: > > @Schedule(minute="*/30",hour="*", persistent=false) > @Lock(LockType.WRITE) > public void doSomeWork() { > //... > } > > While on beta-2 of OpenEJB everything works fine, on > apache-tomee-1.0.0-beta-3-20120514.041257-131-webprofile I'm getting the > following exception: > > 2012-06-11 19:00:00 org.apache.catalina.loader.WebappClassLoader loadClass > INFO: Illegal access: this web application instance has been stopped > already. Could not load > org.apache.openejb.core.timer.EjbTimeoutJobBeanInfo. The eventual > following > stack trace is caused by an error thrown for debugging purposes as well as > to attempt to terminate the thread which caused the illegal access, and has > no functional impact. > java.lang.IllegalStateException > at > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1597) > at > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556) > at java.beans.Introspector.instantiate(Unknown Source) > at java.beans.Introspector.findExplicitBeanInfo(Unknown Source) > at java.beans.Introspector.<init>(Unknown Source) > at java.beans.Introspector.getBeanInfo(Unknown Source) > at > > org.quartz.simpl.PropertySettingJobFactory.setBeanProps(PropertySettingJobFactory.java:85) > at > > org.quartz.simpl.PropertySettingJobFactory.newJob(PropertySettingJobFactory.java:76) > at org.quartz.core.JobRunShell.initialize(JobRunShell.java:134) > at > org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:381) > > Am I doing something wrong or this is a bug? > > Thanks for any help! > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Singleton-EJB-Scheduled-Method-tp4655554.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
