I was doing something similar and had to sign the various geotools Jars that accessed stuff on the HD. Specifically:
myApplet.jar Gt2-shapefile.jar Gt2-main.jar AP -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Laurent Cuzon Sent: Monday, October 31, 2005 6:09 AM To: [email protected] Subject: [Geotools-gt2-users] Security problem with geotools in an applet Hi all, I try to use geotools in an applet and it causes the following exception: So, my applet is signed and I answer yes to the question: "Do you want to trust the signed applet...?" I don't understand the problem, could you help me? java.security.AccessControlException: access denied (java.util.PropertyPermission com.sun.media.imageio.disableCodecLib read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPropertyAccess(Unknown Source) at java.lang.System.getProperty(Unknown Source) at java.lang.Boolean.getBoolean(Unknown Source) at com.sun.media.imageioimpl.common.PackageUtil.isCodecLibAvailable(Unknown Source) at com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReaderSpi.onRegistra tion(Unknown Source) at javax.imageio.spi.SubRegistry.registerServiceProvider(Unknown Source) at javax.imageio.spi.ServiceRegistry.registerServiceProvider(Unknown Source) at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown Source) at javax.imageio.spi.IIORegistry.<init>(Unknown Source) at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source) at javax.imageio.ImageIO.<clinit>(Unknown Source) Thanks in advance. Laurent ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
