File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes AccessControlException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "AccessControlException" Watch "AccessControlException" New topic
Author

AccessControlException

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15286
    
    6

I have an applet that I have signed using keytool and jarsigner. I am able to run the applet and write to the local file system.
But I changed my code to test connecting to a MySQL database, jared the class file, resigned the jar file and now I get an AccessControlException. I know the database is working and I know my connectino code and my archive properties in my html file are correct. I can run the same code as an application and everything works fine.
So I am assuming it is a security problem. Anyone able to shed some light on this?


GenRocket - A Test Data Generation Platform
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AccessControlException
 
Similar Threads
AccessControlException
AccessControlException
AccesscontrolException
AccessControlException!!!
AccessControlException - RuntimePermission