App Engine - LocalDatastoreService load - Failed to load from the backing storeImporting Entities Into Local GCP Datastore EmulatorFailed to load the JNI shared Library (JDK)App Engine 1.7.5 does not create new local_db.bin datastore filewebgoat can not startup with tomcat 8“Error: Could not find or load main class …”Dynamic Class Compiler Class Loader throwing NullpointerExceptionMAC - selenium-java 3.0.1 giving java.lang.NoClassDefFoundError: org/openqa/selenium/NoSuchSessionException using chromedriverJava AWS Lambda error loading classError: NoClassDefFoundError: org/apache/commons/logging/LogFactoryHow to fix java.lang.NoClassDefFoundError: com/google/inject/AbstractModule in jFairyHow to fix 'ClassNotFoundException: brave.propagation.CurrentTraceContext$ScopeDecorator'?

Why "had" in "[something] we would have made had we used [something]"?

Biological Blimps: Propulsion

Electoral considerations aside, what are potential benefits, for the US, of policy changes proposed by the tweet recognizing Golan annexation?

Hero deduces identity of a killer

Why is the "ls" command showing permissions of files in a FAT32 partition?

Why Shazam when there is already Superman?

Why should universal income be universal?

Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?

How should I respond when I lied about my education and the company finds out through background check?

Quoting Keynes in a lecture

Has any country ever had 2 former presidents in jail simultaneously?

putting logo on same line but after title, latex

Can a stoichiometric mixture of oxygen and methane exist as a liquid at standard pressure and some (low) temperature?

What does "Scientists rise up against statistical significance" mean? (Comment in Nature)

Pre-mixing cryogenic fuels and using only one fuel tank

Open a doc from terminal, but not by its name

Can a Canadian Travel to the USA twice, less than 180 days each time?

Calculating total slots

The IT department bottlenecks progress. How should I handle this?

How to fade a semiplane defined by line?

Angel of Condemnation - Exile creature with second ability

Need help understanding what a natural log transformation is actually doing and why specific transformations are required for linear regression

Yosemite Fire Rings - What to Expect?

Multiplicative persistence



App Engine - LocalDatastoreService load - Failed to load from the backing store


Importing Entities Into Local GCP Datastore EmulatorFailed to load the JNI shared Library (JDK)App Engine 1.7.5 does not create new local_db.bin datastore filewebgoat can not startup with tomcat 8“Error: Could not find or load main class …”Dynamic Class Compiler Class Loader throwing NullpointerExceptionMAC - selenium-java 3.0.1 giving java.lang.NoClassDefFoundError: org/openqa/selenium/NoSuchSessionException using chromedriverJava AWS Lambda error loading classError: NoClassDefFoundError: org/apache/commons/logging/LogFactoryHow to fix java.lang.NoClassDefFoundError: com/google/inject/AbstractModule in jFairyHow to fix 'ClassNotFoundException: brave.propagation.CurrentTraceContext$ScopeDecorator'?













0















We are using App Engine, Datastore, and Java and we have been trying unsuccessfully to copy our production Google Datastore to a local copy.



We use the following to export



gcloud datastore export --namespaces="(default)" gs://$GOOGLE_CLOUD_BUCKET


And then import that looks something like this



'http://' + $LOCAL_DATASTORE_HOSTNAME + ':' + $LOCAL_DATASTORE_PORT + '/v1/projects/' + $PROJECT_ID + ':import'


It creates a "local_db.bin" which appears to be correct however then we copy it into the required location and run it we hit the following error.




com.google.appengine.api.datastore.dev.LocalDatastoreService init
INFO: Local Datastore initialized:
Type: High Replication
Storage: WEB-INFappengine-generatedlocal_db.bin
com.google.appengine.api.datastore.dev.LocalDatastoreService load
INFO: Failed to load from the backing store, WEB-INFappengine-generatedlocal_db.bin
java.lang.ClassNotFoundException: com.google.cloud.datastore.emulator.impl.LocalDatastoreFileStub$FileProfile
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)




If we then save a new record it blows away the local_db.bin and creates a new one.



