• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

java.rmi.UnmarshalException

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
He puts the "turd" in "saturday". Speaking of which, have you smelled this tiny ad?
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic