Jan 11th, 2013, 01:06 AM
RmiInvocationWrapper_Stub issue in Spring 3.1.1 Server & Client - WAS7
We are creating RMI bean by spring 3.1.1 and deploying application in Websphere 7. The RMI bean are being accessed by RMI-IIOP. We have changed the xsd of both rmi server and rmi client into 3.1.1 xsd. We are exposing the bean by org.springframework.remoting.rmi.JndiRmiServiceExp orter and accessing by org.springframework.remoting.rmi.JndiRmiProxyFacto ryBean.
But,while creating server side RMI bean , it is throwing class not found exception for RmiInvocationWrapper_Stub class.It seems the rmi registry is expecting spring 2.5 jars in the deployment. Please could you suggest how to get rid of this issue?
java.lang.ClassNotFoundException: org.springframework.remoting.rmi.RmiInvocationWrap per_Stub
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean
Note: It is working fine when you include the RmiInvocationWrapper_Stub.class in the spring.context 3.1.1 jar(It is suggested, only if server is spring 2.5 and client is spring 3.1.1. But, my scenario both server and client are spring 3.1.1 jars).
Please could you suggest solution for this issue in websphere 7 server. This issue occurs only in websphere 7. In weblogic and tomcat it is working without any exception.
Last edited by mcabala2013; Jan 11th, 2013 at 03:41 AM.
Tags for this Thread