Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI Activation tutorial example does not work for me  RSS feed

 
First Light
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Did anybody try this tutorial :
http://java.sun.com/products//jdk/1.2/docs/guide/rmi/activation/activation.1.html

The example is not working for me though I followed all the steps. I am getting an exception when I run the client saying access is denied. I am using the exact same policy file they gave and same command line parameters.
Any comments will be appreciated.
Thank you

 
First Light
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cool..I solved the problem finally. Obviously Sun's tutorial has a missing point. It is about how to start rmid..It turned out that we had to specify the security policy file name too :
rmid -J-Djava.security.policy=policyfile &
and it worked finally!
 
Jerry Pulley
Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First Light,
Your solution to this problem will probably be of interest to a number of people who've posted about similar problems.
Regarding your user name, however, please see my last response to your other post here. You'll have to change your user name.
Thanks,
Jerry
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!