• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

policy file

 
jayashri hosur
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
coping folder with subfolder and files from one location to other i did this using applet but i want to run this using jboss server but i am getting access denied error i included the policy file as below but still getting access denied error please help me
grant {
permission java.io.FilePermission "<<ALL FILES>>","write" "read";

permission java.security.AllPermission "", "";
};
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "include" - where is this policy file? How are you telling JBoss to use it?
 
jayashri hosur
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i kept that policy file in my home directory.
i am doing web application using jsf ,there when i type url like http://localhost:8080//webapplication/applet.html i am not able to get the gui corresponding to that applet .i am embedding this applet in html
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"srusti",
Welcome to JavaRanch!

We're pleased to have you here with us here on the ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. Initials are OK for the first and middle names but not the last. You can change it here
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm just noticing that you have missed out policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.

As to your question, you need to install that policy file system wide. See here for how that's done.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic