• 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
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:

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...
 
What does a metric clock look like? I bet it is nothing like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic