I run two servers, then start the client, but all requests are executed on one 
server (whereas with annotated beans requests go sequentially to both servers). 
When I stop server executing requests, I get the following exception on the 
client:
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
  |     at $Proxy1.doSomething(Unknown Source)
  |     at test.cluster.client.Client.process(Client.java:46)
  |     at test.cluster.client.Client.main(Client.java:59)
  | Caused by: org.jboss.aop.NotFoundInDispatcherException: Object with oid: 
jboss.j2ee:jar=test-cluster.jar,name=FooBean,service=EJB3 was not found in the 
Dispatcher
  |     at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:85)
  |     at 
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
  |     at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828)
  |     at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681)
  |     at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358)
  |     at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412)
  |     at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
  |     at 
org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:190)
  |     at org.jboss.remoting.Client.invoke(Client.java:525)
  |     at org.jboss.remoting.Client.invoke(Client.java:488)
  |     at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:55)
  |     at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |     at 
org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
  |     at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |     at 
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:55)
  |     at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |     at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:65)
  |     at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |     at 
org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)
  |     ... 3 more

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975940#3975940

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975940
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to