Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
> Hello, > I'm trying to get a simple RMI app. up and running (from the Sun RMI > java.rmi.ServerException: RemoteException occured in server thread; > The CalculaorImpl_Stub class is sitting right there, but jdk says it's This one caught me, as well. It looks like that when you run this test _locally_, rmiregistry needs to be able to find the stub. I had to run it in the same directory as CalculatorImpl_Stub to get things to work. I imagine you could put the stub in the rmiregistry's classpath, as well. My understanding is that if you are running the example on different boxes/JVMs, the stub should not be on the classpath of the rmiregistry process. This sounds wrong, and I haven't tested. Still an RMI beginner. jdv
Replies: |
Sponsored Links
|