0 Replies Latest reply on Jan 11, 2006 2:20 PM by Alexander Hartner

    Caused by: org.jboss.aop.NotFoundInDispatcherException: Obje

    Alexander Hartner Expert

      I am trying to run the stateless ejb3 example from the tutorial but I get the following error on the client side :

      Wolf:~/Projects/JBOSS_CVS_CHECKOUT/jboss-head/ejb3/docs/tutorial/stateless alex$ ant run
      Buildfile: build.xml
      
      prepare:
      
      compile:
      
      ejbjar:
      
      run:
      [java] Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
      [java] at $Proxy0.add(Unknown Source)
      [java] at org.jboss.tutorial.stateless.client.Client.main(Client.java:36)
      [java] Caused by: org.jboss.aop.NotFoundInDispatcherException: Object with oid: jboss.j2ee:service=EJB3,jar=tutorial.jar,name=CalculatorBean was not found in the Dispatcher
      [java] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:83)
      [java] at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
      [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:566)
      [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:436)
      [java] at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:276)
      [java] at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:316)
      [java] at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:188)
      [java] at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:73)
      [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103)
      [java] at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
      [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103)
      [java] at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:55)
      [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103)
      [java] at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:65)
      [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103)
      [java] at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:103)
      [java] ... 2 more
      [java] Java Result: 1
      
      BUILD SUCCESSFUL
      


      I understand that I am using an ALPHA release, but maybe somebody has a suggestion on how to fix this. I get the same error with my own beans as well.

      Tx
      alex