RMI Client is unable to access the Stub file
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Abhishek_Singh
Posted On:   Friday, February 14, 2003 11:24 PM



i have written a RMI serverand a client.
but client is not able to access stb file.although both running on same machine.


,p>
the stub file is located in c:mydirectoryclassfiles.jar


how to specify the codebase property in server to access Stub from the localhost

Re: RMI Client is unable to access the Stub file

Posted By:   rocky_br  
Posted On:   Monday, March 24, 2003 03:32 AM

hi,

your policy file should contain permission for all,

set you classpath pointing to the c:/mydirectory
start rmiregistry

keep your policy file under mydirectory and enter the belo line

java -Djava.server.policy=policy.txt serverfilename.
About | Sitemap | Contact