0 Replies Latest reply on Sep 7, 2007 6:40 AM by jérôme martinez

    Parent Beans/Nested Beans and EjbNoSuchObjectException

    jérôme martinez Newbie

      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.