IntelliJ Java IDE
The moose likes Applets and the fly likes Intermittent 'java.security.AccessControlException: access denied' problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "Intermittent Watch "Intermittent New topic
Author

Intermittent 'java.security.AccessControlException: access denied' problem

Paul Ramsden
Greenhorn

Joined: Sep 22, 2000
Posts: 27
I have an applet which is used on a number of pages in my web site. It requires excute priveleges and is signed with a certificate. There are around 1500 users who use the site reqularly and a handful (including myself) have this problem. I'm sure sure but I think it might only occur with users who automatically start more than one page containing a signed applet. For example, my browser starts 2 pages from the web site where this applet is active. The problem does not always occur and when it does then the page just needs to be reopened.

Here is the console dump from today. One page loaded successfully, the other didn't. The lines begining with '[PortalLauncher]' are stdout messages from my applet.



This is all happining as the page loads. There are 2 identical applets being started. One applet is able to seach and load a certificate but the other cannot.

applet 1:


applet 2:


Can anyone help?
 
 
subject: Intermittent 'java.security.AccessControlException: access denied' problem
 
Threads others viewed
applet access file on his server?
java.lang.RuntimePermission getClassLoader
cannot open applet in firefox
How do I grant applications launched through JWS socket permission?
applet security exception
IntelliJ Java IDE