[jboss-user] [EJB 3.0 Users] - Re: NotBoundException when @Service POJO invoke EJB

Wolfgang Knauf do-not-reply at jboss.com
Wed Nov 4 07:32:04 EST 2009


Hi,

I used the "@Depends" only for a MDB queue, not for a depends on an EJB, so I cannot provide with a perfect sampl ;-).

But I think it should be:
@Depends(value="jboss.j2ee:ear=nameOfEarFile.ear,jar=nameOfJarFile.jar,name=nameOfBean,service=EJB3")
You used the JNDI names, but you need the name of the MBean.

Hope this helps

Wolfgang

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263924#4263924

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263924



More information about the jboss-user mailing list