[jboss-user] [EJB/JBoss] - Parent Beans/Nested Beans and EjbNoSuchObjectException

JeJe47 do-not-reply at jboss.com
Fri Sep 7 06:40:12 EDT 2007


Hi,

I have a parent bean that contains 3 nested beans (with the @Ejb annotation) but when my application tries to destroy all my statefull beans, I have always the "ejbNoSuchObjectException : Could not find stateful bean : XXXX" . To fix it, I 'm forced to use the @Remote annotation on the interfaces of the nested beans instead of @Local. In this case, this seems to work (no exceptions) but I want to know if there is an other way to fix this problem.

Thanks.

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

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



More information about the jboss-user mailing list