• 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

socketPermission: Access Denied

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1923
Scala Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
reply
    Bookmark Topic Watch Topic
  • New Topic