"PeterJ" wrote : Services are started before EJBs, therefore the EJB is probably
not ready at the time the code is run. You need to add a depends tag that references the
BMean generated for the EJB. Something like this:
|
| <mbean ...>
| |
<depends>jboss.j2ee:ear=xxx.ear,jar=xxx.jar,name=MyEjb,service=EJB3</depends>
| | </mbean>
|
| You can use the jmx console to look up the name for your ejb's mbean.
Hi Peter. Thanks for the response. The strange thing is the application server can be
completely started and it still fails (for example setting the SchedulePeriod to 10000
will launch the method after it's completely started) It still works from the console
however. It's almost as it's being launched from outside of the servers context
or something?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179866#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...