This content has been marked as final.
Show 1 reply
-
1. Scheduler service restart
tvik Jul 21, 2003 8:53 AM (in response to pifen)Hi,
I use the scheduler service as described at
http://wwwswt.fzi.de/~christo/praktikum/j2eeapi/jboss/doc/ch13s58.html
I use the simplest solution with xxx-scheduler-service.xml.
I want to work with an EJB in my Schedulable class but when I redeploy my application, including the scheduler-service.xml (the scheduler restarts) the Schedulable class can't find the EJB reference anymore. More precisely, the casting before "context.lookup" throws a ClassCastException.
What should I do with the scheduler to find the redeployed EJB-s without stopping the server?