On Sep 5, 2007, at 10:03 AM, Craig Blake wrote:
> I sent this to the user list last week but haven't seen a response
> - maybe one of you guys knows what's going on?
>
> ------
>
> Hi everyone, I'm new to Geronimo and am having an issue deploying
> an application that works fine on Glassfish. I have a stateless
> bean that uses a TimerService, as illustrated in this pared down
> test class:
>
> import javax.annotation.Resource;
> import javax.ejb.Stateless;
> import javax.ejb.TimerService;
>
> @Stateless
> public class SampleBean implements Sample {
>
> @Resource TimerService timer;
>
> public void run() {}
> }
>
> Glassfish automatically injects a new timer instance without any
> additional configuration necessary, but Geronimo fails with a
> deployment exception as included below. Does Geronimo not support
> automatic creation of timers or am I missing something obvious?
Hi Craig,
Seems like a bug to me. Could you create a Jira?
--kevan
|