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/overview.html#Writing_Files_to_the_Blobstore
 
to write and read blobs.  It works fine.  I can save Blobstore objects and 
retrieve them, using Blobkeys.  But when I restart the GAE server (no schema 
change in my code), the blobs go away.  They are not persistent.  I get 
NotFoundException when trying to retrieve a blob object using 
FileReadChannel.  This I experience on my dev-local GAE.

Three questions,
1.  Is the Blobstore-through-files non-persistent behavior different on 
live-deployed GAE?  Do live GAE servers ever have to restart?
2.  If restart can happen on live servers, is there a work-around for me to 
persist blobs?
3.  Am I mis-using or misunderstanding Blobstore via FileService?

TIA,
An

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/9ALT3zgpuxwJ.
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-java?hl=en.

Reply via email to