• Post Reply Bookmark Topic Watch Topic
  • New Topic

socketPermission: Access Denied  RSS feed

 
Chris G Johnson
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an applet that connects to a MUD server on port 23. I know that the applet has worked before but for some reason the access is now being denied, whether this is because of the java security policy, i am not sure. This is the actual error message that I am getting:-

java.security.AccessControlException: access denied (java.net.socketPermission nanvaent.org resolve)

Can anybody please help with this, i have heard that the applet needs signing but there are just so many different ideas and suggestions on how to do this, i am unsure of what to do for the best. I also have heard that jar files can be signed but again i'm not sure and the program is not currently being run from a jar as I wouldn't know how to do that.
The only other point that might be important is that recently my IExplorer has been playing up, probably because of some virus or adware and so i have been using aol's browser, will this stop access being granted? I have added a couple of lines to the java policy file to grant permission to any server like "*" resolve & "*" connect, but so far this has made no difference.
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The sad truth is:
We could only repeat the things, already written in lots of documents - preferably found on the sun site, but you would have to read it, try and understand it though.

If there are specific questions left, you may ask again.
Perhaps you should start with building jars and the command jar -h, which is useful to know, and independent solvable from the rest of the problem.
You know the old strategy in problem solving: divide et impera!

And in my opinion, without knowing jar, you shouldn't even think of posting to 'advanced'.
[ March 09, 2005: Message edited by: Stefan Wagner ]
 
Chris G Johnson
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is wrong with forums these days? I remember when you could post a question one day and get a solution the next without all this nonsense of posting questions in the wrong place. Why do people bother answering a topic if it is just to tell the poster that they aren't going to answer the question?
I would be glad to hear from someone who can at least give any useful information, I have already said that i know that there is a lot of information on the web on this problem, but so far I have not found any to be a good solution.
I need to find a good java forum anybody know where I can find one?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!