I think this should be a bug, but want to get your thoughts before submiting any ticket.
This is JBoss AS 4.0.5GA, and I am using EJB3.
When I start the JBoss, if there is leftover timers, JBoss will invoke the corresponding timeout() method on the EJB before the EAR is fully deployed. The direct error I got is that it could not find my custom LoginModule class as it is not loaded yet.