Ive recently signed this jar, and have been sending a similar function the strings I need to write to a properties file on the client machine. I was seeing these strings get over to the applet, just fine so the call was working. Once I signed all my jars in the package, I get this exception stack when it tries to write to the file
java.security.AccessControlException: access denied (java.util.PropertyPermission user.home 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 AppMain.setDisplayValues(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.plugin.com.MethodDispatcher.invoke(Unknown Source) at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source) at sun.plugin.com.DispatchImpl$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
Is there someway to give the JSP access to this jar?? I sure hope so, I'm in need of writing a configuration file to the client machine, and this seems to be the best (and first) way I could think of to do it.
Joined: Aug 19, 2002
But the crash stack seems to say that the jar is having permission problems.