Hi Stephane, You need to sign all the client side jar files to get around the applet sandbox security check.
Moreover, in case you are using "usePolicy" Permission, even signed applets require specific settings in the users java.policy file so that the applet can access files. Please see: http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/security.ht ml. I hope this helps. Thanks and regards, Janak -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Marchandon, Stephane Sent: Wednesday, January 10, 2007 5:35 PM To: [email protected] Subject: [ULC-developer] file transfer : access denied today, when was working yesterday Hello, The Applet (under Weblogic), I was testing before was allowing me to transfer file (download : client -> server) without any problem. Got many files transferred using the code from the ULC Community, that was really great. Today, I have just updated the class and jar due to some other changes, but I cannot do the file transfer any more, as I get the following exception. This is very strange I have not changed anything related to this part of the code and it still works smoothly when using the development environment. Any help is really welcomed, I have no idea where could this comes from. 900 WARNING Thread[ExecuteThread: '24' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default'] com.ulcjava.base.server.ULCSession a Exception received from client: java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir 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.io.Win32FileSystem.getUserPath(Unknown Source) at java.io.Win32FileSystem.resolve(Unknown Source) at java.io.File.getAbsolutePath(Unknown Source) at sun.awt.shell.Win32ShellFolder2.<init>(Unknown Source) at sun.awt.shell.Win32ShellFolder2.listFiles(Unknown Source) at sun.awt.shell.ShellFolder.listFiles(Unknown Source) at sun.awt.shell.Win32ShellFolderManager2.get(Unknown Source) at sun.awt.shell.ShellFolder.get(Unknown Source) at javax.swing.plaf.metal.MetalFileChooserUI.updateUseShellFolder(Unknown Source) at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(Unknown Source) at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source) at javax.swing.plaf.metal.MetalFileChooserUI.installUI(Unknown Source) at javax.swing.JComponent.setUI(Unknown Source) at javax.swing.JFileChooser.updateUI(Unknown Source) at javax.swing.JFileChooser.setup(Unknown Source) at javax.swing.JFileChooser.<init>(Unknown Source) at javax.swing.JFileChooser.<init>(Unknown Source) at com.ulcjava.base.trusted.AllPermissionsFileService.createFileChooser(AllPerm issionsFileService.java:32) at com.ulcjava.base.trusted.AllPermissionsFileService.access$000(AllPermissions FileService.java:30) at com.ulcjava.base.trusted.AllPermissionsFileService$2.run(AllPermissionsFileS ervice.java:90) at java.security.AccessController.doPrivileged(Native Method) at com.ulcjava.base.trusted.AllPermissionsFileService.chooseFile(AllPermissions FileService.java:88) at com.ulcjava.base.client.UIChooseClientFileTask.chooseClientFile(UIChooseClie ntFileTask.java:8) 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 com.ulcjava.base.client.UIProxy.a(UIProxy.java:148) at com.ulcjava.base.client.UIProxy.b(UIProxy.java:82) at com.ulcjava.base.client.UIProxy.handleRequest(UIProxy.java:203) at com.ulcjava.base.client.UISession.b(UISession.java:34) at com.ulcjava.base.client.UISession.access$1600(UISession.java:265) at com.ulcjava.base.client.UISession$1.run(UISession$1.java:2) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.ulcjava.base.client.FilteringEventQueue.dispatchEvent(FilteringEventQueu e.java:5) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Regards. Stéphane Marchandon _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