Anyone know where in the process this issue might be?










share|improve this question






















  • If you are using Datastore Emulator, you should not move the "local_db.bin". Whenever it is created without specifying a directory, it will always create a new temporary directory where you will import you data (as you said, in the local_db.bin"). If you then turn off an back on you emulator (again not specifying the directory), and save a new record, you will not be accessing the same "local_db.bin", and it will create one anew. Could this be what is affecting you? You can check config path for the emulator with `gcloud info --format='get(config.paths.global_config_dir)'

    – Pablo Almécija Rodríguez
    Mar 7 at 12:55












  • The "local_db.bin" is created. (I've updated eclipse to point to that file). Same issue. It throws the exception mentioned above and clears the data.

    – Campey
    Mar 7 at 23:55















0















We are using App Engine, Datastore, and Java and we have been trying unsuccessfully to copy our production Google Datastore to a local copy.



We use the following to export



gcloud datastore export --namespaces="(default)" gs://$GOOGLE_CLOUD_BUCKET


And then import that looks something like this



'http://' + $LOCAL_DATASTORE_HOSTNAME + ':' + $LOCAL_DATASTORE_PORT + '/v1/projects/' + $PROJECT_ID + ':import'


It creates a "local_db.bin" which appears to be correct however then we copy it into the required location and run it we hit the following error.




com.google.appengine.api.datastore.dev.LocalDatastoreService init
INFO: Local Datastore initialized:
Type: High Replication
Storage: WEB-INFappengine-generatedlocal_db.bin
com.google.appengine.api.datastore.dev.LocalDatastoreService load
INFO: Failed to load from the backing store, WEB-INFappengine-generatedlocal_db.bin
java.lang.ClassNotFoundException: com.google.cloud.datastore.emulator.impl.LocalDatastoreFileStub$FileProfile
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)




If we then save a new record it blows away the local_db.bin and creates a new one.



Anyone know where in the process this issue might be?










share|improve this question






















  • If you are using Datastore Emulator, you should not move the "local_db.bin". Whenever it is created without specifying a directory, it will always create a new temporary directory where you will import you data (as you said, in the local_db.bin"). If you then turn off an back on you emulator (again not specifying the directory), and save a new record, you will not be accessing the same "local_db.bin", and it will create one anew. Could this be what is affecting you? You can check config path for the emulator with `gcloud info --format='get(config.paths.global_config_dir)'

    – Pablo Almécija Rodríguez
    Mar 7 at 12:55












  • The "local_db.bin" is created. (I've updated eclipse to point to that file). Same issue. It throws the exception mentioned above and clears the data.

    – Campey
    Mar 7 at 23:55













0












0








0








We are using App Engine, Datastore, and Java and we have been trying unsuccessfully to copy our production Google Datastore to a local copy.



We use the following to export



gcloud datastore export --namespaces="(default)" gs://$GOOGLE_CLOUD_BUCKET


And then import that looks something like this



'http://' + $LOCAL_DATASTORE_HOSTNAME + ':' + $LOCAL_DATASTORE_PORT + '/v1/projects/' + $PROJECT_ID + ':import'


It creates a "local_db.bin" which appears to be correct however then we copy it into the required location and run it we hit the following error.




com.google.appengine.api.datastore.dev.LocalDatastoreService init
INFO: Local Datastore initialized:
Type: High Replication
Storage: WEB-INFappengine-generatedlocal_db.bin
com.google.appengine.api.datastore.dev.LocalDatastoreService load
INFO: Failed to load from the backing store, WEB-INFappengine-generatedlocal_db.bin
java.lang.ClassNotFoundException: com.google.cloud.datastore.emulator.impl.LocalDatastoreFileStub$FileProfile
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)




If we then save a new record it blows away the local_db.bin and creates a new one.



Anyone know where in the process this issue might be?










share|improve this question














We are using App Engine, Datastore, and Java and we have been trying unsuccessfully to copy our production Google Datastore to a local copy.



We use the following to export



gcloud datastore export --namespaces="(default)" gs://$GOOGLE_CLOUD_BUCKET


And then import that looks something like this



'http://' + $LOCAL_DATASTORE_HOSTNAME + ':' + $LOCAL_DATASTORE_PORT + '/v1/projects/' + $PROJECT_ID + ':import'


It creates a "local_db.bin" which appears to be correct however then we copy it into the required location and run it we hit the following error.




com.google.appengine.api.datastore.dev.LocalDatastoreService init
INFO: Local Datastore initialized:
Type: High Replication
Storage: WEB-INFappengine-generatedlocal_db.bin
com.google.appengine.api.datastore.dev.LocalDatastoreService load
INFO: Failed to load from the backing store, WEB-INFappengine-generatedlocal_db.bin
java.lang.ClassNotFoundException: com.google.cloud.datastore.emulator.impl.LocalDatastoreFileStub$FileProfile
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)




If we then save a new record it blows away the local_db.bin and creates a new one.



Anyone know where in the process this issue might be?







java google-app-engine google-cloud-datastore






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 7 at 6:38









CampeyCampey

895714




895714












  • If you are using Datastore Emulator, you should not move the "local_db.bin". Whenever it is created without specifying a directory, it will always create a new temporary directory where you will import you data (as you said, in the local_db.bin"). If you then turn off an back on you emulator (again not specifying the directory), and save a new record, you will not be accessing the same "local_db.bin", and it will create one anew. Could this be what is affecting you? You can check config path for the emulator with `gcloud info --format='get(config.paths.global_config_dir)'

    – Pablo Almécija Rodríguez
    Mar 7 at 12:55












  • The "local_db.bin" is created. (I've updated eclipse to point to that file). Same issue. It throws the exception mentioned above and clears the data.

    – Campey
    Mar 7 at 23:55

















  • If you are using Datastore Emulator, you should not move the "local_db.bin". Whenever it is created without specifying a directory, it will always create a new temporary directory where you will import you data (as you said, in the local_db.bin"). If you then turn off an back on you emulator (again not specifying the directory), and save a new record, you will not be accessing the same "local_db.bin", and it will create one anew. Could this be what is affecting you? You can check config path for the emulator with `gcloud info --format='get(config.paths.global_config_dir)'

    – Pablo Almécija Rodríguez
    Mar 7 at 12:55












  • The "local_db.bin" is created. (I've updated eclipse to point to that file). Same issue. It throws the exception mentioned above and clears the data.

    – Campey
    Mar 7 at 23:55
















If you are using Datastore Emulator, you should not move the "local_db.bin". Whenever it is created without specifying a directory, it will always create a new temporary directory where you will import you data (as you said, in the local_db.bin"). If you then turn off an back on you emulator (again not specifying the directory), and save a new record, you will not be accessing the same "local_db.bin", and it will create one anew. Could this be what is affecting you? You can check config path for the emulator with `gcloud info --format='get(config.paths.global_config_dir)'

– Pablo Almécija Rodríguez
Mar 7 at 12:55






If you are using Datastore Emulator, you should not move the "local_db.bin". Whenever it is created without specifying a directory, it will always create a new temporary directory where you will import you data (as you said, in the local_db.bin"). If you then turn off an back on you emulator (again not specifying the directory), and save a new record, you will not be accessing the same "local_db.bin", and it will create one anew. Could this be what is affecting you? You can check config path for the emulator with `gcloud info --format='get(config.paths.global_config_dir)'

– Pablo Almécija Rodríguez
Mar 7 at 12:55














The "local_db.bin" is created. (I've updated eclipse to point to that file). Same issue. It throws the exception mentioned above and clears the data.

– Campey
Mar 7 at 23:55





The "local_db.bin" is created. (I've updated eclipse to point to that file). Same issue. It throws the exception mentioned above and clears the data.

– Campey
Mar 7 at 23:55












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55037520%2fapp-engine-localdatastoreservice-load-failed-to-load-from-the-backing-store%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55037520%2fapp-engine-localdatastoreservice-load-failed-to-load-from-the-backing-store%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved