[jboss-user] [EJB 3.0] - a headache problem: I can't invoke remoting EJB of remeote s

lugibin do-not-reply at jboss.com
Thu Apr 12 02:37:19 EDT 2007


EJB is deployed in on linux server(read hat AS 64bit Ver), then I invoke it in antother server(windows  or linux), it reposts exception:

aused by: org.jboss.aop.NotFoundInDispatcherException: Object with oid: jboss.j2ee:jar=ufmobile_platformStreetEjb.jar,name=DataSynSessionBean1,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.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:72)
	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:53)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)


the invoker coding is:

env = new Properties();
		
		env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
		env.put(Context.PROVIDER_URL, "10.10.70.24:1099");
		
		ctx = new InitialContext(env);
		Object obj = ctx.lookup(sBeanName + "/remote");

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036608



More information about the jboss-user mailing list