1 Reply Latest reply on Feb 20, 2006 10:44 AM by bdecoste

    @Remove and EJBNoSuchObjectException

    cchristo

      I'm running the sample bean found here: http://docs.jboss.org/ejb3/app-server/tutorial/stateful/stateful.html

      In the client, it calls a method on the bean which is tagged with @Remove, and then it attempts to call another method. Obviously, this won't work, so it attempts to catch EJBNoSuchObjectException. However, when I run the example, I'm getting a UndeclaredThrowableException, and nested within it is a ClassNotFoundException.

      Can someone explain what is going on here? Is the example code incorrect, or is there something wrong with my JBoss server configuration?

      Thanks!