Results 1 to 5 of 5
- 12-05-2011, 01:14 PM #1
AccessControlException createClassLoader
I'm using custom class loader and the Microsoft JDBC driver in my applet. When my class loader calls super() in the body of its constructor (creates new instance of class loader) I get
Now, I have tried running applet through jnlpjava.security.AccessControlException: access denied ("java.lang.RuntimePermission" "createClassLoader")
with<param name="jnlp_href" value="permissions.jnlp">
...but the browser just freezes to death.<security>
<all-permissions/>
</security>
Later, I have signed the JAR containing my applet, and I still get
Is there a solution to this? Please, don't suggestjava.security.AccessControlException
It's a heavy, not user-friendly solution.grant {
permission java.security.AllPermission;
};Last edited by JavaCommando; 12-05-2011 at 01:25 PM.
- 12-05-2011, 01:28 PM #2
Re: AccessControlException createClassLoader
Does the applet work with the shown changes to the .java.policy file?
- 12-05-2011, 01:46 PM #3
Re: AccessControlException createClassLoader
Yes.
- 12-05-2011, 01:59 PM #4
Re: AccessControlException createClassLoader
It seems like signing should give you the permissions you need.
- 12-05-2011, 02:11 PM #5
Similar Threads
-
AccessControlException
By hayley in forum JDBCReplies: 2Last Post: 08-05-2011, 09:31 AM -
AccessControlException
By DarthCoffee in forum NetworkingReplies: 2Last Post: 03-15-2011, 10:37 PM -
accesscontrolexception in applets
By nishant.4545 in forum Java AppletsReplies: 0Last Post: 07-04-2009, 11:35 AM -
java.security.AccessControlException
By cecily in forum Java AppletsReplies: 1Last Post: 08-06-2007, 02:49 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks