Mike<br />SCJP SCJD
MCP (C# application dev 70-316) 860<br />SCJP 1.4 100% SCJD (URLyBird) 378<br />MAD 100% nuts
Originally posted by Inuka Vincit:
your RMI stub files are not upto date with your compiled code. creat a new RMI stubs and it should work. I get that error whenver I forget to update my stubs files
Originally posted by Inuka Vincit:
your RMI stub files are not upto date with your compiled code. creat a new RMI stubs and it should work. I get that error whenver I forget to update my stubs files
Mike<br />SCJP SCJD
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Mike<br />SCJP SCJD
My life list in runme.jar is:
META-INF/
META-INF/MANIFEST.MF
suncertify/
suncertify/SettingServer.class
suncertify/SettingServer$1.class
My MANIFEST file :
Manifest-Version: 1.0
Created-By: 1.4.2_04 (Sun Microsystems Inc.)
Main-Class: suncertify.Dispatch
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Mike<br />SCJP SCJD
Originally posted by Andrew Monkhouse:
Do you start the RMI Registry from within your application, or do you start it from the command line?
Originally posted by Mike He:
When I extract jar file into a new clean directory, it works.
If I delete the directory,it don't work any more.
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Mike<br />SCJP SCJD
But I don't know why RMI Registry can't locate the class in the jar "runme.jar" but can do in the directory "suncerty". I don't set codebase and security policy in both condition,but result is different.
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Mike<br />SCJP SCJD
If you are using a rototiller, you are doing it wrong. Even on this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|