aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes java.rmi.UnmarshalException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "java.rmi.UnmarshalException" Watch "java.rmi.UnmarshalException" New topic
Author

java.rmi.UnmarshalException

ilwyvd illtvd
Greenhorn

Joined: Oct 20, 2002
Posts: 13
I try many times , but still have the errors
my Client.jar contains
1. all of Client classes
2. suncertify\server\RemoteDataServer_stub.class
when I use
java -jar Client.jar 197.1.1.1:1099 the problem
occurs:
initial url rmi://197.1.1.1:1099/ServerManager
FBNDataModeller : java.rmi.UnmarshalException: error unmarshalling return; neste
d exception is:
java.lang.ClassNotFoundException: suncertify.server.RemoteDataServer_Stu
b
the client contains all the *_stub.class.
but I use :
java suncertify.client.Client 197.1.1.1 1099
it works, why? it also works when I use:
java -Djava.rmi.server.codebase=file:///suncertify/server.jar -jar client.jar
I have to use :
"package suncertify.server" in all classes in server,and this arouse the client can not find
the suncertify.server.RemoteDataServer_Stu
b,help,how to resolve this problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.rmi.UnmarshalException
 
Similar Threads
A strange problem about the independent client
Creepy classpath?
Package problem
problem executing executable jar file
RMI ClassNotFoundException ===Help