Hi,
I'm using app engine with java, developing in eclipse. Is there a way to bind restart of the server to a key? Something like ctrl+r will shut down and restart the server? Right now I terminate it manually, then need to restart it via all the context menus, it's eating a few seconds per restart,
Thanks
...
Is there a way to pass multiple parameters in a Queue in google-app-engine?
I use the code below
Queue queue = QueueFactory.getQueue("sms-queue");
queue.add(TaskOptions.Builder.url("/SQ").param("id",pId));
in my servlet this id is retrievd as a query string.
long pID = Long.parseLong(req.getParameter("id"));
I need to pass 6 ...
I'm trying to understand the data pipelines talk presented at google i/o:
http://www.youtube.com/watch?v=zSDC_TU7rtc
I don't see why fan-in work indexes are necessary if i'm just going to batch through input-sequence markers.
Can't the optimistically-enqueued task grab all unapplied markers, churn through as many of them as possible (r...
Hello,
I'm building an app where I'm trying to store the user's progress on a game.
I want to be able to store the score of a player on a daily basis, and then retrieve the day's score when I look for the date.
I wanted to store a dictionary in the database, with keys being the dates when the user played and the values being the score,...
I just started learning about servers, and I am messing around with Google's App Engine. I am trying to get through App Engine's tutorial located here using Eclipse on Mac, but I am getting a problem that reads:
Jun 24, 2010 4:35:08 PM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via com.google....
I'm using django non-rel (http://www.allbuttonspressed.com/projects/django-nonrel) and am trying to delete all the data in my production's datastore. I was reading the question posed here http://stackoverflow.com/questions/1062540/how-to-delete-all-datastore-in-google-app-engine but the answer wasn't working for me.
Is this because I...
I've been following the Google App Engine tutorials, and I'm having a problem with the .jsp file. Here is the code from Google: Using JSPs. I'm using Eclipse to build my project, and for some reason when I add the guestbook.jsp file to the war directory, it instantly gets a red error icon. I can't double click to open guestbook.jsp eithe...
I need to send regular newsletters, as well as smaller batches, to a 10k strong mailing list, programmatically.
We're currently exporting our list and then using Campaign Monitor's web interface to create and send the newsletters. Campaign Monitor is great, but it is simply too expensive. Sending just one email to the entire list costs ...
I just started learning server/database stuff on Java, and I was wondering what the piece of code @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
means/does. I am using Google's App Engine
Thanks!
...
I'm working on an app that communicates with Google App Engine to update and retrieve user information, but I can't think of a way to modify elements in the datastore.
For example, every user for my app is represented by a User object in the datastore. If this user inputs things like email, phone number, etc into fields inside the iPhon...
What is the proper way to set cache control?
Sometimes I see the use of headers[]
self.response.headers["Pragma"]="no-cache"
self.response.headers["Cache-Control"]="no-cache, no-store, must-revalidate, pre-check=0, post-check=0"
self.response.headers["Expires"]="Thu, 01 Dec 1994 16:00:00"
Other times, I see headers.add_header()
self...
The docs for the python dev server say this about running tasks:
When your app is running in the
development server, task queues are
not processed automatically. Instead,
task queues accrue tasks which you can
examine and execute from the developer
console...
But the release notes for version 1.3.4 of the python sdk (whic...
this error occurred what to do run the application??
Initializing AppEngine server
25/06/2010 9:16:57 AM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
25/06/2010 9:16:59 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXm...
I'm getting following error when I run my app on eclipse development enviroment, but when I deploy app to appengine it works fine. Is it possible to get this work in development enviroment?
HTTP ERROR 500
Problem accessing /my-controller/. Reason:
(class: org/datanucleus/TransactionImpl, method: internalPreRollback signature: ()V)...
Hi all,
Here i want to developed one application using google account login facility
and i use google app engine for this
any link or any tutorial for this??
...
I got the following very basic template:
<html>
<head>
</head>
<body>
<div>
<!-- Using "for" to iterate through potential pages would prevent getting empty strings even if only one page is returned because the "page" is not equal the query, it is a subcomponent of the query -->
<div>{{ page.name }}</div>
<div>{{ page.leftText }}</div>
...
Let's say I have a class Employee and a class Company which holds a LinkedList of Employee objects, and I want to write a method that adds an Employee to the database in a specific Company. I create a new Company object and add it to the database with the new Employee if the Company does not already exit. Else, I add the new Employee to ...
Hello,
What is the current status of grails and google app engine deployment. I am new to app engine but wonder worth exploring it. Some specific qns are
the latest plugin, which has high user rating, has any restrictions? or it work seamlessly with all gorm features
is there any issue with high startup time for grails applicatio...
I have been trying and trying for several hours now and there must be an easy way to retreive the url. I thought this was the way:
#from data.models import Program
import basehandler
class ProgramViewHandler(basehandler.BaseHandler):
def get(self,slug):
# query = Program.all()
# query.filter('slug =', fslug)
...
I tried doing the following
class SomeModel(db.Model):
prev = db.ReferenceProperty(SomeModel)
next = db.ReferenceProperty(SomeModel)
but got the following error
NameError: name 'TrackPointModel' is
not defined
Is there a way of doing this?
...