Trying to use the nice rmi feature in SI but get an error:
No matching RMI stub method found
Code:Caused by: org.springframework.remoting.RemoteProxyFailureException: No matching RMI stub method found for: public abstract org.springframework.integration.core.Message org.springframework.integration.adapter.RemoteMessageHandler.handle(org.springframework.integration.core.Message); nested exception is java.lang.NoSuchMethodException: org.springframework.remoting.rmi.RmiInvocationWrapper_Stub.handle(org.springframework.integration.core.Message) at org.springframework.remoting.rmi.RmiClientInterceptorUtils.invokeRemoteMethod(RmiClientInterceptorUtils.java:122) at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiClientInterceptor.java:363) at org.springframework.remoting.rmi.RmiClientInterceptor.invoke(RmiClientInterceptor.java:259) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy117.handle(Unknown Source) at org.springframework.integration.adapter.AbstractRemotingOutboundGateway.handleRequestMessage(AbstractRemotingOutboundGateway.java:63) ... 68 more Caused by: java.lang.NoSuchMethodException: org.springframework.remoting.rmi.RmiInvocationWrapper_Stub.handle(org.springframework.integration.core.Message) at java.lang.Class.getMethod(Class.java:1605) at org.springframework.remoting.rmi.RmiClientInterceptorUtils.invokeRemoteMethod(RmiClientInterceptorUtils.java:114)


Reply With Quote
