Where is the file stored? http://code.google.com/appengine/kb/java.html#readfile
Robert On Wed, Jun 8, 2011 at 05:30, xiu <[email protected]> wrote: > when i use app engine to develop my apps,and i just want to read the > file stored in the gaevfs using the code : > this.shpAccessFile = new RandomAccessFile(this.shpFileName, "r"); > but it throw new AccessControlException("access denied "+perm, perm); > so can someone tell me how to solve the problem? > java.security.AccessControlException: access denied > (java.io.FilePermission gae:\F:\workspace\GeoCloud\war\gaevfs > \cecc8aa0-7405-102e-b976-026d7f000001\longrive.shp read) > at > java.security.AccessControlContext.checkPermission(AccessControlContext.java: > 323) > at > java.security.AccessController.checkPermission(AccessController.java: > 546) > at java.lang.SecurityManager.checkPermission(SecurityManager.java: > 532) > at com.google.appengine.tools.development.DevAppServerFactory > $CustomSecurityManager.checkPermission(DevAppServerFactory.java:166) > at java.lang.SecurityManager.checkRead(SecurityManager.java:871) > at java.io.RandomAccessFile.<init>(RandomAccessFile.java:203) > at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98) > at > com.vobject.appengine.java.io.RandomAccessFile.<init>(RandomAccessFile.java: > 90) > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
