|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Rmi....
Hi,
So I'm using netbeans to do a little RMI client-server thingy. I set the security manager, started the registry, marked the correct files as to be compiled using the rmi_stub compiler and compiled it. And, sure enough, a stub-file was generated. It should be noted that all of this I did in Netbeans, not at the prompt. When I start my server, however, i get the following error mesage QUOTE java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: distributed.example.HelloWorldImpl_Stub UNQUOTE So, apparently, it can for some reason not find the stub i just generated. How come?? It's in the same package and all. Should i set my classpath, and if so to what and how? Pls help, cuz I'm going nuts here... Brgds Jonas |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Java Development > Rmi.... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|