[appengine-java] File Access on App Engine

2009-12-08 Thread mattkrae34
I'm using 1.2.8 SDK and on both local and the app engine I get the following exception: java.security.AccessControlException: access denied (java.io.FilePermission file.xml read) When I ever I try to open a FileInputStream XMLEventReader r = factory.createXMLEventReader(new FileInputStream(/

[appengine-java] Re: File Access on App Engine

2009-12-09 Thread mattkrae34
/data/anothertest.xml would be accessed using FileInputStream(data/anothertest.xml). Andy On Dec 8, 10:49 pm, mattkrae34 matt.krae...@gmail.com wrote: I'm using 1.2.8 SDK and on both local and the app engine I get the following exception: java.security.AccessControlException: access

[appengine-java] 1.4.3 remote_api upload Parent with Children

2011-04-03 Thread mattkrae34
I'm trying to use to the new remote_api features to upload data. What is the best way to upload a parent with a list of owned children. Class Parent has ListChild children I tried uploading the Parent and using its key to create Keys for each of the children. child.setProperty(key,

[appengine-java] Re: 1.4.3 remote_api upload Parent with Children

2011-04-03 Thread mattkrae34
Figured it out, just create the the child entity with: Entity child = new Entity(Child, parentKey); children.add(child); ds.put(children) On Apr 3, 5:42 pm, mattkrae34 matt.krae...@gmail.com wrote: I'm trying to use to the new remote_api features to upload data.  What is the best way to upload

[appengine-java] Channel Persistence Post

2011-06-23 Thread mattkrae34
Shouldn't the posts associated with channel persistence come through as admin, or the authenticated/logged in user? /_ah/channel/connected/ 302 3ms 0cpu_ms 0kb POST /_ah/channel/connected/ HTTP/1.1 302 0 - - .appspot.com ms=3 cpu_ms=0 api_cpu_ms=0 cpm_usd=0.55 Request failed because URL