| Author |
RMI: ClassCastException
|
Dave Teare
Ranch Hand
Joined: Oct 09, 2002
Posts: 80
|
|
Hi all, I have my RMI working perfectly fine for one of my projects, but when I tried creating a second class in a seperate project, I am getting a ClassCastException. I used my working code as a template, so I am fairly convinced I have the right class structure. On the client I call Naming.lookup(rmiName), which correctly returns a FBNConnectionManager_Stub class, but when I attempt to cast this to a FBNConnectionManager object, I get a cast exception. Any thoughts on why this might be happening? I have recompiled all my classes and re-rmic'd, and even rebooted my machine, but it still fails. What gives? Thanks a million! --Dave.
|
 |
 |
|
|
subject: RMI: ClassCastException
|
|
|