A client I've written is trying to connect to a server that resides on another machine. The server is an implementation of the interface MyServer, and is called MyServerImpl. During the Naming.lookup() call in the client I'm getting a ClassCastException:
Matt Senecal Here's how I finally solved this. I took the compiled RMI STUB and SKEL files from the server and replaced the corresponding files on the client machine with them. Then I re-ran the client, and the problem vanished!
Interesing, this. Same code, same java version, the only thing that's different is that the server is Solaris 8, and the client is Win 2000.