I am trying to run the stateless ejb3 example from the tutorial but I get the following error on the client side :
anonymous wrote : | 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 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916791#3916791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916791 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
