• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Policy files and examples

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When running an RMI example
1) Do you have to specify a security policy file for
BOTH the client and server machines
2) If so, do you run the server and client by commands such as the following?
java -Djava.security.policy=c:\DirOnServer\wideopen.policy myRMIServer
java -Djava.security.policy=c:\DirOnClient\wideopen.policy myRMIClient
3) Do the commands above have to refer to policy files on their own machines or if they don't how do you refer to a policy file on another machine?
I am getting very confused, and any help would be much appreciated!
By the way, I am having problems getting examples on the Internet (such as Sun's)to work. Many examples seem to brush over compilation and setup (or where to put certain files etc)- especially those examples concerning web-servers, dynamic class loading, and security files. Does anybody have links to good step-by-step examples / resources?
Thanks
 
There's a hole in the bucket, dear Liza, dear Liza, a hole in the bucket, dear liza, a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic