This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Distributed Java and the fly likes Exception!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Exception!!!" Watch "Exception!!!" New topic
Author

Exception!!!

Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1850
Hi,
Any guess why i am getting this exception
Server exception: RemoteException occurred in server thread; nested exception is
:
java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
tion is:
java.lang.ClassNotFoundException: suncertify.db.Data_Stub
------------------
Regds.
Mahindrakar
Ashwin Desai
Ranch Hand

Joined: Jul 17, 2000
Posts: 124
Hi,
This exception is thrown if the codebase property is not set properly i.e. it is malformed. Thus, the RMI registry will not be able to find the class stub to bind()/rebind() and thus throws this exception.
If your codebase is a directory, use a trailing slash following the path like

Check out this URL. http://java.sun.com/products/jdk/1.2/docs/guide/rmi/codebase.html
for more details.
Ashwin.
Sagar Sharma
Ranch Hand

Joined: Aug 31, 2000
Posts: 92
u r not getting the stub from the remote server...check if u have already got the stub with ur client or not ...
sagar
 
 
subject: Exception!!!