[appengine-java] DataStore exception during at commit: IllegalStateException: Transaction is in state COMPLETION_IN_PROGRESS

2011-08-19 Thread An Hong
Hi, I'm using Objectify to write to the datastore. Within a transaction I get an exception like below. Can someone explains what the error means? TIA An Hong Problem accessing /resources/item/4/share. Reason: Transaction is in state COMPLETION_IN_PROGRESS. There is no legal trans

[appengine-java] Re: Blobstore-through-files not persistent?

2011-07-29 Thread An Hong
The strange thing is that after I restart it the development-server, I can still see the __BlobInfo__ object in the admin dev console. Its {Key, ID/Name, creation_handle} remain the same, yet opening it using FileService.openReadChannel() gets a NotFoundException! -- You received this message

[appengine-java] Blobstore-through-files not persistent?

2011-07-29 Thread An Hong
I'm using Objectify to create persistent entities in my webapp. I use also the Blobstore to create blob sub-entities larger than 1MB. >From the Blobstore, for a blob, I get a BlobKey to store in a datastore entity. As suggested, I use http://code.google.com/appengine/docs/java/blobstore/overv