Added a timer service to an Entity bean but when calling rotate() I get a null
pointer exception. The container failed to inject a TimerService for me.
| @Entity public class Planet implements Serializable
| {
| @Resource TimerService timerService;
|
| public rotate()
| {
| timerService.createTimer(60000, "minute timer"); // NFG:
timerService not initialized
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958279#3958279
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958279
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user