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!
What version of JBoss and EJB3 are you using? With EJB RC5, the tutorial should be working properly.