This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
We have used spring remoting using RMI feature, where the service and client are deployed on same server. I am using JndiRmiServiceExporter and JndiRmiProxyFactoryBean. It works fine if i deploy the applications through weblogic workshop. But it fails at runtime when a maven build is done and deployed throwing an error
org.springframework.remoting.RemoteLookupFailureException: Could not narrow RMI stub to service interface [xxx.xxIntf]; nested exception is java.lang.ClassCastException: Cannot narrow remote object ClusterableRemoteRef(1683913221122928763S::production_domain:AdminServer [1683913221122928763S::production_domain:AdminServer/416])/416 to xxxx.xxIntf