Forums Register Login

Unmarshal Exception - Class not found

+Pie Number of slices to send: Send
I get a class not found exception when I try to run my client. The RMI server starts correctly but it apparently cannot find the stub file to return when the client makes a call. I think it is my codebase parameter but I can't figure it out. If I put the stub class in the path with the client it works correctly.
If the stub class is in a package suncertify.db.Data_Stub and located at c:\test\suncertify\db\Data_Stub.class, shouldn't the value of the codebase be:
-Djava.rmi.server.codebase=file:/c:\test\
And just in case I am completely off target, the codebase is supplied to the server, not the client, right?
Curse your sudden but inevitable betrayal! And this tiny ad too!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 825 times.
Similar Threads
Dynamic dowload
headache of rmiregistry
RMI CodeBase => slowdown
ClassNotFoundException/AccessControlException
Codebase Problem
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:37:16.