java.security.PrivilegedActionException: java.lang.reflect.InvocationTarget
Hello for All
I ve been working on this problem for a long time and I cant solve it.
I have a signed applet that works fine in Win2k with IE 6.0 and JRE Plugin 1.3, 1,4 etc... but when I try execute the applet in Netscape 7.0 for win2k or SUN Solaris I got the following exception:
java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException: java.security.AccessControlException: access denied (java.io.FilePermission c:\1 write)
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.checkWrite(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.bkb.filetransfer.applets.FTProcess.download(FTProcess.java:488)
at java.lang.reflect.Method.invoke(Native Method)
at sun.plugin.liveconnect.PrivilegedCallMethodAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.liveconnect.SecureInvocation$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.liveconnect.SecureInvocation.CallMethod(Unknown Source)
The error occurs for WinXP with IE6.0 too.
Im signing the jar like this:
c:\jdk1.3.1_09\bin\jarsigner -keystore ftks -storepass ever2001 -keypass ever2001 FTProcess.jar ftkey
In html page I try use the TAG APPLET OR OBJECT/EMBED to load the applet but for both of them the error appears.
I ve seeing some messages about this problem but without any suggestion.
Any help or idea are appreciated.
Thanks
Dilson Sa

