Hi,
I try to call a local EJB from the startService method of my MBean :
home = (InitBeansBeanLocalHome) ctx.lookup(InitBeansBeanLocalHome.JNDI_NAME);
Unfortunately, startService method is called before the EJB is bound. In the log this line
is after the error :
anonymous wrote : 2007-04-26 11:12:01,381 INFO
[org.jboss.ejb.plugins.local.BaseLocalProxyFactory] Bound EJB LocalHome
'InitBeansBean' to jndi 'ejb/InitBeansBean'
How can I bound the EJB before to call it in the startService method ? If it is not
possible to change the sequence, how can I call an EJB at jboss startup ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040916#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...