Announcement Announcement Module
Collapse
No announcement yet.
RMI method not found Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • RMI method not found

    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)
    Last edited by jamesclinton; Aug 4th, 2010, 09:54 AM.

  • #2
    Solved.

    Problem due to an old version of Spring 1.2.7 on the classpath.

    Comment


    • #3
      James, Glad you found the problem, and thanks for letting us know.

      Comment

      Working...
      X