Can the registry find the _Stub and interface classes? I'll bet not...
if the exception basically says "remote exception ... class not found"
then that's your problem. The registry process need the _Stub class,
and inorder to load that it needs the interfaces that it implements.
As with anything, that's just a shot in the dark without seeing the
stacktraces.... -=Chris
At 04:20 PM 4/19/99 -0600, Wendell Porter wrote:
>Hi everyone,
>
>I have been trying to get RMI to work for some time now. I am just
>using the simple example from Sun, HelloImpl, but I can't get the full
>process to work.
>
>I can run the server class, and it binds with the registry just fine.
>When I try to connect with the client, it tells me that the _Stub class
>cannot be found. In the past, I have also gotten it to where running
>the client returned that the remote interface (Hello) could not be
>found.
>
>The client does run if it is on the same machine as the server, and the
>CLASSPATH contains the classes for the server, but that doesn't do much
>for me since that takes the Remote out of RMI. Any suggestions would be
>greatly appreciated.
>
>I am running RedHat 5.2 with JDK 1.2 pre-v1 on an Intel box.
>
>Wendell Porter
>
>
>----------------------------------------------------------------------
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
!NEW!-=> <*> cabbey at home dot net http://members.home.net/cabbey/ <*>
"What can Microsoft do? They certainly can't program around us." - Linus
-----BEGIN GEEK CODE BLOCK----- Version:3.12 http://www.geekcode.com
GCS$/IT/PA$ d(-) s++:+ a-- C+++$ UL++++ UA++$ P++ L++ E- W++ N+ o? K? !P
w---(+)$ O- M-- V-- Y+ PGP+ t--- 5++ X+ R tv b+ DI+++ D G e++ h(+) r@ y?
------END GEEK CODE BLOCK------
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]