Google App Engine Bitcoin Mining - google-app-engine

https://bitcointalk.org/index.php?topic=2745.0
I saw this, and it's quite a dead thread. I'm trying to implement this, but eclipse is having issues.
The App Engine SDK JAR appengine-endpoints.jar is missing in the WEB-INF/lib directory lib /gaeminer-master/war/WEB-INF Unknown Google App Engine Problem
The App Engine SDK JAR appengine-jsr107cache-1.7.7.jar is missing in the WEB-INF/lib directory lib /gaeminer-master/war/WEB-INF Unknown Google App Engine Problem
The App Engine SDK JAR appengine-api-labs.jar is missing in the WEB-INF/lib directory lib /gaeminer-master/war/WEB-INF Unknown Google App Engine Problem
The App Engine SDK JAR appengine-api-1.0-sdk-1.7.7.jar is missing in the WEB-INF/lib directory lib /gaeminer-master/war/WEB-INF Unknown Google App Engine Problem
The App Engine SDK JAR datanucleus-appengine-1.0.10.final.jar is missing in the WEB-INF/lib directory lib /gaeminer-master/war/WEB-INF Unknown Google App Engine Problem
How do I fix this?
I've spent several hours pounding my head into a desk for this project. By the way, yes, I understand CPU mining doesn't make much money, I just wanted to see if this was possible.

I had a similar problem, and resolved it pressing right button on the error (Markers Tab) -> Quick Fix -> Synchronize lib with JDK libraries. Try it and tell me if it helps you =)

Related

Is there a way to UPDATE files in google app engine

Is there a way to update files for google app engine. I deployed the google app engine. I want to update the files on the google cloud app engine but I am unsure how to do this. When I am following the django google app engine.
How I try to fix this problem is by "re-deploying " but I receive a "too many files error" I am unsure how to fix this. How do I change the source code in the google app engine with the correct code?
You update the files on App Engine by doing this command in your project root
gcloud app deploy . --version YOUR_VERSION_NAME --project YOUR_PROJECT_NAME
But it sounds like that's what you're trying to do but you're getting a "too many files error"
I think the limit is 10,000 files. There most likely is a rogue directory in your project root that is causing the problem.
In your app.yaml you can add a skip_files section for files that should not get uploaded to App Engine.
skip_files:
- ^\.git/.*
- ^node_modules/(.*/)?
https://cloud.google.com/appengine/docs/standard/python/config/appref#skip_files

Deploying Google App Engine and Slim3 code

I am developing a GAE app and using Slim3 for persistence. I've created the model and the metamodel. When I try to deploy the app to GAE I get the following error when I run the app.
/register
java.lang.IllegalArgumentException: The meta data of the model(com.principalmvl.lojackmykids.meta.ContactMeta) is not found.
at org.slim3.datastore.DatastoreUtil.createModelMeta(DatastoreUtil.java:801)
at org.slim3.datastore.DatastoreUtil.getModelMeta(DatastoreUtil.java:729)
I looked at the lib directory under the WEB-INF directory and I see the generated .CLASS files.
What is the issue? Is there something I need to do on the import or a configuration so that GAE sees this classs?
I believe the issue is in the Eclipse project. I recreated a new project and copied all of my servlets and meta data models and it worked. I killed the other project since it seemed to be corrupt.

Can't deploy EAR to Google App Engine 1.9.4

I'm having troubles deploying a Google App Engine EAR application from Cloudbees. The application is built using 1.9.4. The application structure is similar to this project: https://github.com/deege/gae-rest-skeleton The main difference is I have more than just one module.
The problem I'm running into is how to configure the deployment. I have the "Post steps | Deploy Applications | Google App Engine (Java)" set up as the video from their site, but the configuration is expecting a WAR directory structure in the Fixed Directory section.
It's looking for a directory where a WEB-INF/appengine-web.xml file exists. I can point the configuration to the front end's directory where this does exist (and was doing that until I added more modules), but then it only deploys the front end. None of the other WARs are deployed.
I think it should be looking for the META-INF/appengine-application.xml file in the ear directory, since this describes the whole application (front ends and supporting modules).
Is there something I'm missing with the configuration? Do I need to deploy each module (WAR) separately?
Our deployer plugin was written before GAE added support for EARs. If ignoring the form validation and just entering the configuration that you know should work doesn't work then open a ticket.
I will be investigating and adding the extra form validation to the plugin at my next review window for the plugin, but an interim workaround of just ignoring any displayed errors should work
update
I have updated the app engine deployer plugin. Upgrading to version 3.0 or newer will allow you to deploy EAR exploded archives

Trying to find sample (eclipse project) for GWT / App Engine datastore

Someone must know of a working eclipse project for GWT / App Engine datastore ?
I tried to find a completed sample for the stockwatcher with JDO tutorial, but
no luck.
I found 2 Objectify samples: listwidget (checkout failed)
and gwt-objectify-appengine (Maven build failed, complained
about missing appengine-api-1.0-sdk-1.5.1.jar, which was actually present).
Ideally I'm looking for something minimal, an RPC app that will deploy to App Engine & save/reload a few values.
Thanks for your help
In the GWT downloads page on google-code, you can find the code for the tutorial application StockWatcher. This zip is the StockWatcher app configured for Google App Engine. It does not use Maven. Please have a look at the README.txt file in the zip file for detailed instructions on how to import the project in Eclipse.
It is the code that lets you start this tutorial from step 3.
GWT's own MobileWebApp is one such sample project. It's mavenized so to make it an Eclipse project simply check it out as a Maven project in Eclipse (assuming you have m2e installed).

Google App Engine plugin on NetBeans 6.9.1

I followed the instructions on this site: Getting Started With Google App Engine and NetBeans.
When I try to add a Google App Engine server, I correctly point it to the .app file on my computer. But it still complains to "Provide a valid Google App Engine location". Why is this so? Which location does the plug-in want?
I downloaded the sdk zip file from google, http://googleappengine.googlecode.com/files/appengine-java-sdk-1.7.3.zip,
and then unzipped the file into a java sandbox subdirectory of my home directory. I then pointed to the unzipped directory structure and it worked.
I'm not familiar with netbeans, but it appears it wants a path to the App Engine SDK. This is a subfolder of the app, /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine.

Resources