Im working with RMI. Oracle is installed in my machine and its path is set before the jdk path. Now when i start rmiregistry, its starting oracle's rmiregistry but not jdks rmiregistry. I hv understood that its becoz oracle path is appearing before jdk, may be thats why. But now my doubt when I removed the oracle path and execute rmiregistry, fine it started jdks rmiregistry, but im unable to export the remote object to rmiregistry. It gives a remote exception and stub , skel files not found...i.e classnotfoundexception. I hv stub & skel files generated before exporting object to rmiregistry. But no luck. Even I tried setting the classpath to the stub & skel class files location, but still the same problem..Can any1 tell me where Im going wrong...
Why don;t you post the names of the clases involved, the directory structure, the classpath information and what you passed to the -Djava.rmi.server.codebase
let me see whether I can figure out anything from them.