Hello Ralph, Is there a particular reason why you need the production database to test? Where I work, our production services contain confidential data, so we generate dummy data from a script (similar to this: http://www.generatedata.com/#about ). Also it's much faster than using the Remote API.
If you need your production database, we can try something else: perhaps your db is getting corrupted because of its location. You can move the location of local_db.bin by specifying a system property: https://groups.google.com/forum/?fromgroups=#!topic/maven-gae-plugin/V3MrpRYu6oE . Try moving it entirely outside of your dev folders, see if that helps you. If not, you can always try backing up the .bin file and restoring it whenever it gets corrupted. ----------------- -Vinny P Technology & Media Advisor Chicago, IL @GOV on AppDotNet: https://alpha.app.net/gov On Friday, April 12, 2013 3:07:15 AM UTC-5, Ralph Brecheisen wrote: > > Hi, > > I already use the approach suggested by Simon. I download the production > database and upload it into the local development environment using Remote > API. Right after I do this everything works fine. However, after restarting > the local server a few times, for some reason, the local_db.bin gets > corrupted or something and it fails to load with the above-described > EOFException. If I re-import the database again with Remote API all is well > again. > > I know this error occurs when I upgrade the App Engine version (I'm now at > 1.7.6). This annoying but ok... However, the error also occurs without > switching versions and that is a bit more than annoying because it really > slows down my development cycles. > > Any solutions or comments on how why this happens and what's the best way > to deal with it? > > Grtz, > > Ralph > > > On Friday, December 14, 2012 1:24:41 PM UTC+1, Nico Verwer wrote: >> >> I am having the same problem since I switched to the HRD datastore in my >> development environment. >> Every time the local appengine starts up, this happens, even when there >> has not been an update of the appengine jar-files. >> I am using version 1.7.2.1 of the appengine SDK. >> >> If anyone has a solution, it would be great if they could post it here. >> >> >> On Thursday, February 23, 2012 11:34:06 AM UTC+1, NightHawk wrote: >>> >>> Hi, >>> >>> In development mode I got the exception below and now i'm unable to >>> load my database. This is serious as now I cannot load my test >>> database (with lot's of data) and I have my test environment broken. >>> >>> Is the DB corrupt? >>> What can I do to recover the data i have in the database? >>> What should I do to prevent this from happening again? >>> >>> Failed to load from the backing store, C:\...\war\WEB-INF\appengine- >>> generated\local_db.bin >>> >>> -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out.