• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

java. security. AccessControlException

 
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey,
i have an applet that runs for a long time.
i never expected any problems with it.
today i loaded it and got
java.security.AccessControlException: access denied (java.util.PropertyPermission * read,write)
what the hell is this? what should i do? the applet is simple and doesn't have any file/network access features...
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What JRE are you using? The JRE1.4.1 util.Properties API actually writes data to the Windows Registry or to a Dirctory in Linux. So the Applet may be trying to access some IO now if you have recently changed JRE maybe?
That would be my first guess.
 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey gregg, thank's for reply.
i didn't change the jre and the applet doesn't use any IO features at all... it reads properties coming with it in a jsp page.
in any case, it worked fine till yesterday and i didn't do any changes.
i'll try it on another jres tomorrow...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic